1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/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
..
_sigset.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
acct.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
bio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
bitstring.h
buf.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
callout.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ccdvar.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
cdefs.h Make the necessary changes so that an ELF kernel can be built. I 1997-04-22 06:55:47 +00:00
cdio.h This mega-commit brings the following: 1997-05-04 15:24:23 +00:00
chio.h Retrofit Bruce's changes from rev 1.7. 1997-03-11 19:38:02 +00:00
clist.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
conf.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
cons.h Fixed gratuitous ANSIisms. 1997-04-01 16:13:31 +00:00
copyright.h Extended copyright of PC-98 to 1997. 1997-05-05 13:24:16 +00:00
dataacq.h
devfsext.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
device.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
dir.h Deprecated <sys/dir.h> some more - changed the comment saying that 1997-04-10 13:54:19 +00:00
dirent.h Deprecated <sys/dir.h> some more - changed the comment saying that 1997-04-10 13:54:19 +00:00
disk.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
disklabel.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
diskmbr.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
diskpc98.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
diskslice.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
dkbad.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
dkstat.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
dmap.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
domain.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
elf32.h Fill out the ELF header files to make them more or less complete. 1997-05-21 23:07:31 +00:00
errno.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
exec.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
fbio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
fcntl.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
fdcio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
file.h Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined. 1997-03-23 03:37:54 +00:00
filedesc.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
filio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ftape.h
gmon.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
imgact_aout.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
imgact_elf.h Fill out the ELF header files to make them more or less complete. 1997-05-21 23:07:31 +00:00
imgact.h Add argv0 field for imgact structure - for replacing argv0 in shell 1997-04-23 22:02:37 +00:00
inflate.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
interrupt.h Move "typedef struct intrec {} intrec" from sys/interrupt.h to kern_intr.c 1997-06-01 16:05:14 +00:00
ioccom.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ioctl_bt848.h 1.15 4/18/97 John-Mark Gurney <gurney_j@resnet.uoregon.edu> 1997-05-01 00:15:30 +00:00
ioctl_compat.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ioctl_meteor.h
ioctl.h Don't include <sys/ioctl.h> in the kernel. Stage 10 (final). Warn if 1997-03-24 12:48:46 +00:00
ipc.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
joystick.h
kernel.h Don't refer to NCPU in extern decl for SMPruntime[] 1997-05-29 04:50:23 +00:00
ktrace.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
libkern.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
linedisc.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
link_aout.h Back out all of yesterdays include file changes. 1997-05-07 20:01:10 +00:00
link_elf.h Back out all of yesterdays include file changes. 1997-05-07 20:01:10 +00:00
linker.h This is the kernel linker. To use it, you will first need to apply 1997-05-07 16:05:47 +00:00
lkm.h Make MOD_* macros almost consistent: 1997-04-06 11:14:13 +00:00
lock.h Add missing $Id$ 1997-03-25 17:09:18 +00:00
lockf.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
lockmgr.h Add missing $Id$ 1997-03-25 17:09:18 +00:00
malloc.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
mbuf.h Add new kern.ipc MIB branch constants and mbuf stats. 1997-02-24 20:32:10 +00:00
md5.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
mdioctl.h
mman.h #ifdef'ed the declaration of lseek() so that -Wredundant-decls doesn't 1997-04-13 15:38:10 +00:00
module.h This is the kernel linker. To use it, you will first need to apply 1997-05-07 16:05:47 +00:00
mount.h Make MOD_* macros almost consistent: 1997-04-06 11:14:13 +00:00
mouse.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
msg.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
msgbuf.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
mtio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
namei.h Make nc_flag and nc_nlen unsigned. 1997-05-11 14:54:41 +00:00
nlist_aout.h Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
param.h Use roundup(MAXLOGNAME, sizeof(long)) as e_login/s_login arrays size 1997-03-03 09:51:15 +00:00
pciio.h Add PCI LKM support. 1997-01-21 23:23:40 +00:00
pipe.h Removed support for OLD_PIPE. <sys/stat.h> is now missing the hack that 1997-04-09 16:53:45 +00:00
proc.h New field: p_sleepend; so that settime() can adjust the expected wakeup 1997-06-01 08:49:49 +00:00
protosw.h prevent `struct proc' from being declared inside parameter list. 1997-05-27 06:17:22 +00:00
ptrace.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
queue.h Add accessors for STAILQ. 1997-05-07 14:38:11 +00:00
random.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
reboot.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
resource.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
resourcevar.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rlist.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rtprio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
scsiio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
select.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
selinfo.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
sem.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
shm.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
signal.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
signalvar.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
smp.h apic.h now has structure definitions for both the local APIC and io APIC. 1997-05-29 05:57:43 +00:00
snoop.h Only export ioctl-related stuff to applications. Include prerequisite 1997-03-19 04:37:26 +00:00
socket.h merge ATM driver 1997-05-09 12:19:06 +00:00
socketvar.h The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
sockio.h define SIOC{SG}IFMEDIA ioctls 1997-05-03 21:05:03 +00:00
soundcard.h Bug fix for SNDCTL_DSP_GETOSPACE ioctl. It would report 0 bytes 1997-02-12 06:56:57 +00:00
stat.h Submitted by: Whistle Communications (archie Cobbs) 1997-06-02 06:24:52 +00:00
syscall-hide.h Regenerate 1997-06-01 08:56:12 +00:00
syscall.h Regenerate 1997-06-01 08:56:12 +00:00
sysctl.h Add new kern.ipc MIB branch constants and mbuf stats. 1997-02-24 20:32:10 +00:00
sysent.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
syslimits.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
syslog.h Add backward compatibility so that static executables built on 1997-03-20 16:28:27 +00:00
sysproto.h Regenerate 1997-06-01 08:56:12 +00:00
systm.h Add prototypes for the spl* funcs and add externs for *_imask. Leaving 1997-05-31 09:43:22 +00:00
tablet.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
termios.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
time.h struct timespec needs to be useable with just <time.h>, but needs to not 1997-05-13 10:58:14 +00:00
timeb.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
timers.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
times.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
timetc.h struct timespec needs to be useable with just <time.h>, but needs to not 1997-05-13 10:58:14 +00:00
timex.h Update our kernel ntp code to the latest from David Mills. The main change 1996-12-30 18:26:28 +00:00
tprintf.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tty.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ttychars.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ttycom.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ttydefaults.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ttydev.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
types.h Add posix-style clock and timer types (clockid_t and timer_t) 1997-05-08 13:50:36 +00:00
ucred.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
uio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
un.h The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
unistd.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
unpcb.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
user.h Use roundup(MAXLOGNAME, sizeof(long)) as e_login/s_login arrays size 1997-03-03 09:51:15 +00:00
utsname.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vadvise.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vcmd.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vlimit.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vmmeter.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vnioctl.h
vnode.h 1. Add a {pointer, v_id} pair to the vnode to store the reference to the 1997-05-04 09:17:38 +00:00
vsio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
wait.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
wormio.h A few improvements to the worm driver. 1997-05-19 17:30:50 +00:00