freebsd-dev/sys
Chris Costello 38edb6a32f Adapt fdesc to be mounted on /dev/fd and remove fd, stdin, stdout and
stderr nodes.  More specific items of this patch:
  o Removed support for symbolic links, and the need for
    fdesc_readlink().
  o Put all the code from fdesc_attr() into fdesc_getattr() and removed
    fdesc_attr().  This also made it easier to properly give all nodes
    unique inode numbers.
  o The removal of all non-fd nodes allowed the removal of the fdesc_read(),
    fdesc_write(), and fdesc_ioctl() nodes, since we no longer have nodes
    that get special handling.
  o Correct the component name validity-checking in fdesc_lookup().  It
    previously detected the end of the string by checking for a terminating
    NUL, now it uses cnp->cn_namelen.
  o Handle kqueue files as FIFOs.  This is probably the closest file type
    to represent this type of file there is, and it is unfortunately not
    very representative of a kqueue.  Creation time is not supported by
    kqueue, so ctime, mtime and atime are all set to the current time when
    getattr() was called.
  o Also set st_[mca]time to the current time since there's no data in
    socket structures that can be used to fill this in (FIFOs).
  o Simplify fdesc_readdir() since it only has to report the numbered
    fd nodes.  Add `.' and `..' directory links as well.
  o Remove read bits from directories as they tend to confuse programs
    like tar(1).

Reviewed by:	phk
Discussed with:	bde (earlier on, not quite review)
2000-05-11 22:10:51 +00:00
..
alpha Some white-box (NT) systems have SRM which reports a systype that's 2000-05-11 13:31:05 +00:00
amd64 Move <machine/ipl.h> outside #ifdef SMP because it supplies AST_RESCHED. 2000-05-11 02:32:36 +00:00
boot Remove metion of the 'magic options.' Apparently PXE doesn't require the 2000-05-09 18:28:07 +00:00
cam Some prettifying for the quirk comments. 2000-05-09 04:54:10 +00:00
coda Remove 42 unneeded #include <sys/ioccom.h>. 2000-05-03 07:31:38 +00:00
compat Regenerated (to fix "created from" lines, and to fix the previous 2000-05-10 14:38:28 +00:00
compile
conf Fix modules: target. 2000-05-10 17:24:08 +00:00
contrib Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
crypto Remove ~25 unneeded #include <sys/conf.h> 2000-04-19 14:58:28 +00:00
ddb Add a new sysctl "debug.enter_debugger" (when the kernel is compiled 2000-01-27 22:27:34 +00:00
dev Only display the 'Disable PNP-OS BIOS option' message on the i386 arch. 2000-05-11 20:17:28 +00:00
fs Adapt fdesc to be mounted on /dev/fd and remove fd, stdin, stdout and 2000-05-11 22:10:51 +00:00
geom Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
gnu Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
i4b Remove 42 unneeded #include <sys/ioccom.h>. 2000-05-03 07:31:38 +00:00
i386 Move <machine/ipl.h> outside #ifdef SMP because it supplies AST_RESCHED. 2000-05-11 02:32:36 +00:00
isa Supported PC-98. 2000-05-11 11:09:50 +00:00
isofs/cd9660 Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
kern Include the UID and GID values filled in by socreate() into socket->so_cred 2000-05-11 22:08:57 +00:00
libkern Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
miscfs Adapt fdesc to be mounted on /dev/fd and remove fd, stdin, stdout and 2000-05-11 22:10:51 +00:00
modules Update man page to reflect new IPv6 hook. Simplify Makefile. 2000-05-10 16:54:40 +00:00
msdosfs Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
net patch from Alexey Zelkin 2000-05-11 00:44:35 +00:00
netatalk Slight cleanup of aarp code 2000-03-29 17:12:09 +00:00
netatm Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
netgraph Add hook for IPv6. 2000-05-10 16:54:00 +00:00
netinet Revert the default behaviour for incoming connections so 2000-05-11 07:52:21 +00:00
netinet6 Fixed missing prototype for inet6_rthdr_reverse(). 2000-05-11 16:57:45 +00:00
netipx Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
netkey comment the string after #endif 2000-01-15 05:15:06 +00:00
netnatm Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
netncp nwfs depends on ncp 2000-04-29 13:34:28 +00:00
netns Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
nfs Include a RFC 1533 "Maximum DHCP Message Size" option in our request. 2000-05-07 14:29:19 +00:00
nfsclient Include a RFC 1533 "Maximum DHCP Message Size" option in our request. 2000-05-07 14:29:19 +00:00
nfsserver Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
ntfs Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
nwfs Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
pc98 Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
pccard Add PnP ID for vadem based plug and play card. 2000-05-02 06:50:17 +00:00
pci Only display the 'Disable PNP-OS BIOS option' message on the i386 arch. 2000-05-11 20:17:28 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc Handle PCI devices that actually use an ISA IRQ for the cia and tsunami 2000-05-10 18:54:28 +00:00
rpc $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
svr4 Regenerated (to fix "created from" lines, and to fix the previous 2000-05-10 14:38:28 +00:00
sys Fixed a syntax error (a stray semicolon caused by a bogus #define). 2000-05-11 17:10:22 +00:00
tools Use a seperate -c and -h mode. The vnode_if.c file is compiled only into 1999-12-12 16:43:05 +00:00
ufs s/ffs_unmonut/ffs_unmount/ in a gratuitous ufs_extattr printf. 2000-05-07 17:21:08 +00:00
vm Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
Makefile Cause modules to build with the kernel build. Modules are removed 2000-05-02 02:26:04 +00:00