summaryrefslogtreecommitdiff
path: root/usr.sbin/rtprio
Commit message (Collapse)AuthorAgeFilesLines
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge head from 7/28Simon J. Gerraty2014-08-191-1/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=270164
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync from headSimon J. Gerraty2012-11-041-1/+9
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | use .Mt to mark up email addresses consistently (part2)Baptiste Daroussin2014-06-201-1/+1
| |/ |/| | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267668
* | Document the security.bsd.unprivileged_idprio in idprio(1) in additionEitan Adler2012-09-301-1/+9
|/ | | | | | | | | | to rtprio(2). Approved by: wblock MFC after: 3 days Notes: svn path=/head/; revision=241061
* Fix the case where the utility is being used to run a command directly,Xin LI2012-05-111-3/+6
| | | | | | | | | | | this is a regression introduced with r228917. PR: bin/154042 Submitted by: Bugs Beastie <bugsbeastie gmail.com> MFC after: 1 week Notes: svn path=/head/; revision=235293
* - Fail when the utility is not invoked as rtprio nor idprio.Xin LI2011-12-271-23/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | - use warnx() to tell the user whether a process is running in normal, idle or realtime priority. with the old code it would have been possible for another process to send data to stdout between printf("%s: ", p); and printf("* priority\n"); and thus break the formatting. - 'rtprio 10 -0' triggeres non-intuitive behavior. It would first set the priority of itself to 10 *and* would then try to execute '-0'. Of course, setting the priority of [id|rt]prio itself doesn't make a lot of sense, but it is intuitive compared to the previous behavior. - 'rtprio -t --1' will actually pass over the '-1' to rtprio(). Now invoking rtprio like this will catch the wrong usage before passing over the invalid argument to rtprio(). - Garrett Cooper suggested to add further diagnostics where the failure occures, if execvp fails. PR: bin/154042 Submitted by: arundel MFC after: 1 month Notes: svn path=/head/; revision=228917
* Use errx() instead of err() in parseint. There is usually no interestingKonstantin Belousov2011-01-041-2/+2
| | | | | | | | | | information in errno. Noted by: Garrett Cooper <yanegomi gmail com> MFC after: 1 week Notes: svn path=/head/; revision=216967
* Make the parsing of the integer arguments for rtprio(1)/idprio(1) stricter.Konstantin Belousov2011-01-041-18/+32
| | | | | | | | | | | Style. Based on submission by: Eitan Adler <lists eitanadler com>, keramida Reviewed by: jhb, keramida MFC after: 1 week Notes: svn path=/head/; revision=216955
* mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to theUlrich Spörlein2010-05-131-3/+3
| | | | | | | | | | | | | | bottom of the manpages and order them consistently. GNU groff doesn't care about the ordering, and doesn't even mention CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put them. Found by: mdocml lint run Reviewed by: ru Notes: svn path=/head/; revision=208027
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | Notes: svn path=/head/; revision=201390
* Sort sections.Ruslan Ermilov2005-01-181-9/+9
| | | | Notes: svn path=/head/; revision=140442
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Eliminate macro calls inside literal displays.Ruslan Ermilov2005-01-151-29/+10
| | | | Notes: svn path=/head/; revision=140295
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+2
| | | | Notes: svn path=/head/; revision=131500
* add FBSDIDPhilippe Charnier2003-07-061-4/+2
| | | | Notes: svn path=/head/; revision=117280
* Use `The .Nm utility'Philippe Charnier2002-04-201-5/+8
| | | | Notes: svn path=/head/; revision=95127
* Remove whitespace at EOL.Dima Dorfman2001-07-151-15/+15
| | | | Notes: svn path=/head/; revision=79755
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-1/+0
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-2/+1
| | | | Notes: svn path=/head/; revision=74532
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-3/+3
| | | | Notes: svn path=/head/; revision=71898
* Return exit value 0 on success when PID is specified.Jun Kuriyama2001-01-251-0/+1
| | | | Notes: svn path=/head/; revision=71640
* mdoc(7) police: do not split author names in the AUTHORS section.Ruslan Ermilov2000-11-221-0/+1
| | | | Notes: svn path=/head/; revision=69027
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68965
* Use Fx macro wherever possible.Ruslan Ermilov2000-11-141-3/+3
| | | | Notes: svn path=/head/; revision=68716
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-1/+2
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57673
* Use DIAGNOSTICS instead of incorrect section namePhilippe Charnier1999-11-271-2/+2
| | | | Notes: svn path=/head/; revision=53769
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50479
* Fix a bunch of broken cross-referencesChris Costello1999-08-181-2/+2
| | | | Notes: svn path=/head/; revision=50000
* PR: 7489Peter Hawkins1998-08-041-2/+2
| | | | | | | | Submitted by: Jos.Backus@nl.origin-it.com Correct execvp fail message in current Notes: svn path=/head/; revision=38091
* Treat RTP_PRIO_FIFO the same as RTP_PRIO_REALTIME for status display.Peter Dufault1998-05-191-1/+2
| | | | Notes: svn path=/head/; revision=36213
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-231-2/+2
| | | | Notes: svn path=/head/; revision=34809
* Update man page to note that idleprio can't be used by normalJordan K. Hubbard1998-03-121-3/+2
| | | | | | | users either. Notes: svn path=/head/; revision=34492
* Fix a couple of stray apostrophes.James Raynard1997-12-281-3/+3
| | | | Notes: svn path=/head/; revision=32062
* Use err(3). Sync usage string and man page.Philippe Charnier1997-10-132-41/+42
| | | | Notes: svn path=/head/; revision=30379
* Oops, had a couple of extra parens in a couple of lines.Mike Pritchard1997-03-071-3/+3
| | | | Notes: svn path=/head/; revision=23476
* Clean this man page up. Don't use hardcoded font escape codes.Mike Pritchard1997-03-071-47/+50
| | | | | | | Other mdoc cleanup. Notes: svn path=/head/; revision=23475
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=22997
* Sort cross references.Wolfram Schneider1997-01-201-1/+1
| | | | Notes: svn path=/head/; revision=21880
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-143-3/+3
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Use the .Fx macro where appropriate.Mike Pritchard1996-08-231-5/+7
| | | | Notes: svn path=/head/; revision=17786
* Correct a bunch of man page cross references and generallyMike Pritchard1996-02-111-2/+3
| | | | | | | | | try and silence "manck". ncurses, rpc, and some of the gnu stuff are still a big mess, however. Notes: svn path=/head/; revision=14038