freebsd-skq/sys/kern
Bruce Evans bb65f5a1cc Fixed lseek() on named pipes. It always succeeded but should always fail.
Broke locking on named pipes in the same way as locking on non-vnodes
(wrong errno).  This will be fixed later.

The fix involves negative logic.  Named pipes are now distinguished from
other types of files with vnodes, and there is additional code to handle
vnodes and named pipes in the same way only where that makes sense (not
for lseek, locking or TIOCSCTTY).
1996-12-19 19:42:37 +00:00
..
imgact_aout.c Fixed the easy cases of const poisoning in the kernel. Cosmetic. 1996-08-31 16:52:44 +00:00
imgact_elf.c Added a missing break, so all static bins would be missed :( 1996-10-24 19:13:00 +00:00
imgact_gzip.c Fixed the easy cases of const poisoning in the kernel. Cosmetic. 1996-08-31 16:52:44 +00:00
imgact_shell.c Fixed the easy cases of const poisoning in the kernel. Cosmetic. 1996-08-31 16:52:44 +00:00
inflate.c Removed unnecessary #includes of vm stuff. Most of them were once 1995-12-06 23:37:44 +00:00
init_main.c Typo fix. 1996-12-17 00:46:07 +00:00
init_sysent.c Add the utrace(caddr_t addr,size_t len) syscall, that will store the 1996-09-19 19:49:13 +00:00
init_sysvec.c Clean-up the new VM map procfs code, and also add support for executable 1996-06-18 05:16:00 +00:00
kern_acct.c Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 20:02:06 +00:00
kern_clock.c Improved biasing of i586 clock by adjusting for hardclock() latency. 1996-10-25 13:01:56 +00:00
kern_conf.c Fixed a null pointer panic in ADDENTRY(). Unloading the lkm and joy 1996-12-06 12:47:05 +00:00
kern_descrip.c Fixed lseek() on named pipes. It always succeeded but should always fail. 1996-12-19 19:42:37 +00:00
kern_exec.c Fix an ordering bug -- pmap_remove_pages should be called BEFORE 1996-11-09 03:54:25 +00:00
kern_exit.c Performance optimizations. One of which was meant to go in before the 1996-10-12 21:35:25 +00:00
kern_fork.c Move static variable nextpid out from fork1(). Now top(1) can print 1996-10-27 13:29:22 +00:00
kern_ktrace.c Remove the extra length field from the utrace entries. It's redundant. 1996-09-22 18:17:51 +00:00
kern_lkm.c `struct linker_set execsw_set' was declared as const and pointers in it 1996-09-03 22:52:27 +00:00
kern_lockf.c Fixed arg checking in if_advlock(). Invalid args were accepted in an 1996-12-19 13:22:30 +00:00
kern_malloc.c The check for multiple freed items were bogus. fixed. 1996-08-04 20:08:48 +00:00
kern_mib.c Oops, read-only is spelled RD here. 1996-09-28 15:53:30 +00:00
kern_ntptime.c Removed unnecessary #includes of vm stuff. Most of them were once 1995-12-06 23:37:44 +00:00
kern_physio.c Fix a problem that caused system crashes after physio. This problem 1996-06-26 05:52:15 +00:00
kern_proc.c Attached simple external ddb commands show rtc', show pgrpdump' 1996-09-14 10:53:48 +00:00
kern_prot.c Fixed setpgid(). Negative pgids were accepted. 1996-12-19 13:28:47 +00:00
kern_random.c More merge and update. 1996-10-30 22:41:46 +00:00
kern_resource.c Fixed accumulation of run time for processes that don't accumulate 1996-06-08 11:48:28 +00:00
kern_shutdown.c Further improved version of hadling a HALT when there is no console. 1996-10-31 00:57:28 +00:00
kern_sig.c Fixed sigaction() for SIGKILL and SIGSTOP. Reading the old action now 1996-11-29 18:01:55 +00:00
kern_subr.c Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 20:02:06 +00:00
kern_synch.c Make processes waken up eligible for immediate swap-in. 1996-10-17 02:58:20 +00:00
kern_sysctl.c Fixed garbage being returned for constant int values, e.g., for 1996-12-15 14:38:46 +00:00
kern_tc.c Improved biasing of i586 clock by adjusting for hardclock() latency. 1996-10-25 13:01:56 +00:00
kern_time.c if we jump the time, we need to check all the process real interval timers. 1996-09-30 19:28:52 +00:00
kern_timeout.c Improved biasing of i586 clock by adjusting for hardclock() latency. 1996-10-25 13:01:56 +00:00
kern_xxx.c Collect all the functioons concerned with rebooting into one place 1996-08-19 20:07:07 +00:00
Make.tags.inc Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 20:02:06 +00:00
Makefile Remove bogus architectures to allow make tags to work. 1996-03-31 18:53:43 +00:00
makesyscalls.sh Don't use __dead in the kernel. It was an obfuscation for gcc >= 2.5 1996-09-13 09:20:15 +00:00
md5c.c close bin/1648 libmd not 64bit safe. 1996-10-22 16:27:47 +00:00
subr_autoconf.c Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 20:02:06 +00:00
subr_clist.c Attached simple external ddb commands show rtc', show pgrpdump' 1996-09-14 10:53:48 +00:00
subr_disklabel.c Removed all references to b_cylinder (aka b_cylin). It was evil and 1996-12-01 16:34:41 +00:00
subr_diskmbr.c Don't clobber max_ncyls, ending up guessing thetotal number of cylinders as 1996-11-04 17:40:43 +00:00
subr_diskslice.c Removed all references to b_cylinder (aka b_cylin). It was evil and 1996-12-01 16:34:41 +00:00
subr_dkbad.c Don't include <sys/conf.h> for the kernel in disk-related headers. 1996-09-20 17:39:44 +00:00
subr_log.c Quiet a couple of -Wunused warnings. 1996-07-09 16:51:18 +00:00
subr_param.c Add an option "EXTRA_VNODES" to cause an extra number of vnode structures 1996-05-31 00:20:34 +00:00
subr_prf.c Fixed the easy cases of const poisoning in the kernel. Cosmetic. 1996-08-31 16:52:44 +00:00
subr_prof.c Fixed magic and wrong numbers in calibration of nullfunc_loop_profiled() 1996-12-13 12:59:28 +00:00
subr_rlist.c Undo a mistaken change from splhigh to splvm. Subr_rlist has been 1996-10-12 21:37:59 +00:00
subr_trap.c Only handle copyin/out/etc faults when not in an interrupt handler. 1996-12-18 19:12:01 +00:00
subr_xxx.c Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 20:02:06 +00:00
sys_generic.c Fix a minor style error in my code. 1996-08-20 15:03:41 +00:00
sys_pipe.c Mostly some fixes from bde to start support for ASYNC I/O (SIGIO). 1996-10-11 02:27:30 +00:00
sys_process.c Remove the now-unnecessary and incorrect wiring of the "other" processes 1996-06-02 06:24:27 +00:00
sys_socket.c Modify the kernel to use the new pr_usrreqs interface rather than the old 1996-07-11 16:32:50 +00:00
syscalls.c Add the utrace(caddr_t addr,size_t len) syscall, that will store the 1996-09-19 19:49:13 +00:00
syscalls.master Add the utrace(caddr_t addr,size_t len) syscall, that will store the 1996-09-19 19:49:13 +00:00
sysv_ipc.c kern_descrip.c: add fdshare()/fdcopy() 1996-02-23 18:49:25 +00:00
sysv_msg.c Don't depend in the kernel on the gcc feature of doing arithmetic on 1996-08-31 14:48:13 +00:00
sysv_sem.c Clean up -Wunused warnings. 1996-06-12 05:11:41 +00:00
sysv_shm.c Fix a problem with child inheritance of sysv shm. Problem brought 1996-09-10 22:35:25 +00:00
tty_compat.c Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 20:02:06 +00:00
tty_conf.c Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 20:02:06 +00:00
tty_cons.c if there is no console, cngetc should act like getc and return -1 1996-10-30 21:40:25 +00:00
tty_pty.c Clean up -Wunused warnings. 1996-06-12 05:11:41 +00:00
tty_snoop.c Switched from using devfs_add_devsw() to devfs_add_devswf() 1996-03-28 14:31:42 +00:00
tty_subr.c Attached simple external ddb commands show rtc', show pgrpdump' 1996-09-14 10:53:48 +00:00
tty_tb.c Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 20:02:06 +00:00
tty_tty.c Switched from using devfs_add_devsw() to devfs_add_devswf() 1996-03-28 14:31:42 +00:00
tty.c Help broken d_stop() routines by flushing the output queue before 1996-11-29 16:16:47 +00:00
uipc_domain.c Modify the kernel to use the new pr_usrreqs interface rather than the old 1996-07-11 16:32:50 +00:00
uipc_mbuf.c fix handling of external objects referenced by mbufs 1996-08-19 03:32:10 +00:00
uipc_proto.c Clean up various compiler warnings. Most (if not all) were benign 1996-05-08 04:29:08 +00:00
uipc_sockbuf.c Add the IP_RECVIF socket option, which supplies a packet's incoming interface 1996-11-11 04:56:32 +00:00
uipc_socket2.c Add the IP_RECVIF socket option, which supplies a packet's incoming interface 1996-11-11 04:56:32 +00:00
uipc_socket.c Check for error return from uiomove to prevent looping endlessly in 1996-11-29 19:03:42 +00:00
uipc_syscalls.c Preserve file flags in accept(2). 1996-10-15 19:28:44 +00:00
uipc_usrreq.c Add comments to hard-to-follow File descriptor handling code 1996-12-05 22:41:13 +00:00
vfs_bio.c Clean-up of the new buffer kva allocation code. Also, there was an 1996-12-05 04:28:52 +00:00
vfs_cache.c Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 20:02:06 +00:00
vfs_cluster.c Implement a new totally dynamic (up to MAXPHYS) buffer kva allocation 1996-11-30 22:41:49 +00:00
vfs_conf.c Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 20:02:06 +00:00
vfs_export.c Restored writability of kern.maxvnodes. It was broken a year ago in 1996-11-12 09:24:31 +00:00
vfs_extattr.c Fixed lseek() on named pipes. It always succeeded but should always fail. 1996-12-19 19:42:37 +00:00
vfs_init.c Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 20:02:06 +00:00
vfs_lookup.c Don't allow empty pathnames. POSIX standard. 1996-12-01 16:05:44 +00:00
vfs_mount.c Finished (?) cleaning up sysinit stuff. 1995-12-02 17:11:20 +00:00
vfs_subr.c Restored writability of kern.maxvnodes. It was broken a year ago in 1996-11-12 09:24:31 +00:00
vfs_syscalls.c Fixed lseek() on named pipes. It always succeeded but should always fail. 1996-12-19 19:42:37 +00:00
vfs_vnops.c Even though this looks like it, this is not a complex code change. 1996-08-21 21:56:23 +00:00
vnode_if.pl Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
vnode_if.sh Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 20:02:06 +00:00
vnode_if.src Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 20:02:06 +00:00