freebsd-skq/sys/kern
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
..
imgact_aout.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
imgact_elf.c We were (I think) missing a vrele() on the vnode for the object loaded 1997-09-21 03:13:21 +00:00
imgact_gzip.c Make gzipped dynamically linked executables work again. There was 1997-12-14 19:36:24 +00:00
imgact_shell.c
inflate.c Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
init_main.c After one of my analysis passes to evaluate methods for SMP TLB mgmt, I 1997-12-14 02:11:23 +00:00
init_sysent.c Remade syscalls.master derived files. 1997-10-26 20:28:54 +00:00
init_sysvec.c
kern_acct.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
kern_clock.c The improvements to clock statistics by Tor Egge 1997-12-08 23:00:24 +00:00
kern_conf.c Staticized. 1997-11-22 08:35:46 +00:00
kern_descrip.c Fix and complete the AIO syscalls. There are some performance enhancements 1997-11-29 01:33:10 +00:00
kern_exec.c Changes to allow event-based process monitoring and control. 1997-12-06 04:11:14 +00:00
kern_exit.c Use at_exit() to invoke procfs_exit() instead of calling it directly. 1997-12-08 01:06:36 +00:00
kern_fork.c We have had support for running the kernel daemons as threads for 1997-12-12 04:00:59 +00:00
kern_intr.c - Hide the 'device doesn't supported shared interrupts' code behind 1997-10-06 04:27:32 +00:00
kern_ktrace.c Don't include <sys/lock.h> in headers when only `struct simplelock' is 1997-12-05 19:55:52 +00:00
kern_linker.c We have had support for running the kernel daemons as threads for 1997-12-12 04:00:59 +00:00
kern_lkm.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
kern_lock.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
kern_lockf.c Don't include <sys/lock.h> in headers when only `struct simplelock' is 1997-12-05 19:55:52 +00:00
kern_malloc.c Some fixes from John Hood: 1997-12-05 05:36:58 +00:00
kern_mib.c kern.maxproc is not writable since there are tables that are statically 1997-10-19 18:45:59 +00:00
kern_module.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
kern_ntptime.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
kern_opt.c
kern_physio.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
kern_proc.c Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
kern_prot.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
kern_random.c Removed unused #includes. 1997-10-28 15:59:26 +00:00
kern_resource.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
kern_shutdown.c Shift a few SYSINT() calls around. 1997-11-25 07:07:48 +00:00
kern_sig.c Changes to allow event-based process monitoring and control. 1997-12-06 04:11:14 +00:00
kern_subr.c Rename "struct kmemstats" to "struct malloc_type" it makes more sense now. 1997-10-10 18:14:23 +00:00
kern_synch.c Shift a few SYSINT() calls around. 1997-11-25 07:07:48 +00:00
kern_sysctl.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
kern_tc.c The improvements to clock statistics by Tor Egge 1997-12-08 23:00:24 +00:00
kern_threads.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
kern_time.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
kern_timeout.c The improvements to clock statistics by Tor Egge 1997-12-08 23:00:24 +00:00
kern_xxx.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
link_aout.c Fixed a sloppy common-style definitions. 1997-11-20 20:07:59 +00:00
Make.tags.inc
Makefile
makesyscalls.sh add process id to tmp files... this prevents two runs from stomping 1997-12-08 09:00:47 +00:00
md5c.c Add const to a couple of casts to silence some of the warnings Bruce 1997-10-21 13:28:36 +00:00
subr_autoconf.c Removed an unused #include. Ifdefed a conditionally used #include. 1997-11-18 12:43:41 +00:00
subr_clist.c Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
subr_disklabel.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
subr_diskmbr.c In all such uses of struct buf: 's/b_un.b_addr/b_data/g' 1997-12-02 21:07:20 +00:00
subr_diskslice.c Use ENOIOCTL instead of -1 (= ERESTART) for diskslice ioctls that are 1997-12-06 14:27:56 +00:00
subr_dkbad.c In all such uses of struct buf: 's/b_un.b_addr/b_data/g' 1997-12-02 21:07:20 +00:00
subr_log.c Removed unused #includes. 1997-10-28 15:59:26 +00:00
subr_param.c
subr_prf.c Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
subr_prof.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
subr_rlist.c Fixed gratuitous ANSIisms. 1997-09-16 11:44:05 +00:00
subr_smp.c Add support for low resolution SMP kernel profiling. 1997-12-15 02:18:35 +00:00
subr_trap.c Changes to allow event-based process monitoring and control. 1997-12-06 04:11:14 +00:00
subr_xxx.c Zap nxselect and noselect. 1997-09-14 02:50:28 +00:00
sys_generic.c Fixed some style bugs in the poll() code. 1997-11-23 10:30:50 +00:00
sys_pipe.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
sys_process.c Changes to allow event-based process monitoring and control. 1997-12-06 04:11:14 +00:00
sys_socket.c Various select -> poll changes 1997-09-14 02:52:18 +00:00
syscalls.c Remade syscalls.master derived files. 1997-10-26 20:28:54 +00:00
syscalls.master Add "NOIMPL" for syscalls we know what is, but don't implement as "STD". 1997-10-26 20:27:51 +00:00
sysv_ipc.c Removed an unused #include. Added an unsed #include of <sys/ucred.h> 1997-11-18 12:52:10 +00:00
sysv_msg.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
sysv_sem.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
sysv_shm.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
tty_compat.c Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are 1997-12-06 13:25:01 +00:00
tty_conf.c Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are 1997-12-06 13:25:01 +00:00
tty_cons.c Update select -> poll in drivers. 1997-09-14 03:19:42 +00:00
tty_pty.c Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are 1997-12-06 13:25:01 +00:00
tty_snoop.c Removed unused #includes. Ifdefed a conditionally used #include. 1997-11-18 16:12:51 +00:00
tty_subr.c Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
tty_tb.c
tty_tty.c Don't include <sys/lock.h> in headers when only `struct simplelock' is 1997-12-05 19:55:52 +00:00
tty.c Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are 1997-12-06 13:25:01 +00:00
uipc_domain.c Fixed gratuitous ANSIisms. 1997-09-16 11:44:05 +00:00
uipc_mbuf.c Removed unused #includes. 1997-10-28 15:59:26 +00:00
uipc_proto.c
uipc_sockbuf.c Removed trailing semicolons from the definitions of the sysctl 1997-09-07 16:53:52 +00:00
uipc_socket2.c Removed trailing semicolons from the definitions of the sysctl 1997-09-07 16:53:52 +00:00
uipc_socket.c MF22: MSG_EOR bug fix. 1997-11-09 05:07:40 +00:00
uipc_syscalls.c Consult sa_len before trampling it with MSG_COMPAT set. 1997-12-15 02:29:11 +00:00
uipc_usrreq.c Fixed duplicate definitions of M_FILE (one static). 1997-11-23 10:43:49 +00:00
vfs_aio.c Quiet some lint. 1997-12-10 04:14:23 +00:00
vfs_bio.c Slight performance improvement, removal of unneeded SPLs. 1997-12-07 04:06:41 +00:00
vfs_cache.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
vfs_cluster.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
vfs_conf.c Cleanup my last patch here 1997-12-01 11:34:41 +00:00
vfs_default.c Add support for poll(2) on files. vop_nopoll() now returns POLLNVAL 1997-12-15 03:09:59 +00:00
vfs_export.c Add support for poll(2) on files. vop_nopoll() now returns POLLNVAL 1997-12-15 03:09:59 +00:00
vfs_extattr.c Cleaned up __getcwd(). This should be cosmetic except disabled calls 1997-12-02 10:32:21 +00:00
vfs_init.c Simplify the lease_check stuff. 1997-10-26 20:26:33 +00:00
vfs_lookup.c Change the M_NAMEI allocations to use the zone allocator. This change 1997-09-21 04:24:27 +00:00
vfs_mount.c Cleanup my last patch here 1997-12-01 11:34:41 +00:00
vfs_subr.c Add support for poll(2) on files. vop_nopoll() now returns POLLNVAL 1997-12-15 03:09:59 +00:00
vfs_syscalls.c Cleaned up __getcwd(). This should be cosmetic except disabled calls 1997-12-02 10:32:21 +00:00
vfs_vnops.c Changes to allow event-based process monitoring and control. 1997-12-06 04:11:14 +00:00
vnode_if.pl Removed unused #includes. 1997-10-28 15:59:26 +00:00
vnode_if.sh Removed unused #includes. 1997-10-28 15:59:26 +00:00
vnode_if.src Another VFS cleanup "kilo commit" 1997-10-16 20:32:40 +00:00