HardenedBSD/sys
Garrett Wollman a29f300e80 The long-awaited mega-massive-network-code- cleanup. Part I.
This commit includes the following changes:
1) Old-style (pr_usrreq()) protocols are no longer supported, the compatibility
glue for them is deleted, and the kernel will panic on boot if any are compiled
in.

2) Certain protocol entry points are modified to take a process structure,
so they they can easily tell whether or not it is possible to sleep, and
also to access credentials.

3) SS_PRIV is no more, and with it goes the SO_PRIVSTATE setsockopt()
call.  Protocols should use the process pointer they are now passed.

4) The PF_LOCAL and PF_ROUTE families have been updated to use the new
style, as has the `raw' skeleton family.

5) PF_LOCAL sockets now obey the process's umask when creating a socket
in the filesystem.

As a result, LINT is now broken.  I'm hoping that some enterprising hacker
with a bit more time will either make the broken bits work (should be
easy for netipx) or dike them out.
1997-04-27 20:01:29 +00:00
..
alpha Removed unused #includes. 1997-04-09 15:34:09 +00:00
amd64 Whoops.. We forgot to turn off the 4MB Virtual==Physical mapping at address 1997-04-27 12:11:43 +00:00
compat/linux Remove dependancy on UFS' DIRBLKSIZ definition. 1997-04-06 10:10:50 +00:00
compile
conf Merge SMP code from IBM-PC tree into PC-98 tree. 1997-04-27 13:22:09 +00:00
ddb Everyone's favorite, i think: make DDB understand the arrow keys for the 1997-04-12 17:35:02 +00:00
dev Addresses the following two problems. 1997-04-27 09:03:10 +00:00
fs Prevent debugger attachment to init when securelevel > 0. 1997-04-27 19:02:37 +00:00
geom Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
gnu Make the necessary changes so that an ELF kernel can be built. I 1997-04-22 06:55:47 +00:00
i386 Whoops.. We forgot to turn off the 4MB Virtual==Physical mapping at address 1997-04-27 12:11:43 +00:00
isa Addresses the following two problems. 1997-04-27 09:03:10 +00:00
isofs/cd9660 Removed more traces of ISODEVMAP. 1997-04-15 08:05:08 +00:00
kern The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
libkern Eliminate some function calls when locale not used 1997-04-04 19:08:19 +00:00
miscfs Prevent debugger attachment to init when securelevel > 0. 1997-04-27 19:02:37 +00:00
modules Make MOD_* macros almost consistent: 1997-04-06 11:14:13 +00:00
msdosfs Get the declaration of `struct dirent' from <sys/dirent.h>, not from 1997-04-10 14:56:49 +00:00
net The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
netatalk Fixed the type of timeout functions and removed casts that hid the 1997-04-20 15:36:12 +00:00
netinet The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
netipx Change IPX to use the pr_usrreqs structure. 1997-04-05 20:05:11 +00:00
netkey
netns Remove unneeded member nsp_head from struct nspcb. 1997-04-14 18:26:51 +00:00
nfs The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
nfsclient The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
nfsserver The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
pc98 Delete opt_ddb.h. 1997-04-27 13:41:08 +00:00
pccard 1. i82365.h: Chip identifiers should not be #ifdef PC98. Add identifier 1997-04-20 07:21:12 +00:00
pci Man the liferafts! Here comes the long awaited SMP -> -current merge! 1997-04-26 11:46:25 +00:00
powerpc/include Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rpc Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
scsi Implement dkstats for worm devices so they show up in iostat et al. 1997-04-04 22:12:55 +00:00
sys The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
tools Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ufs Use smalllblktosize() instead of multiplying small block numbers 1997-04-10 13:17:09 +00:00
vm Man the liferafts! Here comes the long awaited SMP -> -current merge! 1997-04-26 11:46:25 +00:00
Makefile Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00