freebsd-dev/usr.bin
Robert Watson e292984cd3 o Make comment match reality, synch code with comment.
o In practice: the comment indicates that all but umask and
  environmental variables of the users login class are applied when su
  occurs, unless -m is used to specify a class.  This was incorrect;
  in practice, the uid, gids, resources, and priority were set, and
  then resources and priority were selectively removed.  This meant
  that some aspects of the user context were not set, including handling
  of login events (wtmp, utmp), as well as the path specified in
  login.conf.
o I changed it so that the behavior is the same, but instead,
  LOGIN_SETALL is used, and appropriate flags are removed, including
  the LOGIN_SETLOGIN and LOGIN_SETPATH entries that were implicitly
  not present before.  I also updated the comment to reflect
  reality, selecting reality as the "correct" behavior.
o This has the practical benefit that as new LOGIN_SET* flags are
  introduced, they are supported by su unless specifically disabled.
  For example, of a LOGIN_SETLABEL flag is introduced to support
  MAC labels determined by the user's login class, then su no longer
  has to be modified.
o It might be desirable to have su use LOGIN_SETPATH depending on
  its command line parameters, as it might or might not be
  considered part of the "environment".

Obtained from:	TrustedBSD Project
2000-11-30 23:14:55 +00:00
..
apply mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ar mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
at Y2K fix. at(1) would die with 'garbled time' when assign_date() was 2000-03-27 09:32:23 +00:00
banner mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
basename mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
biff mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
brandelf Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
c89 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
calendar mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
cap_mkdb mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
chat Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
checknr mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
chflags mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
chkey mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
chpass Use correct macro for path name 2000-11-22 17:53:17 +00:00
cksum mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
cmp mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
col mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
colcrt mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
colldef vsprintf() -> vsnprintf() 2000-11-26 08:14:55 +00:00
colrm mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
column mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
comm mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
compile_et Build this from contrib/ now. 1999-09-04 09:52:36 +00:00
compress mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ctags mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
cut mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
dig Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
dirname Reintroduce functionality and error checks that were boneheadedly removed 2000-09-06 07:28:02 +00:00
dnskeygen New program in the bind suite. I'm not sure that it's worth much while 1999-11-30 06:26:14 +00:00
dnsquery Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
doscmd mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
du mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ee mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
enigma mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
env Add `-i'' option, which is the same as `-''. The -i option is the 1999-08-27 08:59:32 +00:00
expand mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
false mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
fetch If the transfer timed out, but we don't know how large the file is supposed 2000-11-30 10:08:22 +00:00
file Use the vendor's manpages (which are in old -man format) rather than 2000-11-26 22:19:56 +00:00
file2c mdoc(7) police: use certified section headers wherever possible. 2000-11-17 11:44:16 +00:00
find mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
finger mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
fmt Mark up the optional -c option with the Op macro. 2000-03-09 09:27:40 +00:00
fold mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
from mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
fstat mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
fsync mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ftp mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
gcore Fixed typo: .EL -> .El 2000-11-06 09:20:09 +00:00
genassym mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
gencat mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
gensetdefs mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
getconf mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
getopt mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
gprof mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
gprof4 Make profiling work for ELF. gprof now autodetects the format of 1998-09-07 23:32:00 +00:00
head mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
hesinfo Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
hexdump mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
host Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
id mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
indent mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ipcrm Fix miscellaneous mdoc macro argument limit infringements. 2000-05-09 14:02:06 +00:00
ipcs mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
join mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
jot mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
kdump Fix ioctl.c creation to deal with the depend case more properly. 2000-09-14 18:52:48 +00:00
kenv kenv(1) first appeared in FreeBSD 4.1.1, not FreeBSD 5.0. 2000-11-23 11:21:35 +00:00
key mdoc(7) police: use certified section headers wherever possible. 2000-11-17 11:44:16 +00:00
keyinfo Add LIBCRYPT to DPADD. 2000-11-28 07:24:15 +00:00
keyinit Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 12:20:22 +00:00
keylogin Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 12:20:22 +00:00
keylogout $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
killall mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
ktrace mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
lam mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
last mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
lastcomm Avoid using the semi-bogus include <struct.h> 2000-10-22 17:38:32 +00:00
ldd mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
leave Get rid of hard sentence break 2000-03-27 20:38:21 +00:00
less ncurses -> termcap 2000-07-14 16:17:42 +00:00
lessecho Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecated 2000-06-03 11:39:38 +00:00
lesskey Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecated 2000-06-03 11:39:38 +00:00
lex Install Flexlexer.h with mode 444. 1999-12-17 07:49:03 +00:00
limits mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
locate Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
lock mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
lockf $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
logger Allow logger to send messages directly to a remote syslog. (This 2000-07-18 08:56:54 +00:00
login Add braces to avoid ambiguity in a nested conditional (silences a gcc 2000-04-26 10:38:19 +00:00
logname Add DIAGNOSTICS section name 2000-03-26 14:42:14 +00:00
look $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
lorder Use different filenames. 2000-05-17 22:46:47 +00:00
lsvfs mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
m4 Fix format string warnings. 2000-11-27 04:26:39 +00:00
mail Eliminate groff(1) warnings. 2000-11-29 10:56:59 +00:00
make Format string paranoia. This should avoid potential buffer overflows from 2000-11-30 13:56:19 +00:00
makewhatis mdoc(7) police: use the new features of the Nm macro. 2000-11-20 12:18:54 +00:00
mesg $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
minigzip mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
mk_cmds mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
mkdep mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
mkfifo Add DIAGNOSTICS section name 2000-03-26 14:42:14 +00:00
mklocale mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
mkstr Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 12:20:22 +00:00
mktemp mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
msgs mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
mt Constify 2000-11-27 06:40:35 +00:00
ncal mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ncplist mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ncplogin mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
netstat mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
newkey mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
nfsstat getopt and friends are declared in <unistd.h> 2000-09-04 06:09:54 +00:00
nice Fix a typo and a punctuation mistake, the two of which conspired 2000-11-29 06:55:13 +00:00
nm getopt and friends are declared in <unistd.h> 2000-09-04 06:09:54 +00:00
nohup mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
objformat mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
opieinfo $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
opiekey Fix minor style nits. 2000-05-14 21:13:57 +00:00
opiepasswd $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pagesize mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
passwd mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
paste Put flags under .Fl. Add DIAGNOSTICS section name 2000-03-26 14:47:43 +00:00
pr Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
printenv mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
printf When we have both a rcsid and sccsid, ifdef 0 the sccsid. This 2000-09-04 06:11:25 +00:00
quota mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ranlib Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
rdist mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
renice mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
rev mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
rlogin [rlogin.1] Document the -4' and -6' options. Correct a typo. 2000-11-24 09:14:09 +00:00
rpcgen mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
rpcinfo mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
rs mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
rsh [rsh.1] Document the -4' and -6' options. 2000-11-24 09:25:44 +00:00
rup mdoc(7) police: use certified section headers wherever possible. 2000-11-17 11:44:16 +00:00
ruptime mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
rusers mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
rwall Cleanup this code a bit by attempting to sync it up with NetBSD and 2000-11-26 22:36:35 +00:00
rwho Get rid of hard sentence break 2000-03-27 20:38:21 +00:00
sasc remove unknown OPTIONS section name. Getopt returns -1. 2000-03-26 14:55:05 +00:00
script mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
sed mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
shar $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
showmount mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
size mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
sockstat Spell the des's name correctly. 2000-11-14 13:19:26 +00:00
soelim Don't call warn() with no format string. 2000-07-10 09:18:19 +00:00
split mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
strings getopt and friends are declared in <unistd.h> 2000-09-04 06:09:54 +00:00
strip $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
su o Make comment match reality, synch code with comment. 2000-11-30 23:14:55 +00:00
symorder $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
systat o Make systat/vmstat.c use sysctl() to retrieve cp_time, bufspace, 2000-11-25 03:53:42 +00:00
tail mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
talk It may happen so that the local talk daemon is not running. 2000-10-05 17:39:01 +00:00
tconv mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
tcopy Fixed typo: .ar -> .Ar. 2000-11-10 14:40:50 +00:00
tee Add DIAGNOSTICS section name 2000-03-26 15:06:46 +00:00
telnet Correct definition of MAXHOSTNAMELEN in ifdef'ed code. 2000-11-26 21:37:51 +00:00
tftp mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
time Remove vestages of a previous implimentation of "-h". 2000-10-31 02:26:10 +00:00
tip mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
top Make use of the full screen width to display p_comm rather than assuming a 2000-11-29 23:03:02 +00:00
touch mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
tput getopt and friends are declared in <unistd.h> 2000-09-04 06:09:54 +00:00
tr mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
true Add $FreeBSD$ (and test remote commits after the Freefall upgrade) 2000-05-06 01:38:24 +00:00
truncate mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
truss mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
tset mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
tsort $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uac mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
ul mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
uname $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
unexpand $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
unifdef mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
uniq Add DIAGNOSTICS section name 2000-03-26 15:06:46 +00:00
units mdoc(7) police: use certified section headers wherever possible. 2000-11-17 11:44:16 +00:00
unvis $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
usbhidctl Fix the build break. 2000-10-17 17:13:38 +00:00
users $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uudecode While I'm in here, remove an unused variable. 2000-03-30 09:23:28 +00:00
uuencode mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
vacation Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
vgrind Eliminate groff(1) warnings caused by vgrind(1). 2000-11-29 10:32:51 +00:00
vi Install Ukrainian message catalog. 2000-08-22 22:00:57 +00:00
vis $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vmstat mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
w mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
wall Cleanup this code a bit by attempting to sync it up with NetBSD and 2000-11-26 22:36:35 +00:00
wc mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
what Add usage(). 2000-03-26 15:04:35 +00:00
whereis mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
which mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
who mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
whois mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
window mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
write mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
xargs mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
xinstall mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
xlint mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
xstr mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
yacc Constify 2000-11-26 11:07:45 +00:00
yes mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ypcat mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ypmatch mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ypwhich mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
Makefile Disconnect kzip from the build, as it's about to enter late retirement. 2000-11-02 10:00:34 +00:00
Makefile.inc