NetBSD/sys/kern
jdolecek 18c0643bfb Update the uio resid counts appropriately when any error occurs
(not just EPIPE), so that the higher-level code would note partial
write has happened and DTRT if the write was interrupted due to
e.g. delivery of signal.

This fixes kern/14087 by Frank van der Linden.
Much thanks to Frank for extensive help with debugging this, and review
of the fix.

Note: EPIPE/SIGPIPE delivery behaviour was retained - they're delivered
even if the write was partially successful.
2001-09-29 13:48:11 +00:00
..
Make.tags.inc
Makefile
cnmagic.c
exec_aout.c
exec_conf.c Make the setregs hook emulation-specific, rather than executable 2001-09-18 19:36:32 +00:00
exec_ecoff.c
exec_elf32.c simplify an expression. 2001-07-29 21:24:23 +00:00
exec_elf64.c
exec_elf_common.c
exec_macho.c use be32toh instead of bswap32 2001-07-14 03:05:31 +00:00
exec_script.c In check_exec(), don't bother checking P_TRACED along with 2001-06-15 17:24:19 +00:00
exec_subr.c - add exec_read_from and make exec_elf32 use it. 2001-07-14 02:08:29 +00:00
genassym.awk
genassym.sh Deal with invokers who pass us environment variable settings as part 2001-09-24 00:20:11 +00:00
genlintstub.awk
init_main.c user maps are always pageable. 2001-08-16 01:37:50 +00:00
init_sysent.c Regen; added Linux-compatible clone(2) system call. 2001-07-01 18:07:33 +00:00
kern_acct.c
kern_allocsys.c Defopt CALLWHEEL_STATS. 2001-09-13 05:22:16 +00:00
kern_clock.c Defopt CALLWHEEL_STATS. 2001-09-13 05:22:16 +00:00
kern_descrip.c Unshare the file descriptor table and `cwdinfo' when we exec. 2001-07-18 05:34:37 +00:00
kern_exec.c Make the setregs hook emulation-specific, rather than executable 2001-09-18 19:36:32 +00:00
kern_exit.c Add `WALLSIG' which causes wait4(2) to wait for all processes, regardless 2001-07-18 19:10:26 +00:00
kern_fork.c flags was used uninitialized. 2001-07-07 23:33:54 +00:00
kern_kthread.c
kern_ktrace.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
kern_lkm.c
kern_lock.c print a stack trace in more LOCKDEBUG cases. 2001-09-25 06:13:29 +00:00
kern_malloc.c a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00
kern_malloc_debug.c a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00
kern_ntptime.c Fix issues areound compilation errors (ntv is a pointer in adjtime1 and needs 2001-09-16 09:55:26 +00:00
kern_physio.c a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00
kern_proc.c
kern_prot.c
kern_resource.c
kern_sig.c Unshare signal actions on exec. 2001-07-18 05:34:58 +00:00
kern_subr.c
kern_synch.c in ltsleep(), assert that the interlock is held (if one is given). 2001-09-25 01:38:38 +00:00
kern_sysctl.c resize the namecache hash table also when desiredvnodes changes. 2001-09-24 06:01:13 +00:00
kern_time.c Split root-only time-related system calls so that we have an upper part, that 2001-09-16 06:50:06 +00:00
kern_xxx.c
kgdb_stub.c Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
makesyscalls.sh Fix last commit: It's ">", not "<", in this case. Okay'd by christos. 2001-07-08 19:08:48 +00:00
subr_autoconf.c In-kernel device configuration manager - allows modification 2001-07-01 02:56:20 +00:00
subr_disk.c ANSIfy. 2001-07-09 10:54:12 +00:00
subr_extent.c extent_alloc_subregion shouldn't allocate a region pasts the end of subregion. 2001-08-27 13:35:44 +00:00
subr_log.c
subr_pool.c jump through hoops to avoid calling uvm_km_free_poolpage() while holding 2001-09-26 07:14:56 +00:00
subr_prf.c Check msgbufenabled before referencing msgbufp in panic. Avoids 2001-07-10 20:40:56 +00:00
subr_prof.c
subr_rmap.c
subr_userconf.c bcopy -> memcpy 2001-07-18 06:51:38 +00:00
subr_xxx.c
sys_generic.c If no select collision is needed, try our best to avoid it by clearing 2001-06-28 05:45:49 +00:00
sys_pipe.c Update the uio resid counts appropriately when any error occurs 2001-09-29 13:48:11 +00:00
sys_process.c seperate -> separate 2001-07-22 13:33:58 +00:00
sys_socket.c Use SB_ASYNC in struct sockbuf sb_flags field instead of SS_ASYNC in 2001-06-16 21:29:32 +00:00
syscalls.c Regen; added Linux-compatible clone(2) system call. 2001-07-01 18:07:33 +00:00
syscalls.conf
syscalls.master Linux-compatible clone(2) system call, lifted from the Linux 2001-07-01 18:06:11 +00:00
sysv_ipc.c
sysv_msg.c
sysv_sem.c make local 'nsops' same unsigned type as the value we store there in sys_semop() 2001-08-03 05:58:18 +00:00
sysv_shm.c
tty.c
tty_conf.c bzero -> memset 2001-07-18 06:48:27 +00:00
tty_pty.c
tty_subr.c
tty_tb.c
tty_tty.c
uipc_domain.c
uipc_mbuf.c a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00
uipc_mbuf2.c bcopy -> memcpy 2001-07-18 06:51:38 +00:00
uipc_proto.c
uipc_socket.c soreceive(): do not ignore uiomove() error 2001-09-17 18:59:29 +00:00
uipc_socket2.c Give different names for different wait channels. 2001-08-05 08:25:39 +00:00
uipc_syscalls.c Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
uipc_usrreq.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
vfs_bio.c
vfs_cache.c resize the namecache hash table also when desiredvnodes changes. 2001-09-24 06:01:13 +00:00
vfs_getcwd.c
vfs_init.c
vfs_lockf.c
vfs_lookup.c Set the credentials to be used in the NDINIT macro so that syscalls can 2001-09-08 02:02:04 +00:00
vfs_subr.c In the function getnewvnode: 2001-09-26 00:59:57 +00:00
vfs_syscalls.c Don't trash the ref count of cred. It causes a memory leak. 2001-09-08 15:34:06 +00:00
vfs_vnops.c use shared locks instead of exclusive for VOP_READ() and VOP_READDIR(). 2001-09-21 08:02:55 +00:00
vnode_if.c regen 2001-09-15 20:37:36 +00:00
vnode_if.sh
vnode_if.src a whole bunch of changes to improve performance and robustness under load: 2001-09-15 20:36:31 +00:00