freebsd-nq/lib/libc/sys
Julian Elischer 50dab48a5b 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
..
_exit.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
accept.2 add xrefs for getpeername, so other people that look for it can find it.. :) 1997-03-24 01:22:01 +00:00
access.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
acct.2 Remove the EINVAL error from the ERRORS sections that 1997-01-11 23:56:32 +00:00
adjtime.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
bind.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
brk.2 Fixed synopsis (the #include was bogus and the return type for brk() was 1997-04-11 18:39:44 +00:00
chdir.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
chflags.2 Submitted by: Whistle Communications (archie Cobbs) 1997-06-02 06:24:52 +00:00
chmod.2 Use the .Tn macro for generic FreeBSD references. Other minor cleanup. 1997-03-21 20:57:20 +00:00
chown.2 Fix a minor grammar problem. 1997-04-01 18:06:33 +00:00
chroot.2 Remove the EINVAL error from the ERRORS sections that 1997-01-11 23:56:32 +00:00
clock_gettime.2 Man pages for clock_{get/set}time() and clock_getres(). 1997-05-12 12:13:10 +00:00
close.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
connect.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
dup.2 Clarified the behaviour of dup2(fd1,fd2) when fd1==fd2 and when fd1 is invalid. 1997-03-09 13:16:48 +00:00
execve.2 Cleanup some of the Lite2 merge. Most of it is mdoc cleanup, 1997-03-12 14:49:41 +00:00
fcntl.2 Don't use hardcoded *roff font change requests. 1997-01-31 01:06:39 +00:00
flock.2 Updated the LOCK_* #defines in the synopsis to be lexically identical 1997-04-13 13:43:06 +00:00
fork.2 Add vfork(2) to SEE ALSO 1997-04-25 14:41:55 +00:00
fsync.2
ftruncate.c
getdirentries.2 Fixed #includes in synopsis to compile. 1997-03-28 12:27:42 +00:00
getdtablesize.2
getfh.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
getfsstat.2 Merge from Lite2 onto mainline - 1997-03-11 11:35:56 +00:00
getgid.2 Fixed missing #include in synopsis. 1997-04-11 18:57:26 +00:00
getgroups.2
getitimer.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
getlogin.2 it's'' -> its'' where appropriate and typo fixes in time2posix.3. 1997-05-19 16:33:27 +00:00
getpeername.2 Sort cross references. 1997-01-20 23:23:22 +00:00
getpgrp.2 Very minor mdoc cleanup. 1997-01-31 00:25:12 +00:00
getpid.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
getpriority.2
getrlimit.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
getrusage.2 Add missing RETURN VALUES/ERRORS sections. 1997-01-12 00:38:36 +00:00
getsockname.2 add xrefs for getpeername, so other people that look for it can find it.. :) 1997-03-24 01:22:01 +00:00
getsockopt.2 Merge from Lite2 onto mainline - 1997-03-11 11:35:56 +00:00
gettimeofday.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
getuid.2 Xref the new issetugid(2) man page where appropriate. 1997-04-01 18:58:38 +00:00
intro.2 Missing newline caused too much text to be fed to the macro. 1997-04-08 10:45:10 +00:00
ioctl.2 Sort cross references. 1997-01-20 23:23:22 +00:00
issetugid.2 Don't xref setregid(2) twice - one of them should be setreuid(2). 1997-04-01 18:50:56 +00:00
kill.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
ktrace.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
link.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
listen.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
lseek.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
lseek.c
madvise.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
Makefile.inc Doc signanosleep, add to links 1997-06-01 09:47:06 +00:00
mincore.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
minherit.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
mkdir.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
mkfifo.2 I was porting something from sysV world and found our cross references 1997-01-27 19:20:05 +00:00
mknod.2 Correct the most glaring errors. I have a feeling there are some 1997-04-02 01:42:07 +00:00
mlock.2
mmap.2 Use the .Tn macro for generic FreeBSD references. Other minor cleanup. 1997-03-21 20:57:20 +00:00
mmap.c
mount.2 Updated prototype for mount() to match Lite2 reality for the 1st arg 1997-03-13 21:11:33 +00:00
mprotect.2 Forgot a .El macro. 1997-01-11 23:26:44 +00:00
msync.2 Merge from Lite2 onto mainline - 1997-03-11 11:35:56 +00:00
munmap.2 Merge from Lite2 onto mainline - 1997-03-11 11:35:56 +00:00
nanosleep.2 Doc signanosleep, add to links 1997-06-01 09:47:06 +00:00
nfssvc.2 Fixed #includes in synopsis. 1997-04-13 13:48:43 +00:00
open.2 Sort cross references. 1997-01-20 23:23:22 +00:00
pathconf.2
pipe.2 Sort cross references. 1997-01-20 23:23:22 +00:00
profil.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
ptrace.2 Use the .Tn macro for generic FreeBSD references. Other minor cleanup. 1997-03-21 20:57:20 +00:00
quotactl.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
read.2 Update to reflect current include files. 1997-01-30 22:39:40 +00:00
readlink.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
reboot.2
recv.2 Document SCM_CREDS changes. 1997-03-21 16:52:05 +00:00
rename.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
revoke.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
rfork.2 Sort cross references. 1997-01-20 23:23:22 +00:00
rmdir.2 Remove the EINVAL error from the ERRORS sections that 1997-01-11 23:56:32 +00:00
rtprio.2 Use the .Tn macro for generic FreeBSD references. Other minor cleanup. 1997-03-21 20:57:20 +00:00
select.2
semctl.2 Removed unnecessary quoting of function names in synopsis to simplify 1997-03-18 23:57:33 +00:00
semget.2 Removed unnecessary quoting of function names in synopsis to simplify 1997-03-18 23:57:33 +00:00
semop.2 Removed unnecessary quoting of function names in synopsis to simplify 1997-03-18 23:57:33 +00:00
send.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
setgroups.2
setpgid.2
setregid.2 Xref the new issetugid(2) man page where appropriate. 1997-04-01 18:58:38 +00:00
setreuid.2 Xref the new issetugid(2) man page where appropriate. 1997-04-01 18:58:38 +00:00
setsid.2 setsid is declared in <unistd.h>, which is self sufficient (doesn't need 1997-04-08 10:43:47 +00:00
setuid.2 Update to include details about the changes to setuid/setgid. 1997-04-02 17:24:16 +00:00
shmat.2 Removed unnecessary quoting of function names in synopsis to simplify 1997-03-18 23:57:33 +00:00
shmctl.2 Removed unnecessary quoting of function names in synopsis to simplify 1997-03-18 23:57:33 +00:00
shmget.2 Removed unnecessary quoting of function names in synopsis to simplify 1997-03-18 23:57:33 +00:00
shutdown.2 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
sigaction.2 Get my last commit right. The NOTE section now reads: 1997-03-25 18:33:23 +00:00
sigaltstack.2 Make this man page really match the current <sys/signal.h> again and 1997-03-12 17:16:22 +00:00
sigpending.2
sigprocmask.2 Sort cross references. 1997-01-20 23:23:22 +00:00
sigreturn.2 Update to reflect current include files. 1997-01-30 22:39:40 +00:00
sigstack.2
sigsuspend.2 Add xref to signanosleep(2) 1997-06-01 10:34:39 +00:00
socket.2 add xrefs for getpeername, so other people that look for it can find it.. :) 1997-03-24 01:22:01 +00:00
socketpair.2 Sort cross references. 1997-01-20 23:23:22 +00:00
stat.2 Merge from Lite2 onto mainline - 1997-03-11 11:35:56 +00:00
statfs.2 Merge from Lite2 onto mainline - 1997-03-11 11:35:56 +00:00
swapon.2 Sort cross references. 1997-01-20 23:23:22 +00:00
symlink.2 Sort cross references. 1997-01-20 23:23:22 +00:00
sync.2
syscall.2 Fixed return type of __syscall() in synopsis. 1997-04-11 18:54:05 +00:00
truncate.2 Remove the EINVAL error from the ERRORS sections that 1997-01-11 23:56:32 +00:00
truncate.c Fixed missing const. Include <unistd.h> so that the function type gets 1997-04-14 15:14:58 +00:00
umask.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
undelete.2 Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branch 1997-03-11 11:29:42 +00:00
unlink.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
utimes.2 Remove the EINVAL error from the ERRORS sections that 1997-01-11 23:56:32 +00:00
vfork.2 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
wait.2
write.2 Update to reflect current include files. 1997-01-30 22:39:40 +00:00