freebsd_amp_hwpstate/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
ar
at
banner
basename
biff
brandelf
c89
calendar
cap_mkdb
chat
checknr
chflags
chkey
chpass
cksum
cmp
col
colcrt
colldef
colrm
column
comm
compile_et
compress
ctags
cut
dig
dirname
dnskeygen
dnsquery
doscmd
du
ee
enigma
env
expand
false
fetch
file
file2c
find
finger
fmt
fold
from
fstat
fsync
ftp
gcore
genassym
gencat
gensetdefs
getconf
getopt
gprof
gprof4
head
hesinfo
hexdump
host
id
indent
ipcrm
ipcs
join
jot
kdump
kenv
key
keyinfo
keyinit
keylogin
keylogout
killall
ktrace
lam
last
lastcomm
ldd
leave
less
lessecho
lesskey
lex
limits
locate
lock
lockf
logger
login
logname
look
lorder
lsvfs
m4
mail
make Format string paranoia. This should avoid potential buffer overflows from 2000-11-30 13:56:19 +00:00
makewhatis
mesg
minigzip
mk_cmds
mkdep
mkfifo
mklocale
mkstr
mktemp
msgs
mt
ncal
ncplist
ncplogin
netstat
newkey
nfsstat
nice
nm
nohup
objformat
opieinfo
opiekey
opiepasswd
pagesize
passwd
paste
pr
printenv
printf
quota
ranlib
rdist
renice
rev
rlogin
rpcgen
rpcinfo
rs
rsh
rup
ruptime
rusers
rwall
rwho
sasc
script
sed
shar
showmount
size
sockstat
soelim
split
strings
strip
su o Make comment match reality, synch code with comment. 2000-11-30 23:14:55 +00:00
symorder
systat
tail
talk
tconv
tcopy
tee
telnet
tftp
time
tip
top
touch
tput
tr
true
truncate
truss
tset
tsort
tty
uac
ul
uname
unexpand
unifdef
uniq
units
unvis
usbhidctl
users
uudecode
uuencode
vacation
vgrind
vi
vis
vmstat
w
wall
wc
what
whereis
which
who
whois
window
write
xargs
xinstall
xlint
xstr
yacc
yes
ypcat
ypmatch
ypwhich
Makefile
Makefile.inc