History log of /freebsd-current/usr.bin/renice/renice.c
Revision Date Author Comments
# 0b8224d1 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

Remove copyright strings ifdef'd out

We've ifdef'd out the copyright strings for some time now. Go ahead and
remove the ifdefs. Plus whatever other detritis was left over from other
recent removals. These copyright strings are present in the comments and
are largely from CSRG's attempt at adding their copyright to every
binary file (which modern interpretations of the license doesn't
require).

Sponsored by: Netflix


# bdcbfde3 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.bin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# b03311ca 17-Apr-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

renice: Avoid segfault if -n flag is given without argument.

Fixes: 65ee0a8495538
MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D39623


# 65ee0a84 25-Aug-2022 Dag-Erling Smørgrav <des@FreeBSD.org>

renice: fix argument order.

The target modifiers (-g, -p, -u) may occur in any position except
between -n and its argument; furthermore, we support both the old
absolute form (without -n) and the modern relative form (with -n).

Sponsored by: Klara, Inc.


# e24c5c60 04-Aug-2022 Dag-Erling Smørgrav <des@FreeBSD.org>

renice: support -- as per POSIX.

Sponsored by: Klara, Inc.
MFC after: 1 week


# 8a16b7a1 20-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

General further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 3-Clause license.

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.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# da52b4ca 11-Dec-2010 Joel Dahl <joel@FreeBSD.org>

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# ef636796 02-Jan-2010 Ed Schouten <ed@FreeBSD.org>

ANSIfy various tools in usr.bin/.

Most of these tools properly build at WARNS=6, except for their K&R
function declarations. Fix this, so we can bump WARNS as well.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# f682f10c 21-May-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sync program's usage() with manpage's SYNOPSIS.


# 622e8da6 26-Feb-2003 Philippe Charnier <charnier@FreeBSD.org>

The usage string: renice [priority | [-n incr]] ... assumed that the part
`priority | [-n incr]' was optionnal which is wrong according to the code.
Add FreeBSD Id.
Reviewed by: maxim


# ba545bbb 25-May-2002 Tim J. Robbins <tjr@FreeBSD.org>

Sync usage message with manual page synopsis.


# b8b53eef 25-May-2002 Tim J. Robbins <tjr@FreeBSD.org>

Bad numeric arguments or usernames should cause non-zero exit status.


# 9e499440 16-May-2002 Tim J. Robbins <tjr@FreeBSD.org>

Process and user ID arguments must be treated as decimal integers,
not octal or hex. This is the way it was before revision 1.10.

PR: 36950
Submitted by: Peter Avalos <pavalos@theshell.com>


# ae5a6820 16-May-2002 Tim J. Robbins <tjr@FreeBSD.org>

Accept decimal user IDs with -u option as well as usernames.

PR: 36950


# 03ed70f3 16-May-2002 Tim J. Robbins <tjr@FreeBSD.org>

Diagnostic messages belong on stderr, not stdout. SUSv3 specifies that
renice may not use stdout at all.


# 81439066 10-Apr-2002 Maxim Konovalov <maxim@FreeBSD.org>

o Fix an arguments number check in -n case.
o Remove duplicated prio check, donice() makes it for us.

Spotted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 1 week


# d006e72a 10-Apr-2002 Maxim Konovalov <maxim@FreeBSD.org>

Implement POSIX -n option, cleanup an arguments parsing a bit.

PR: bin/34076, bin/35929
Reviewed by: bde
Obtained from: NetBSD
MFC after: 1 week


# d9db58c9 10-Apr-2002 Maxim Konovalov <maxim@FreeBSD.org>

style(9) cleanup.

Reviewed by: bde
MFC after: 1 week


# d3cb5ded 21-Mar-2002 Warner Losh <imp@FreeBSD.org>

remove __P


# 45af1a4c 03-Dec-2001 David Malone <dwmalone@FreeBSD.org>

Warns cleanups.


# 7a19d1bb 24-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).


# 0e7f0658 14-Apr-2000 Warner Losh <imp@FreeBSD.org>

#include <errno.h> where needed. Kill extern int errno;.

Minor warnings in tip corrected.


# c3aac50f 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 0bb6b796 05-Aug-1997 Philippe Charnier <charnier@FreeBSD.org>

Use err(3). Add usage() and prototypes.


# 7799f52a 30-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


# 9b50d902 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Usr.bin Sources