freebsd-dev/sys/kern
David Greenman 6cde7a165f Fixed two potentially serious classes of bugs:
1) The vnode pager wasn't properly tracking the file size due to
   "size" being page rounded in some cases and not in others.
   This sometimes resulted in corrupted files. First noticed by
   Terry Lambert.
   Fixed by changing the "size" pager_alloc parameter to be a 64bit
   byte value (as opposed to a 32bit page index) and changing the
   pagers and their callers to deal with this properly.
2) Fixed a bogus type cast in round_page() and trunc_page() that
   caused some 64bit offsets and sizes to be scrambled. Removing
   the cast required adding casts at a few dozen callers.
   There may be problems with other bogus casts in close-by
   macros. A quick check seemed to indicate that those were okay,
   however.
1998-10-13 08:24:45 +00:00
..
bus_if.m Document BUS_CREATE_INTR and BUS_CONNECT_INTR. 1998-09-16 08:25:56 +00:00
device_if.m
imgact_aout.c Add provisions for variant core dump file formats, depending on the 1998-09-14 05:36:51 +00:00
imgact_elf.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
imgact_gzip.c Cast u_longs to uintptr_t before casting them to pointers. Don't 1998-07-15 05:00:26 +00:00
imgact_shell.c
inflate.c
init_main.c Implement merging SYSINIT's from preloaded KLD modules. This means we 1998-10-09 23:42:47 +00:00
init_sysent.c Regnerate. 1998-08-24 08:32:19 +00:00
kern_acct.c
kern_clock.c Cast the return value of tvtohz() from a long to an int to satisfy the 1998-10-06 23:17:44 +00:00
kern_conf.c
kern_descrip.c Fixed printf format errors. 1998-07-29 17:38:14 +00:00
kern_environment.c Don't try to initialise the environment out of a sysinit, it's handled 1998-10-09 21:21:34 +00:00
kern_exec.c Cosmetic changes to the PAGE_XXX macros to make them consistent with 1998-09-04 08:06:57 +00:00
kern_exit.c
kern_fork.c
kern_intr.c Start using the new SWI registration system instead of hardwiring everything. 1998-09-26 14:25:32 +00:00
kern_ktrace.c
kern_linker.c Display module type as well as module name when we find one preloaded. 1998-10-10 02:29:07 +00:00
kern_lkm.c Made unloading of the nfs LKM sort of work. This is mainly to test 1998-09-07 05:42:15 +00:00
kern_lock.c
kern_lockf.c Fixed printf format errors. 1998-07-29 17:38:14 +00:00
kern_malloc.c Use [u]intptr_t instead of [u_]long for casts between pointers and 1998-08-16 01:21:52 +00:00
kern_mib.c - hw.machine_arch returns cpu architecture type. 1998-08-31 08:41:58 +00:00
kern_module.c Keep track of the containing file for modules. This is a bit of a hack, 1998-10-10 00:03:07 +00:00
kern_ntptime.c
kern_physio.c Make struct buf->b_offset reflect the real byte offset which got 1998-08-19 10:50:32 +00:00
kern_proc.c Fixed printf format errors. 1998-07-11 07:46:16 +00:00
kern_prot.c
kern_random.c
kern_resource.c Fixed double counting of runtime after a process exits. The last 1998-07-27 19:16:21 +00:00
kern_shutdown.c Fix precedence bug, so that kernel dump works. 1998-09-20 16:50:31 +00:00
kern_sig.c Remove includes that are no longer needed, now that the core dumping 1998-09-14 23:25:18 +00:00
kern_subr.c remove nonsense code. 1998-08-04 09:21:04 +00:00
kern_synch.c priority comparison in maybe_resched() didn't work properly if current 1998-08-26 05:27:42 +00:00
kern_sysctl.c Ignore the statically configured vfs type numbers and assign vfs 1998-09-05 17:13:28 +00:00
kern_tc.c Cast the return value of tvtohz() from a long to an int to satisfy the 1998-10-06 23:17:44 +00:00
kern_threads.c
kern_time.c
kern_timeout.c
kern_xxx.c Change various syscalls to use size_t arguments instead of u_int. 1998-08-24 08:39:39 +00:00
ksched.c
link_aout.c Updates for KLD backends. 1998-10-09 23:49:28 +00:00
link_elf_obj.c Only print kernel entry point during load. 1998-10-12 09:13:50 +00:00
link_elf.c Only print kernel entry point during load. 1998-10-12 09:13:50 +00:00
Make.tags.inc
makedevops.sh
Makefile
makesyscalls.sh
md5c.c
p1003_1b.c
posix4_mib.c
subr_autoconf.c
subr_bus.c Don't call DEVICE_DETACH directly, always go through the device_detach() 1998-10-03 08:55:29 +00:00
subr_clist.c Cast pointers to uintptr_t/intptr_t instead of to u_long/long, 1998-07-15 02:32:35 +00:00
subr_devstat.c Make the printf when busy_time < 0 a little more descriptive. This may 1998-10-06 04:16:07 +00:00
subr_disklabel.c When a buffer is removed from a buffer queue, remember it's block number 1998-09-15 08:55:03 +00:00
subr_diskmbr.c The machine dependent disk slice manager does not recognize 1998-08-10 07:22:14 +00:00
subr_diskslice.c remove bdevsw arg from dsopen(); 1998-08-23 20:16:35 +00:00
subr_dkbad.c
subr_log.c
subr_module.c Relocate a few extra addresses that are stored as physical addresses via 1998-10-12 09:03:48 +00:00
subr_param.c Moved definition of fscale from param.c to kern_synch.c where it 1998-07-11 13:06:41 +00:00
subr_prf.c Store formatted panic string in static buffer to make it available later 1998-09-06 06:25:18 +00:00
subr_prof.c Fixed bogotification of pseudocode for syscall args by rev.1.53 of 1998-09-05 14:30:11 +00:00
subr_rlist.c Move assignment of cur_rlp to after the acquisition of the list lock. 1998-08-05 14:06:04 +00:00
subr_smp.c mp_machdep.c: Set a vector to boot code (PC-98). 1998-10-10 13:37:16 +00:00
subr_trap.c Fixed printf format errors. 1998-08-23 10:16:26 +00:00
subr_xxx.c Moved `nx' functions to the one place where they are used (su.c). 1998-08-20 06:10:42 +00:00
sys_generic.c Fixed bogotification of pseudocode for syscall args by rev.1.53 of 1998-09-05 14:30:11 +00:00
sys_pipe.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
sys_process.c Only access an int for READU/WRITEU since that is what ptrace is declared to 1998-07-29 18:41:30 +00:00
sys_socket.c
syscalls.c Regnerate. 1998-08-24 08:32:19 +00:00
syscalls.master Fix a few syscall arguments to use size_t instead of u_int. 1998-08-24 08:29:52 +00:00
sysv_ipc.c
sysv_msg.c
sysv_sem.c
sysv_shm.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
tty_compat.c
tty_conf.c
tty_cons.c Added D_TTY to the cdevswitch flags for all tty drivers. This is required 1998-08-23 08:26:42 +00:00
tty_pty.c Added D_TTY to the cdevswitch flags for all tty drivers. This is required 1998-08-23 08:26:42 +00:00
tty_snoop.c
tty_subr.c Cast pointers to uintptr_t/intptr_t instead of to u_long/long, 1998-07-15 02:32:35 +00:00
tty_tb.c
tty_tty.c Added D_TTY to the cdevswitch flags for all tty drivers. This is required 1998-08-23 08:26:42 +00:00
tty.c A limit of 200000 for the output buffer high watermark was excessive, 1998-08-19 04:01:00 +00:00
uipc_domain.c
uipc_mbuf.c Only call m_reclaim() if M_WAIT since calling it from an interrupt can 1998-07-27 03:59:48 +00:00
uipc_proto.c Yow! Completely change the way socket options are handled, eliminating 1998-08-23 03:07:17 +00:00
uipc_sockbuf.c Fixed recently perpetrated printf format errors. 1998-09-05 13:24:39 +00:00
uipc_socket2.c Fixed recently perpetrated printf format errors. 1998-09-05 13:24:39 +00:00
uipc_socket.c Bow to tradition and correctly implement the bogus-but-hallowed semantics 1998-08-31 18:07:23 +00:00
uipc_syscalls.c Yow! Completely change the way socket options are handled, eliminating 1998-08-23 03:07:17 +00:00
uipc_usrreq.c Cast pointers to uintptr_t/intptr_t instead of to u_long/long, 1998-07-15 02:32:35 +00:00
vfs_aio.c Fixed nonsense overflow checking (checking that a long variable is less 1998-08-17 17:28:10 +00:00
vfs_bio.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vfs_cache.c Don't use CTL_VFS at the wrong level. This caused loops in the sysctl 1998-09-09 07:41:41 +00:00
vfs_cluster.c Cosmetic changes to the PAGE_XXX macros to make them consistent with 1998-09-04 08:06:57 +00:00
vfs_conf.c Remove the SLICE code. 1998-09-14 19:56:42 +00:00
vfs_default.c
vfs_export.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vfs_extattr.c Eliminate a race in VOP_FSYNC() when softupdates is enabled. 1998-09-24 15:02:46 +00:00
vfs_init.c Taking the GENERIC kernel and commenting out MSDOSFS, CD9660{,_ROOT}, PROCFS, 1998-10-05 11:10:55 +00:00
vfs_lookup.c
vfs_mount.c Remove the SLICE code. 1998-09-14 19:56:42 +00:00
vfs_subr.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vfs_syscalls.c Eliminate a race in VOP_FSYNC() when softupdates is enabled. 1998-09-24 15:02:46 +00:00
vfs_vnops.c
vnode_if.pl
vnode_if.sh
vnode_if.src Add a new vnode op, VOP_FREEBLKS(), which filesystems can use to inform 1998-09-05 14:13:12 +00:00