freebsd-dev/sys/miscfs
Garrett Wollman 1cbbd625cc Add support for poll(2) on files. vop_nopoll() now returns POLLNVAL
if one of the new poll types is requested; hopefully this will not break
any existing code.  (This is done so that programs have a dependable
way of determining whether a filesystem supports the extended poll types
or not.)

The new poll types added are:

	POLLWRITE - file contents may have been modified
	POLLNLINK - file was linked, unlinked, or renamed
	POLLATTRIB - file's attributes may have been changed
	POLLEXTEND - file was extended

Note that the internal operation of poll() means that it is impossible
for two processes to reliably poll for the same event (this could
be fixed but may not be worth it), so it is not possible to rewrite
`tail -f' to use poll at this time.
1997-12-15 03:09:59 +00:00
..
deadfs Add support for poll(2) on files. vop_nopoll() now returns POLLNVAL 1997-12-15 03:09:59 +00:00
devfs Don't include <sys/lock.h> in headers when only `struct simplelock' is 1997-12-05 19:55:52 +00:00
fdesc Removed unused #includes. The need for most of them went away with 1997-10-27 13:33:47 +00:00
fifofs Fixed EOF handing. 1997-12-13 13:49:59 +00:00
kernfs Removed unused #includes. The need for most of them went away with 1997-10-27 13:33:47 +00:00
nullfs Fix the file leak bug. The lower layer wasn't informed the vnode was inactive 1997-10-21 21:01:34 +00:00
portal Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
procfs Change the ioctls for procfs around a bit; in particular, whever possible, 1997-12-13 03:13:49 +00:00
specfs Removed unused #includes. The need for most of them went away with 1997-10-27 13:33:47 +00:00
umapfs Fix the same leak as in nullfs. Now the lowervp is properly marked inactive. 1997-10-21 21:08:17 +00:00
union Staticize. 1997-11-18 15:07:35 +00:00