freebsd-skq/usr.sbin
Xin LI 0dac67d65f nologin(8) does not seem to require any command line parameters,
so remove argc and argv from main() argument.

At the same time, user and tt is not likely to be changed during
execution so mark them const.

This commit should guarantee nologin to pass WARNS=6.

Tested on:	i386
MFC After:	1 month
2005-01-04 03:57:20 +00:00
..
ac Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
accton Per letter dated July 22, 1999, delete clause 3 from code directly 2004-08-07 04:19:37 +00:00
acpi Catch up with the kernel and set any global variables we are using, in 2005-01-03 04:14:05 +00:00
adduser In fullpath_from_shell(), move the nologin detection before the cat | while 2004-09-23 13:09:42 +00:00
amd Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set. 2004-11-13 20:40:32 +00:00
ancontrol Allow the -f argument to work. 2004-11-03 20:45:52 +00:00
apm o Remove duplicate includes. 2005-01-01 22:07:06 +00:00
apmd Eliminated double whitespace. 2004-07-03 18:35:53 +00:00
arlcontrol Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
arp For VLAN interfaces, print MAC addresses properly. 2004-12-24 22:16:38 +00:00
asf Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
atm Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
authpf Add skeleton build dirs for pf userland: 2004-02-28 21:50:50 +00:00
bluetooth Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
boot0cfg Open device R/W for ioctl modifications. 2004-12-18 11:04:10 +00:00
boot98cfg Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
bootparamd Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
bsnmpd NOATM -> NO_ATM 2004-12-21 09:08:06 +00:00
btxld Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
burncd The "fixate" command no longer terminates command processing, 2004-12-21 14:57:37 +00:00
cdcontrol If the user doesn't specify a device and we can't open any of the defaults, 2004-04-01 16:37:46 +00:00
chkgrp I don't normally use my middle name, so remove it from attributions in 2004-01-25 11:39:42 +00:00
chown Per letter dated July 22, 1999, delete clause 3 from code directly 2004-08-07 04:19:37 +00:00
chroot Per letter dated July 22, 1999, delete clause 3 from code directly 2004-08-07 04:19:37 +00:00
ckdist Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
config The ioconf.c is no longer generated. 2004-12-16 09:52:41 +00:00
cron Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar 2004-11-03 18:01:21 +00:00
crunch Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
ctm Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
daemon mdoc(7) fixes. 2004-07-07 19:57:16 +00:00
dconschat Invalidate dcons buffer address if the magic is wrong. 2004-09-26 12:46:47 +00:00
devinfo Remove unused local variable. 2004-01-04 15:51:32 +00:00
digictl
diskinfo Add -c option that calculates the overhead of read I/O ops. 2004-11-09 12:28:41 +00:00
dnssec-keygen Don't expose BIND libraries and their headers to the public by default, 2004-09-24 13:42:00 +00:00
dnssec-signzone Don't expose BIND libraries and their headers to the public by default, 2004-09-24 13:42:00 +00:00
editmap Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
edquota Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
eeprom Save on one variable in ofwo_action(). Leftover from an older version of 2004-08-15 20:18:54 +00:00
elf2exe
extattr Update lsextattr(8) to use the new extattr_list_*() APIs, rather than 2003-06-05 04:30:00 +00:00
extattrctl
faithd Reapply some local fixes that got lost with another NetBSD merge, 2004-06-04 19:24:35 +00:00
fdcontrol Rewrite of the floppy driver to make it MPsafe & GEOM friendly: 2004-08-20 15:14:25 +00:00
fdformat Rewrite of the floppy driver to make it MPsafe & GEOM friendly: 2004-08-20 15:14:25 +00:00
fdread Fixed fd related tools on pc98. 2004-11-09 14:10:18 +00:00
fdwrite Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
flowctl Man page for flowctl utility. 2004-09-17 22:37:45 +00:00
fwcontrol - Xref fwip(4) 2004-12-14 20:44:37 +00:00
getfmac Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
getpmac Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
gstat Add an '-a' switch to only display providers that are at least 2004-10-10 16:13:11 +00:00
i4b Replaced COPTS by equivalent CFLAGS. 2004-08-13 14:21:49 +00:00
ifmcstat Remove unused variable and clamp down with WARNS=2 2004-09-13 08:14:55 +00:00
inetd Prefer C99's __func__ over GCC's __FUNCTION__. 2004-09-26 13:47:25 +00:00
iostat Put libdevstat before libkvm, because the former depends on the latter. 2004-02-04 10:20:43 +00:00
ip6addrctl Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
ipftest Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipresend Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipsend Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
iptest Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
IPXrouted Per letter dated July 22, 1999, delete clause 3 from code directly 2004-08-07 04:19:37 +00:00
jail Initialize lcap and pwd to NULL. This allows a WARNS=6 clean build, 2004-11-17 10:01:48 +00:00
jexec Make jexec duplicate the actions of the shell searching for an 2003-07-04 19:14:27 +00:00
jls
kbdcontrol mdoc(7) janitor: 2004-08-21 12:58:09 +00:00
kbdmap Eliminated double whitespace. 2004-07-03 18:35:53 +00:00
kernbb Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
keyserv Join the 21st century: Cryptography is no longer an optional component 2004-08-06 07:27:08 +00:00
kgmon Set WARNS level to 2. 2004-08-30 03:12:49 +00:00
kgzip Revert.. 2004-09-01 20:42:38 +00:00
kldxref Explicitly pass in the relocation base and data offset into ef_reloc() 2004-08-28 19:31:10 +00:00
lastlogin Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
lpr Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm 2004-12-31 00:36:28 +00:00
lptcontrol General overhaul: 2004-10-01 20:04:20 +00:00
mailstats Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
mailwrapper Replaced afterinstall: with FILES. 2004-10-18 17:20:29 +00:00
makemap Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
manctl
memcontrol
mergemaster Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
mixer Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
mld6query Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542 2003-10-24 18:26:30 +00:00
mlxcontrol Prefer C99's __func__ over GCC's __FUNCTION__. 2004-10-02 16:42:33 +00:00
mount_nwfs style.Makefile(5): 2004-02-23 20:25:27 +00:00
mount_portalfs Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
mount_smbfs NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
mountd Also do not send junk mount arguments when removing exports. 2004-12-11 12:51:20 +00:00
moused Update moused(8) and mouse(4) to reflect the cuaa->cuad name change. 2004-11-12 23:59:24 +00:00
mptable Make this build and work on amd64 (sledge at least). 2003-09-30 04:09:21 +00:00
mrouted Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
mtest Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
mtree Remove extra "*/". 2004-08-07 10:04:29 +00:00
named Previously I thought I was seeing a failure to install the .5 man pages 2004-09-27 03:55:03 +00:00
named-checkconf Fix up the man file installation for the new BIND 9 sources: 2004-09-26 06:36:11 +00:00
named-checkzone Don't expose BIND libraries and their headers to the public by default, 2004-09-24 13:42:00 +00:00
named.reload Switch from BIND 8 to BIND 9. 2004-09-21 19:01:48 +00:00
ndiscvt Get rid of obsolete MAN[0-9] syntax. 2004-09-26 09:25:03 +00:00
ndp Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
newsyslog Because the `permission' field in conf_entry is intended to be used as 2005-01-04 02:24:01 +00:00
nfsd ANSI'fy nfsd(8) and some minor changes to make it WARNS=6 clean. 2004-11-06 18:15:44 +00:00
ngctl Increase a socket receive buffer size. This helps 'ngctl list' 2004-11-25 09:27:56 +00:00
nghook Markup and punctuation nits. 2004-06-05 20:21:17 +00:00
nologin nologin(8) does not seem to require any command line parameters, 2005-01-04 03:57:20 +00:00
ntp NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
ofwdump Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
pccard NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
pciconf Revert unintended commit that came in with 3rd clause removal 2004-08-07 16:36:46 +00:00
pcvt Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
periodic
pkg_install NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
pnpinfo Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
ppp NOPAM -> NO_PAM 2004-12-21 12:49:24 +00:00
pppctl Handle select() returning -1/EINTR - fairly common in these KSE days. 2004-12-13 14:50:13 +00:00
pppd NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
pppstats
praliases Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
procctl
pstat Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
pw Don't rely on NULL being a pointer, add a cast before passing it to a variadic 2004-10-03 14:40:27 +00:00
pwd_mkdb Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
quot Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
quotaon Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
rarpd Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
raycontrol Add FBSDID. err(3) changed to errx(3) because there is no errno message 2004-04-04 19:38:08 +00:00
repquota Allocate an additional white space in a username column for 2004-12-19 18:02:45 +00:00
rip6query
rmt Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
rndc Previously I thought I was seeing a failure to install the .5 man pages 2004-09-27 03:55:03 +00:00
rndc-confgen Fix up the man file installation for the new BIND 9 sources: 2004-09-26 06:36:11 +00:00
route6d - need_trigger/idx should be u_int, not ssize_t. 2003-11-14 17:16:50 +00:00
rpc.lockd Userland change corresponding to the change in kernel/userland communication 2004-12-06 08:32:09 +00:00
rpc.statd Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
rpc.umntall Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2 2003-10-26 06:14:10 +00:00
rpc.yppasswdd Utilize SCRIPTS. 2004-10-18 21:29:20 +00:00
rpc.ypupdated Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
rpc.ypxfrd Include <rpc/rpc_com.h> for a _rpc_dtablesize() prototype. 2004-05-24 12:28:27 +00:00
rpcbind Reflect that -h takes an argument and belatedly bump .Dd for addition of -h 2004-11-07 04:34:37 +00:00
rrenumd Prefer C99's __func__ over GCC's __FUNCTION__. 2004-10-02 16:42:33 +00:00
rtadvd removed compilation warning 2004-10-22 07:31:12 +00:00
rtprio Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
rtsold Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
rwhod Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
sa Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
sade Due to unknown reasons, Disk_Names() returns SCSI CDROM as a valid 2004-12-22 08:26:48 +00:00
sendmail NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
setfmac Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
setkey Reapply traditionally lost fixes, fixed some more. 2004-06-05 20:22:15 +00:00
setpmac Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
sicontrol Get debugging macros from sivar.h 2004-10-02 18:51:37 +00:00
sliplogin Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar 2004-11-03 18:01:21 +00:00
slstat Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
smbmsg Get rid of obsolete MAN[0-9] syntax. 2004-09-26 09:25:03 +00:00
spkrtest
spray
sysinstall Due to unknown reasons, Disk_Names() returns SCSI CDROM as a valid 2004-12-22 08:26:48 +00:00
syslogd Allow ':' and '%' in hostname specifications so that we can specify IPv6 2004-12-28 22:25:04 +00:00
tcpdchk NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
tcpdmatch NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
tcpdump NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
timed Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
traceroute NOIPSEC -> TRACEROUTE_NO_IPSEC 2004-12-21 12:44:20 +00:00
traceroute6 mdoc(7) fixes. 2004-07-07 19:57:16 +00:00
trpt Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
tzsetup Update wording regarding geography to match the man page and web site. 2004-08-10 05:34:23 +00:00
ugidfw Remove unnecessary include of vnode.h. 2004-10-21 11:22:07 +00:00
usbd Fix a few coding errors that caused compiler warnings. 2004-11-28 20:36:19 +00:00
usbdevs Add option '-o' for one-line output in combination with '-d'. 2004-05-24 13:22:00 +00:00
vidcontrol Propagate ioctl() failure to exit status 2003-09-18 16:20:32 +00:00
vipw Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
vnconfig Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
watch By default, the watch utility will attempt to open /dev/snp0, if 2004-08-10 01:49:46 +00:00
watchdogd Disable memory locking that could keep watchdogd from deadlocking itself 2004-07-28 22:13:04 +00:00
wicontrol Remove an extra semicolon after a function. 2004-10-17 21:29:53 +00:00
wlconfig Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
yp_mkdb
ypbind Remove definition of struct dom_binding, it's non-standard C code and 2004-10-17 19:33:33 +00:00
yppoll Include <timeconv.h> for time conversion functions. 2004-05-24 16:10:57 +00:00
yppush Remove definition of struct dom_binding, it's non-standard C code and 2004-10-17 19:33:33 +00:00
ypserv Utilize FILES, SCRIPTS, and SYMLINKS. While here, fixed a bug in 2004-10-18 21:42:15 +00:00
ypset Remove definition of struct dom_binding, it's non-standard C code and 2004-10-17 19:33:33 +00:00
zic Make the -m option actually work. 2004-10-19 20:30:09 +00:00
zzz Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
Makefile NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
Makefile.inc