1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/usr.bin
Mike Barcroft f458f48b02 Prevent chpass(1) from writing -1 in the UID or GID fields
in the password file by properly casting integers.

PR:		27757
Reviewed by:	des
Approved by:	des
MFC after:	4 days
2001-07-26 23:27:10 +00:00
..
apply Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ar Replace the local rname' with the cannonical basename'. 2001-07-24 14:04:20 +00:00
at Expland `mymalloc' with malloc + error checking. 2001-07-24 14:15:51 +00:00
banner Fixed the race caused by not checking the result of fgets(3): 2001-07-19 08:07:09 +00:00
basename Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
biff Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
brandelf mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
bzip2 Build/install bzip2 documentation (info page). 2001-07-12 14:44:17 +00:00
c89 mdoc(7) police: fix markup. 2001-05-10 07:29:35 +00:00
calendar Add myself 2001-07-16 00:17:48 +00:00
cap_mkdb Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
chat Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
checknr Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
chflags WARNS= -> WARNS?= 2001-06-22 21:38:30 +00:00
chkey mdoc(7) police: added missing .Os call. 2000-12-14 13:58:15 +00:00
chpass Prevent chpass(1) from writing -1 in the UID or GID fields 2001-07-26 23:27:10 +00:00
cksum Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
cmp Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
col Remove the misnamed `xmalloc' and replace its uses with the realloc (along 2001-07-24 14:14:11 +00:00
colcrt Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
colldef yyerror() is a printflike function 2001-07-24 12:20:17 +00:00
colrm Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
column Remove the misnamed `emalloc' and replace its uses with calloc (along 2001-07-24 14:13:34 +00:00
comm Include missing header files which define functions for which gcc has 2001-06-24 19:50:42 +00:00
compile_et
compress Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ctags Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
cut Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
dig
dirname Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$ 2001-06-30 05:39:36 +00:00
dnskeygen MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
dnsquery
doscmd Include <sys/kbio.h> or <machine/console.h>, depending on __FreeBSD_version. 2001-07-26 11:09:15 +00:00
du Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ee Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
enigma Fix the type of the NULL arg to execl() 2001-07-09 09:24:06 +00:00
env Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$ 2001-06-30 05:39:36 +00:00
expand mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
false Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
fetch If we're writing to stdout, we don't care about the size. 2001-07-17 21:23:43 +00:00
file Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
file2c Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
find Remove emalloc and expand to the malloc + error checking it was, where used. 2001-07-24 14:12:05 +00:00
finger mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
fmt WARNS= -> WARNS?= 2001-06-22 21:38:30 +00:00
fold Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$ 2001-06-30 05:39:36 +00:00
from Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
fstat Fix 64 bit issues so that sockstat && fstat work correctly on alpha. 2001-07-25 20:31:20 +00:00
fsync Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$ 2001-06-30 05:39:36 +00:00
ftp Portability configuation for LukeM's ftp client. 2001-07-19 17:45:52 +00:00
gcore Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
gencat Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
getconf Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
getopt Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
gprof Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
gprof4
head Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
hesinfo Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
hexdump Remove the misnamed `emalloc' and replace its uses with the calloc (along 2001-07-24 14:11:09 +00:00
host
id mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
indent Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ipcrm Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ipcs Include missing header files which define functions for which gcc has 2001-06-24 19:50:42 +00:00
join mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
jot Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
kdump Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
kenv mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
keylogin Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
keylogout Include missing header files which define functions for which gcc has 2001-06-24 19:41:18 +00:00
killall Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ktrace Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
lam Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
last mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
lastcomm Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ldd mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
leave Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
less MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
lessecho
lesskey MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
lex revert last commit. using %option nounput is better 2001-07-22 23:14:33 +00:00
limits Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
locate Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
lock Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
lockf Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
logger Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
login Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
logname mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
look Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
lorder beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
lsvfs Silence warning and set WARNS=2. 2001-06-24 18:56:00 +00:00
m4 Remove the local basename in favor of the libc version. 2001-07-24 14:09:47 +00:00
mail Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
make Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
makewhatis mdoc(7) police: removed punctuation after the last SEE ALSO xref. 2001-07-10 18:00:19 +00:00
mesg Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$ 2001-06-30 05:39:36 +00:00
minigzip Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mk_cmds mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
mkdep Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mkfifo Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mklocale Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mkstr mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
mktemp Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
msgs Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mt Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ncal mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
ncplist mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
ncplogin Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
netstat - Do not handle the per-CPU containers in mbuf code as though the cpuids 2001-07-26 18:47:46 +00:00
newkey Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
nfsstat mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
nice Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
nl Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
nm Expland the emalloc to do the testing at the place of mallocing. 2001-07-24 14:08:02 +00:00
nohup o Integrate security enhancements from OpenBSD. 2001-07-19 21:25:10 +00:00
objformat Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
opieinfo Provide a WANT_INSECURE_OPIE compile-time option, which is useful if 2001-07-09 17:37:52 +00:00
opiekey Switch on SHA1 hashing. 2001-07-14 08:34:26 +00:00
opiepasswd Provide a WANT_INSECURE_OPIE compile-time option, which is useful if 2001-07-09 17:37:52 +00:00
pagesize mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
passwd Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
paste Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
pr Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
printenv mdoc(7) police: fixed formatting. 2001-07-05 06:35:03 +00:00
printf Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
quota Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ranlib Expand emalloc in-place, and remove the `rname' basename() implimenation. 2001-07-24 14:06:19 +00:00
renice Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
rev mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
rlogin mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
rpcgen Embed $FreeBSD$ as an rcsid[] 2001-07-19 01:39:12 +00:00
rpcinfo Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
rs Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
rsh Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
rup Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ruptime Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
rusers mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
rwall mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
rwho mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
sasc Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:44:00 +00:00
script Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
sed Expand xmalloc in-place, along with xrealloc; which wasn't even ANSI in its 2001-07-24 14:05:21 +00:00
shar mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
showmount mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
size MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
sockstat Fix 64 bit issues so that sockstat && fstat work correctly on alpha. 2001-07-25 20:31:20 +00:00
soelim mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
split Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
strings Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
strip Revert previous commit; it broke large file support on platforms that 2001-07-02 22:51:33 +00:00
su Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
symorder Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
systat - Do not handle the per-CPU containers in mbuf code as though the cpuids 2001-07-26 18:47:46 +00:00
tail mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
talk Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
tconv Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
tcopy mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
tee
telnet Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
tftp Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
time Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
tip Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
top Generate top.local.h and manpage dynamically, with sed(1) script. 2001-07-12 15:07:30 +00:00
touch Fix some trivial warnings and clamp down with WARNS=2 2001-05-26 22:39:33 +00:00
tput Fix some man page xrefs. 2001-07-22 11:51:11 +00:00
tr Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
true Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
truncate Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
truss Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
tset mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
tsort Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
tty Include missing header files which define functions for which gcc has 2001-06-24 19:50:42 +00:00
uac Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ul Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
uname
unexpand Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$ 2001-06-30 05:39:36 +00:00
unifdef mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
uniq
units Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
unvis mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
usbhidctl Remove a bogus %s from a printf. 2001-04-17 15:00:03 +00:00
users mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
uudecode
uuencode Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
vacation Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
vgrind Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
vi Add more *.US-ASCII entries 2001-06-10 20:53:18 +00:00
vis mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
vmstat Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
w When -n is specified, don't attempt to turn hostnames found in utmp 2001-07-26 19:20:13 +00:00
wall mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
wc mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
what mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
whereis mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
which Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
who Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
whois Fix a bug I introduced in Rev. 1.21 that prevented 'whois test' from 2001-07-22 18:23:24 +00:00
window Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
write mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
xargs Spelling police: extention -> extension. 2001-07-05 08:51:08 +00:00
xinstall Fix the type of the NULL arg to execl() 2001-07-09 09:24:06 +00:00
xlint Expand x{malloc,calloc,realloc,strdup} in-place. 2001-07-24 14:02:07 +00:00
xstr Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
yacc mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
yes mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
ypcat Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ypmatch Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ypwhich Prepare for mdoc(7)NG. 2000-12-27 16:52:31 +00:00
Makefile Remove the S/Key key-handling apps, which are no longer needed, as 2001-07-09 17:40:57 +00:00
Makefile.inc