summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rtprio
Commit message (Collapse)AuthorAgeFilesLines
* Document the security.bsd.unprivileged_idprio in idprio(1) in additioneadler2012-09-301-1/+9
| | | | | | | to rtprio(2). Approved by: wblock MFC after: 3 days
* Fix the case where the utility is being used to run a command directly,delphij2012-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
* - Fail when the utility is not invoked as rtprio nor idprio.delphij2011-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
* Use errx() instead of err() in parseint. There is usually no interestingkib2011-01-041-2/+2
| | | | | | | information in errno. Noted by: Garrett Cooper <yanegomi gmail com> MFC after: 1 week
* Make the parsing of the integer arguments for rtprio(1)/idprio(1) stricter.kib2011-01-041-18/+32
| | | | | | | | Style. Based on submission by: Eitan Adler <lists eitanadler com>, keramida Reviewed by: jhb, keramida MFC after: 1 week
* mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to theuqs2010-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
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-0/+2
|
* Sort sections.ru2005-01-181-9/+9
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Eliminate macro calls inside literal displays.ru2005-01-151-29/+10
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* add FBSDIDcharnier2003-07-061-4/+2
|
* Use `The .Nm utility'charnier2002-04-201-5/+8
|
* Remove whitespace at EOL.dd2001-07-151-15/+15
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-1/+0
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-2/+1
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-3/+3
|
* Return exit value 0 on success when PID is specified.kuriyama2001-01-251-0/+1
|
* mdoc(7) police: do not split author names in the AUTHORS section.ru2000-11-221-0/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Use Fx macro wherever possible.ru2000-11-141-3/+3
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Use DIAGNOSTICS instead of incorrect section namecharnier1999-11-271-2/+2
|
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Fix a bunch of broken cross-referenceschris1999-08-181-2/+2
|
* PR: 7489thepish1998-08-041-2/+2
| | | | | Submitted by: Jos.Backus@nl.origin-it.com Correct execvp fail message in current
* Treat RTP_PRIO_FIFO the same as RTP_PRIO_REALTIME for status display.dufault1998-05-191-1/+2
|
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-2/+2
|
* Update man page to note that idleprio can't be used by normaljkh1998-03-121-3/+2
| | | | users either.
* Fix a couple of stray apostrophes.jraynard1997-12-281-3/+3
|
* Use err(3). Sync usage string and man page.charnier1997-10-132-41/+42
|
* Oops, had a couple of extra parens in a couple of lines.mpp1997-03-071-3/+3
|
* Clean this man page up. Don't use hardcoded font escape codes.mpp1997-03-071-47/+50
| | | | Other mdoc cleanup.
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Sort cross references.wosch1997-01-201-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Use the .Fx macro where appropriate.mpp1996-08-231-5/+7
|
* Correct a bunch of man page cross references and generallympp1996-02-111-2/+3
| | | | | | try and silence "manck". ncurses, rpc, and some of the gnu stuff are still a big mess, however.
* Fix a bunch of spelling errors in a bunch of man pages.mpp1996-01-301-2/+2
|
* recording cvs-1.6 file deathpeter1995-12-301-106/+0
|
* Don't attempt to install rtprio.2 from here. It has moved to lib/libc/sys.bde1995-08-061-2/+1
|
* "idle priority" support. Based on code from Henrik Vestergaard Draboel,dg1994-10-024-115/+258
| | | | but substantially rewritten by me.
* Clean up typos in this manpage.jkh1994-09-251-4/+4
|
* rtprio(1) utility to modify realtime priority of a process.dg1994-09-013-0/+313
Submitted by: Henrik Vestergaard Draboel
OpenPOWER on IntegriCloud