freebsd-skq/usr.bin
julian 68081e32bc Submitted by: Whistle Communications (archie Cobbs)
These changes add the ability to specify that a UFS file/directory
cannot be unlinked. This is basically a scaled back version
of the IMMUTABLE flag. The reason is to allow an administrator
to create a directory hierarchy that a group of users
can arbitrarily add/delete files from, but that the hierarchy
itself is safe from removal by them.
If the NOUNLINK definition is set to 0
then this results in no change to what happens normally.
(and results in identical binary (in the kernel)).
It can be proven that if this bit is never set by the admin,
no new behaviour is introduced..
Several "good idea" comments from reviewers plus one grumble
about creeping featurism.

This code is in production in 2.2 based systems
1997-06-02 06:24:52 +00:00
..
apply compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
ar compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
at compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
banner compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
basename compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
biff compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
brandelf Fill out the ELF header files to make them more or less complete. 1997-05-21 23:07:31 +00:00
cal compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
calendar Change holiday name to official one 1997-05-01 14:39:55 +00:00
cap_mkdb compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
chat make it so that chat doesn't fail when it can't get terminal params.. 1997-04-02 09:55:26 +00:00
checknr Sort cross references. 1997-01-15 23:25:55 +00:00
chflags Submitted by: Whistle Communications (archie Cobbs) 1997-06-02 06:24:52 +00:00
chkey This commit was generated by cvs2svn to compensate for changes in r26240, 1997-05-28 15:54:04 +00:00
chpass Fix for PR #3141: check for NULL before strdup()ing pw->pw_class. 1997-03-29 20:29:12 +00:00
cksum add md5(1) to SEE ALSO section. 1997-04-29 08:41:26 +00:00
cmp compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
col compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
colcrt Sort cross references. 1997-01-15 23:25:55 +00:00
colldef Add ASCII collate mainly for fallback for EUC-type locales 1997-03-25 16:50:07 +00:00
colrm compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
column compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
comm compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
compile_et Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
compress compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
cpp Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
ctags compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
cut compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
dig Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
dirname compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
dnsquery Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
du compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
ee Fixed missing ${COPY} in install rule. 1997-04-04 15:09:42 +00:00
env compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
error Use mkstemp rather than mktemp to prevent a small race. 1997-03-24 05:50:27 +00:00
expand
f2c Install f2c.h 1997-04-24 17:04:04 +00:00
false
fetch Now understand password in ftp:// URLs 1997-05-31 14:45:41 +00:00
file Remove the etc-magic target since we no longer install the 1997-04-04 02:42:53 +00:00
file2c Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
find Eliminate a variable that is set but never used. 1997-05-19 18:16:29 +00:00
finger compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
fmt Removed inconsistent declaration of malloc(). `make world' with DESTDIR 1997-04-23 10:16:58 +00:00
fold compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
fpr
from compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
fsplit
fstat Removed `#define KERNEL'. This was a hack-around for nfs.h being broken 1997-03-29 12:50:41 +00:00
ftp compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
gcore compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
gencat Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
getopt compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
global Typo fix. 1997-05-11 23:43:11 +00:00
gprof Sort cross references. 1997-01-15 23:25:55 +00:00
gprof4 Implemented non-statistical kernel profiling. This is based on 1995-12-29 15:30:05 +00:00
head Support for -c, byte count. 1997-04-06 00:54:27 +00:00
hexdump compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
host Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
id `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
indent Fix description of -cli option so that it comes out as -cli0.5 instead of 1996-10-23 07:02:48 +00:00
ipcrm Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
ipcs From the PR: 1997-05-04 20:17:54 +00:00
join compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
jot Use srandomdev() now 1997-03-30 23:13:59 +00:00
kdump Spelling correction (1 bytes' is now printed 1 byte') 1997-05-22 06:17:44 +00:00
key compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
keyinfo Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
keyinit Add -D_SKEY_INTERNAL to pick up non-API functions 1996-10-17 15:30:21 +00:00
keylogin This commit was generated by cvs2svn to compensate for changes in r26242, 1997-05-28 15:58:29 +00:00
keylogout This commit was generated by cvs2svn to compensate for changes in r26244, 1997-05-28 16:01:17 +00:00
killall Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
ktrace `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
kzip compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
lam
last compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
lastcomm compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
ldd Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
leave
lex Add `%{'' and `%}'' to one of the examples so that you can actually 1997-04-11 10:33:12 +00:00
limits login_getclass() -> login_getpwclass(). 1997-05-10 19:00:58 +00:00
locate fix up this man page 1997-04-18 11:12:52 +00:00
lock compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
lockf compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
logger compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
login Restore backwards compatible default behavior for requirehome 1997-05-23 00:14:27 +00:00
logname `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
look compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
lorder typo. 1996-06-10 15:55:48 +00:00
lsvfs Added missing #include, cleaned up #includes. 1997-03-03 17:21:57 +00:00
m4 Make the $@ macro behave as described in the man page. 1997-04-13 17:51:32 +00:00
mail Renamed undelete() to undelete_messages() to avoid conflict with new 1997-04-14 16:49:30 +00:00
make In these XXX MHz days, waiting 500ms for a process to do something is 1997-04-21 20:32:11 +00:00
makewhatis Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
mesg The text describing exit values >1 was formatted incorrectly. 1997-03-29 20:01:59 +00:00
mk_cmds Removed wrong declarations of malloc() and realloc(). They were unused, 1997-04-22 17:44:34 +00:00
mkdep Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
mkfifo `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
mklocale Fixed bogus existence check related to searching for a nearby obj directory. 1997-04-10 15:15:43 +00:00
mkstr Sort cross references. 1997-01-15 23:25:55 +00:00
modstat compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
more Removed inconsistent declaration of malloc(). `make world' with DESTDIR 1997-04-23 10:16:58 +00:00
msgs Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
mt compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
netstat Remove some quite bogus code that tried to find subnet names but instead 1997-05-25 08:36:20 +00:00
newkey This commit was generated by cvs2svn to compensate for changes in r26238, 1997-05-28 15:52:07 +00:00
nfsstat `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
nice Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
nm compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
nohup
opieinfo Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
opiekey Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
opiepasswd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
pagesize Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
passwd login_getclass() -> login_getpwclass() 1997-05-10 19:02:38 +00:00
paste compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
pr compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
printenv compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
printf compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
quota compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
ranlib compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
rdist Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
renice
rev compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
rlogin compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
rpcgen General -Wall warning cleanup, part I. 1996-07-12 19:08:36 +00:00
rpcinfo compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
rs The rs(1) command dumps core with the -s option (SIGSEGV) 1996-05-26 18:26:55 +00:00
rsh compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
rup Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
ruptime Small formatting change to interval() to align columns so that: 1997-03-31 09:36:59 +00:00
rusers Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
rwall Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
rwho compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
sasc Include unistd.h for new location of getopt() prototypes 1997-03-11 14:44:05 +00:00
script compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
sed compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
sgmlfmt Make the META tag specifying the document character set the first 1997-05-12 14:16:48 +00:00
sgmls compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
shar `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
showmount Add -3 option to usage() statement. 1997-04-11 19:54:09 +00:00
size compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
soelim
split compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
strings compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
strip compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
su Move libmd after all libraries to keep natural libraries order 1997-05-23 21:18:00 +00:00
symorder compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
systat Use new sysctl(3) interface to mbuf statistics. While we're at it, 1997-02-24 20:59:03 +00:00
tail compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
talk Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
tclsh Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
tconv Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
tcopy compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
tee compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
telnet compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
tftp Don't use __dead or __pure in user code. They were obfuscations 1996-09-14 03:00:32 +00:00
time compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
tip Include types.h before libutil.h 1997-05-11 05:26:11 +00:00
tn3270 Sort cross references. 1997-01-15 23:25:55 +00:00
top Long usernames fixes 1997-04-21 13:53:47 +00:00
touch compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
tput `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) 1997-04-27 08:45:46 +00:00
tr compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
true Sort cross references. 1997-01-15 23:25:55 +00:00
tset compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
tsort compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
tty compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
ul compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
uname compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
unexpand
unifdef
uniq compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
units Specify the full path of units.lib in the FILES section. 1997-05-06 03:31:14 +00:00
unvis Typo. 1997-04-25 20:47:15 +00:00
users compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
uudecode compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
uuencode compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
vacation Even better fix: use close(fileno(mfp)); to close unneded descriptor 1997-04-23 22:40:19 +00:00
vgrind minor stylistic change (NULL to '\0') 1997-04-02 10:44:12 +00:00
vi Enable GLOBAL tags support. 1997-04-18 23:44:54 +00:00
vis Typo. 1997-04-25 20:47:15 +00:00
vmstat compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
w compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
wall Add locale-independent control checks for security reason 1997-05-14 09:37:54 +00:00
wc compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
what Typo fix. 1997-05-25 18:47:33 +00:00
whereis Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
which Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
who Made sure the string formated by strftime() is properly 1997-03-07 11:04:01 +00:00
whois compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
window Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
write Remove the text that says nroff and pr automatically disable 1997-03-22 17:19:32 +00:00
xargs compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
xinstall Bootstrap aid from older releases.. 'make world' can't build xinstall 1997-05-24 05:39:19 +00:00
xlint Cope with the possibility of __FreeBSD__ = 3 1997-03-11 14:49:51 +00:00
xstr
yacc Add back the description of the -o option. 1997-05-14 02:33:08 +00:00
yes
ypcat Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
ypmatch Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
ypwhich Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
Makefile Grr... curse my fumble-fingered hide: logmane -> logname 1997-05-29 15:03:32 +00:00
Makefile.inc