NetBSD/sys/kern
pk 37d77087e8 Check `b_dev' field in bdwrite() before using it as an index into bdevsw[].
`b_dev' value of NODEV happens and is normal if the buffer is on its way
to the underlying device strategy function for the first time.

Also, MFS sillily uses a major device number (255) which cannot be used
to index bdevsw[]. Check marked with XXXs.
1997-07-08 22:03:30 +00:00
..
Make.tags.inc Ancient...needed a slight amount of fixing. 1997-05-04 01:54:24 +00:00
Makefile Do not build vnode_if.[ch] for each kernel. Build them once, like the 1996-02-29 20:54:58 +00:00
exec_aout.c fix some typos and clean up some comments. 1996-09-26 23:34:46 +00:00
exec_conf.c allow a.out executable support to be optional (conditioned on EXEC_AOUT), 1996-10-02 05:29:29 +00:00
exec_ecoff.c clean up a comment (in code derived from the a.out code, where i cleaned 1996-09-27 03:38:27 +00:00
exec_elf32.c Pass the vnode type to vaccess(), and use it when checking VEXEC. Make sure 1997-05-08 16:19:43 +00:00
exec_elf64.c add support and reorganize for 64-bit ELF, included by EXEC_ELF64 1996-09-26 20:51:03 +00:00
exec_elf_common.c don't include <machine/exec.h> explicitly. No other changes needed, since 1996-10-07 21:43:02 +00:00
exec_script.c Make this work for SETUIDSCRIPTS: 1997-07-08 02:32:02 +00:00
exec_subr.c exec vnode locking protocol changes: in a nutshell, don't keep vnodes 1996-09-30 23:18:43 +00:00
genassym.awk This little awk program translates the initialized data table found 1997-02-03 21:31:17 +00:00
genassym.sh Add "struct", "member", and "export" keywords, per PR #3555, from 1997-06-25 03:09:06 +00:00
init_main.c Call cpu_dumpconf() after cpu_rootconf(). 1997-06-14 04:18:34 +00:00
init_sysent.c regenerate. 1997-06-12 22:07:47 +00:00
kern_acct.c First pass at prototyping 1996-02-04 02:15:01 +00:00
kern_clock.c Moved db_show_callout() to ddb/db_xxx.c 1997-05-21 19:55:45 +00:00
kern_descrip.c Like in F_SETLK, check if F_GETLK is actually called with a 1997-04-02 18:22:32 +00:00
kern_exec.c Pass the vnode type to vaccess(), and use it when checking VEXEC. Make sure 1997-05-08 16:19:43 +00:00
kern_exit.c Delay turning off P_TRACED until the process is actually waited on. It can't 1997-04-28 13:17:05 +00:00
kern_fork.c Remove __FORK_BRAINDAMAGEd code; it's no longer needed. 1997-06-19 20:54:15 +00:00
kern_ktrace.c More proto fixes 1996-02-09 18:59:18 +00:00
kern_lkm.c Prototype lkmdispatch() in <sys/lkm.h>; all LKMs use it. 1997-05-28 02:44:55 +00:00
kern_lock.c There appear to be spinlock bugs in the VM code. They are not a problem 1997-07-06 22:51:59 +00:00
kern_malloc.c KMEMSTATS is a header option; pull in "opt_kmemstats.h". 1997-02-02 21:22:16 +00:00
kern_ntptime.c ntp_gettime()'s argument is a struct ntptimeval *, not a struct timex * 1996-12-22 06:23:38 +00:00
kern_physio.c Use PHOLD() and PRELE(), rather than manipulating p_holdcnt directly. 1997-05-19 10:43:28 +00:00
kern_proc.c Moved db_kill_proc() and db_show_all_procs() to ddb/db_xxx.c 1997-05-21 19:56:50 +00:00
kern_prot.c Nuke the old COMPAT_09 truncation of UIDs, GIDs, process and process group IDs. 1997-04-23 18:59:53 +00:00
kern_resource.c * catch up with system call argument type fixups/const poisoning. 1996-12-22 10:21:06 +00:00
kern_sig.c Reinstate P_FSTRACE, with different semantics: 1997-04-28 04:49:27 +00:00
kern_subr.c Fix a slight botch in dumpdev configuration logic in the RB_ASKNAME 1997-06-16 00:25:05 +00:00
kern_synch.c Moved db_show_all_procs() to kern_proc.c 1997-05-07 18:49:10 +00:00
kern_sysctl.c Add HW_MACHINE_ARCH for the new sysctl hw.machine_arch which contains the 1997-06-06 23:14:36 +00:00
kern_time.c Don't allow the time to be set backwards if in highly secure mode, since this would allow inode change times to be manipulated. 1997-04-26 21:22:57 +00:00
kern_xxx.c Renames: /dumpconf/cpu_dumpconf/, /boot/cpu_reboot/ 1997-03-26 22:42:13 +00:00
kgdb_stub.c New ARP system, supports IPv4 over any hardware link. 1997-03-15 18:09:08 +00:00
makesyscalls.sh * Don't actually output args structure definitions for INDIR syscalls (typo). 1996-12-22 06:45:14 +00:00
subr_autoconf.c Call device_register() if __alpha__ || hp300 1996-12-17 08:59:15 +00:00
subr_disk.c removed #ifdef tahoe 1996-10-17 16:31:54 +00:00
subr_extent.c Fix two boundary/overflow errors in extent_alloc_subregion(): 1997-05-12 23:36:32 +00:00
subr_log.c Implement poll(2). 1996-09-07 12:40:22 +00:00
subr_prf.c Avoid running off the end of the format string if the caller botched 1997-06-26 05:17:45 +00:00
subr_prof.c As discussed, replace KERNBASE with kernel_text. 1996-12-18 20:12:58 +00:00
subr_rmap.c backout previous kprintf change 1996-10-13 02:32:29 +00:00
subr_xxx.c First pass at prototyping 1996-02-04 02:15:01 +00:00
sys_generic.c in pollscan, cast incoming fd to unsigned int. from mycroft. 1997-02-23 02:23:07 +00:00
sys_process.c Reinstate P_FSTRACE, with different semantics: 1997-04-28 04:49:27 +00:00
sys_socket.c Implement poll(2). 1996-09-07 12:40:22 +00:00
syscalls.c regenerate. 1997-06-12 22:07:47 +00:00
syscalls.conf Change reboot(2) to take two arguments: bootopt like normal and also 1996-08-09 10:30:23 +00:00
syscalls.master swapon back to compat_12 syscall.. 1997-06-12 22:05:37 +00:00
sysv_ipc.c Don't use vaccess() here. 1997-05-08 17:16:15 +00:00
sysv_msg.c backout previous kprintf change 1996-10-13 02:32:29 +00:00
sysv_sem.c backout previous kprintf change 1996-10-13 02:32:29 +00:00
sysv_shm.c Calling shmdt(2) before calling shmat(2) would crash the system because 1996-09-01 22:53:06 +00:00
tty.c Add some robustness to ttymodem(), e.g. do not SIGHUP when there hasn't been 1997-06-20 10:50:11 +00:00
tty_conf.c It's STRIPDISC, not STRIPIPDISC. 1997-04-03 00:54:19 +00:00
tty_pty.c Implement poll(2). 1996-09-07 12:40:22 +00:00
tty_subr.c remove duplicate prototypes from tty_subr.c (ndqb, putc, b_to_q), and 1996-10-25 21:20:29 +00:00
tty_tb.c First pass at prototyping 1996-02-04 02:15:01 +00:00
tty_tty.c Implement poll(2). 1996-09-07 12:40:22 +00:00
uipc_domain.c Add netatalk domain. 1997-04-04 14:22:21 +00:00
uipc_mbuf.c Get `canwait' argument to kmem_malloc() right. 1997-06-06 10:51:49 +00:00
uipc_proto.c uipc_proto.c: No need for the forward decls anymore; everything is prototyped. 1996-02-13 21:10:43 +00:00
uipc_socket.c In sosetopt(): 1997-06-24 20:04:45 +00:00
uipc_socket2.c In sbappendaddr(), if the sockaddr length is larger than will fit in 1997-06-26 05:56:38 +00:00
uipc_syscalls.c Use UCHAR_MAX rather than "255" when sanity-checking the length of a 1997-06-26 06:13:36 +00:00
uipc_usrreq.c Several small changes to eliminate kludginess in dealing with unix domain 1997-06-26 06:06:40 +00:00
vfs_bio.c Check `b_dev' field in bdwrite() before using it as an index into bdevsw[]. 1997-07-08 22:03:30 +00:00
vfs_cache.c First pass at prototyping 1996-02-04 02:17:43 +00:00
vfs_cluster.c backout previous kprintf change 1996-10-13 02:32:29 +00:00
vfs_conf.c Support ext2fs. 1997-06-11 10:40:16 +00:00
vfs_init.c backout previous kprintf change 1996-10-13 02:32:29 +00:00
vfs_lockf.c make it compile with -DLOCKF_DEBUG 1997-04-10 23:46:18 +00:00
vfs_lookup.c Snapshot of namei() cleanup: 1997-05-08 14:55:22 +00:00
vfs_subr.c Add functions to set/reset the info about the publicly exported 1997-06-24 23:43:33 +00:00
vfs_syscalls.c Invalidate publicly exported FS info when unmounting it locally. 1997-06-24 23:44:57 +00:00
vfs_vnops.c Do not return generation counts to the user. 1997-03-24 21:44:53 +00:00
vnode_if.c update for new vnode_if.sh 1997-07-07 20:19:54 +00:00
vnode_if.sh mark prototypes for static inline functions in the generated files as 1997-07-07 20:17:36 +00:00
vnode_if.src Implement poll(2). 1996-09-07 12:40:22 +00:00