1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/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
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
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
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
dirname Reintroduce functionality and error checks that were boneheadedly removed 2000-09-06 07:28:02 +00:00
dnskeygen
dnsquery
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
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
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
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
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
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
keylogin
keylogout
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
less
lessecho
lesskey
lex
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
logger
login
logname
look
lorder
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
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
mklocale mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
mkstr
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
opiekey
opiepasswd
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
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
sasc
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
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
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
su o Make comment match reality, synch code with comment. 2000-11-30 23:14:55 +00:00
symorder
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
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
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
tty
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
unexpand
unifdef mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
uniq
units mdoc(7) police: use certified section headers wherever possible. 2000-11-17 11:44:16 +00:00
unvis
usbhidctl Fix the build break. 2000-10-17 17:13:38 +00:00
users
uudecode
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
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
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