1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/lib/libc/gen
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
..
__xuname.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
_rand48.c
alarm.3 Sort cross references. 1997-01-20 23:23:22 +00:00
alarm.c
assert.c
clock.3
clock.c
closedir.c
config_open.3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
config.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
confstr.3
confstr.c
crypt.3 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:16:20 +00:00
crypt.c
ctermid.3
ctermid.c
daemon.3
daemon.c
devname.3 Merge from Lite2: man page updates 1997-03-11 11:47:52 +00:00
devname.c Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branch 1997-03-11 11:29:42 +00:00
directory.3 Sort cross references. 1997-01-20 23:23:22 +00:00
disklabel.c Merge from Lite2: 1997-03-11 11:52:33 +00:00
drand48.c
erand48.c
err.3 Added missing #include of <stdarg.h> to synopsis. Moved prototypes for 1997-03-19 00:43:13 +00:00
err.c
errlst.c
exec.3
exec.c Fixed execvp() of an empty pathname to fail POSIXly. Previously it 1996-11-18 19:24:47 +00:00
fnmatch.3 Merge from Lite2: man page updates 1997-03-11 11:47:52 +00:00
fnmatch.c Fix a bug that caused some false mismatches when both FNM_PATHNAME 1997-04-29 03:24:57 +00:00
frexp.3 Sort cross references. 1997-01-20 23:23:22 +00:00
fstab.c
ftok.3 FIxed arg types (mostly missing consts) in synopsis. 1997-03-19 00:58:07 +00:00
ftok.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
fts-compat.c Merge from Lite2: 1997-03-11 11:52:33 +00:00
fts-compat.h Back out all of yesterdays include file changes. 1997-05-07 20:01:10 +00:00
fts.3 The first argument to fts_set was wrong. Part of PR# 2917. 1997-03-09 00:43:49 +00:00
fts.c Merge from Lite2: 1997-03-11 11:52:33 +00:00
getbootfile.3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
getbootfile.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
getbsize.3
getbsize.c
getcap.3 FIxed arg types (mostly missing consts) in synopsis. 1997-03-19 00:52:58 +00:00
getcap.c
getcwd.3
getcwd.c Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWD 1997-03-13 06:45:38 +00:00
getdiskbyname.3
getdomainname.3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
getdomainname.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
getfsent.3 Update to reflect current include files. 1997-01-30 23:01:49 +00:00
getgrent.3 Correct the xref section - it was incorrectly using .Fn instead 1997-02-28 05:46:19 +00:00
getgrent.c Allow comments in group database. 1997-03-08 16:21:40 +00:00
getgrouplist.3
getgrouplist.c Fixed merging error. Lite2 fixed premature failure and didn't 1997-03-12 14:54:22 +00:00
gethostname.3
gethostname.c gethostname() returns int, not long. Answered my own question by 1996-12-05 18:14:56 +00:00
getloadavg.3 Fixed missing function types in synopsis. 1997-03-19 00:32:42 +00:00
getloadavg.c
getlogin.c Don't add/subtract 1 to MAXLOGNAME, it is already NUL-terminated 1997-03-03 08:11:28 +00:00
getmntinfo.3 Sort cross references. 1997-01-20 23:23:22 +00:00
getmntinfo.c
getnetgrent.3 FIxed arg types (mostly missing consts) in synopsis. 1997-03-19 00:52:58 +00:00
getnetgrent.c Merge from Lite2: 1997-03-11 11:52:33 +00:00
getosreldate.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
getpagesize.3 Sort cross references. 1997-01-20 23:23:22 +00:00
getpagesize.c
getpass.3
getpass.c
getpwent.3 Update to reflect current include files. 1997-01-30 23:01:49 +00:00
getpwent.c Remove minor warning (for -Wall -Wshadow); clarifies code. 1997-03-26 15:42:09 +00:00
getttyent.3 Fixed another prototype bug in synopsis. 1997-04-14 13:37:18 +00:00
getttyent.c Fix typo. 1997-04-13 16:55:56 +00:00
getusershell.3 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:16:20 +00:00
getusershell.c
getvfsbyname.3 More cleanup - I didn't realize that this was a new man page 1997-03-12 15:21:57 +00:00
getvfsbyname.c Enabled the Lite2 getvfsbyname(). It's actually named new_getvfsbyname() 1997-03-03 13:08:33 +00:00
getvfsent.3 Change vfc_typenum back to vfc_index in response to bde's 1997-03-03 06:02:54 +00:00
getvfsent.c Changed vfc_typenum back to vfc_index. The old vfsconf struct is now 1997-03-03 05:53:54 +00:00
glob.3 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:16:20 +00:00
glob.c Speedup in case locale not used 1997-04-04 19:16:08 +00:00
initgroups.3 Typo police. Part of PR# 3242. 1997-04-09 23:05:04 +00:00
initgroups.c
isatty.c
isinf.3
jrand48.c
lcong48.c
ldexp.3 Sort cross references. 1997-01-20 23:23:22 +00:00
lrand48.c
Makefile.inc sysctlbyname allows acces to sysctl variables by name. 1997-05-30 20:53:13 +00:00
modf.3
mrand48.c
msgctl.3 Update to reflect current include files. 1997-01-30 23:01:49 +00:00
msgctl.c
msgget.3 Mdoc cleanup. 1997-03-21 20:46:30 +00:00
msgget.c
msgrcv.3 Mdoc cleanup. 1997-03-21 20:46:30 +00:00
msgrcv.c
msgsnd.3 Mdoc cleanup. 1997-03-21 20:46:30 +00:00
msgsnd.c
nice.3 Fixed missing function types in synopsis. 1997-03-19 00:32:42 +00:00
nice.c
nlist.3
nlist.c Sweep through the tree fixing mmap() usage: 1997-01-16 21:58:40 +00:00
nrand48.c
ntp_gettime.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
opendir.c Fixed errors in the Lite2 merge. Some style changes were mismerged. 1997-03-12 12:35:44 +00:00
pause.3 Pause() is made obsolete by sigsuspend(2), not sigpause(3). 1997-03-09 00:42:46 +00:00
pause.c
popen.3 Document that popen() uses a bidirectional pipe (in FreeBSD) and not a 1997-03-11 19:28:24 +00:00
popen.c FIxed the cleanup. I forgot to leave stdin alone in the usual (!twoway) 1997-04-22 09:44:06 +00:00
psignal.3 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:16:20 +00:00
psignal.c
pw_scan.c
pw_scan.h
pwcache.3 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:16:20 +00:00
pwcache.c Honor the nouser/nogroup flag when determing if NULL should 1997-04-03 01:51:34 +00:00
raise.3
raise.c
rand48.3
rand48.h
readdir.c Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branch 1997-03-11 11:29:42 +00:00
rewinddir.c
scandir.3
scandir.c
seed48.c
seekdir.c
semconfig.c
semctl.c
semget.c
semop.c
setdomainname.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
setflags.c Submitted by: Whistle Communications (archie Cobbs) 1997-06-02 06:24:52 +00:00
setflagsbyname.c Submitted by: Whistle Communications (archie Cobbs) 1997-06-02 06:24:52 +00:00
sethostname.c sethostname() returns int, not long. I could get used to having this 1996-12-05 18:27:20 +00:00
setjmp.3
setjmperr.c
setmode.3 Merge from Lite2: man page updates 1997-03-11 11:47:52 +00:00
setmode.c
setproctitle.3 Add #include <sys/types.h> in synopsis, now required for libutil.h. 1997-05-11 08:50:33 +00:00
setproctitle.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
shmat.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
shmctl.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
shmdt.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
shmget.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
siginterrupt.3 Mention FreeBSD explicitly along with 4.2BSD so that the 1996-12-15 23:23:17 +00:00
siginterrupt.c
siglist.c
signal.3 Typogrammatical error 'with' -> 'when'. 1997-02-20 06:50:31 +00:00
signal.c
sigsetops.3 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:16:20 +00:00
sigsetops.c Oops! I accidently commited a change that wasn't ready for prime 1997-02-28 06:26:26 +00:00
sleep.3 Use the .Tn macro for generic FreeBSD references. Other minor cleanup. 1997-03-21 20:57:20 +00:00
sleep.c Update the sleep(3)/usleep(3) code to use signanosleep(2) if compiled with 1997-06-01 09:27:03 +00:00
srand48.c
strtofflags.c Submitted by: Whistle Communications (archie Cobbs) 1997-06-02 06:24:52 +00:00
sysconf.3 Make a note in the standards section that sysconf isn't completely 1996-12-27 03:39:03 +00:00
sysconf.c
sysctl.3 Merge from Lite2: man page updates 1997-03-11 11:47:52 +00:00
sysctl.c
sysctlbyname.c sysctlbyname allows acces to sysctl variables by name. 1997-05-30 20:53:13 +00:00
syslog.3
syslog.c Add backward compatibility so that static executables built on 1997-03-20 16:28:27 +00:00
tcgetpgrp.3
tcsendbreak.3
tcsetattr.3 FIxed arg types (mostly missing consts) in synopsis. 1997-03-19 00:52:58 +00:00
tcsetpgrp.3
telldir.c
termios.c
time.3
time.c
times.3
times.c
timezone.3
timezone.c
ttyname.3
ttyname.c Submitted by: John Birrell 1997-02-05 23:26:09 +00:00
ttyslot.c
tzset.3
ualarm.3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
ualarm.c
uname.3
uname.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
unvis.3 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:16:20 +00:00
unvis.c
usleep.3 Sort cross references. 1997-01-20 23:23:22 +00:00
usleep.c Update the sleep(3)/usleep(3) code to use signanosleep(2) if compiled with 1997-06-01 09:27:03 +00:00
utime.3 Sort cross references. 1997-01-20 23:23:22 +00:00
utime.c
valloc.3 Fixed #include and/or prototype bugs in synopsis. 1997-04-19 15:57:20 +00:00
valloc.c
vis.3 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:16:20 +00:00
vis.c
wait3.c
wait.c
waitpid.c