NetBSD/sys/kern
nathanw 11aebbf730 Change the contract for timer_settime() (the internal routine, not the
syscall sys_timer_settime()) to take an absolute value for realtime
timers. This avoids a pair of gratiuitous conversions with the
possibility that the timer's intermediate value would be 0.0, which
would signal timer_settime() to cancel the timer.

Adjust callers of timer_settime() to compensate; catch the case where
sys_timer_settime() with an absolute time value of now and a virtual
timer would also be subtracted down to a timer-cancelling 0.0.

This should fix the bug seen in libpthread's nanosleep() where certain
applications, such as xmms, would wedge with unexpired userlevel
alarms.
2003-03-10 21:49:56 +00:00
..
cnmagic.c
core_elf32.c Tweak some comments so that they match the other comments more properly. 2003-02-25 05:27:35 +00:00
core_elf64.c
core_netbsd.c Merge the nathanw_sa branch. 2003-01-18 10:06:22 +00:00
exec_aout.c Rename __LDPGSZ to AOUT_LDPGSZ, to accurately reflect what it is. 2002-12-10 17:14:02 +00:00
exec_conf.c if emulation uses elf32_copyargs(), it shouldn't use it's own idea 2003-02-19 09:44:42 +00:00
exec_ecoff.c
exec_elf32.c If we are doing TOPDOWN, we want to truncate the address downwards. If not, 2003-03-01 05:55:51 +00:00
exec_elf64.c
exec_elf_common.c add support for __MACHINE_STACK_GROWS_UP platforms. from fredette@ 2002-11-17 22:53:46 +00:00
exec_macho.c Load __OBJC and ____CGSERVER sections of Mach-O binaries as __TEXT. 2002-12-11 19:28:41 +00:00
exec_script.c
exec_subr.c Make elf32 load_file work properly with TOPDOWN by mapping psections in 2003-02-26 21:18:22 +00:00
genassym.awk
genassym.sh support a variant of the "member" keyword where the symbol defined 2002-11-17 19:24:50 +00:00
genlintstub.awk
init_main.c add support for p1003.1b semaphores. From FreeBSD 2003-01-20 20:02:56 +00:00
init_sysent.c regen: 2003-02-15 20:56:48 +00:00
kern_acct.c Merge the nathanw_sa branch. 2003-01-18 10:06:22 +00:00
kern_allocsys.c New callout implementation. This is based on callwheel implementation 2003-02-04 01:21:03 +00:00
kern_clock.c New callout implementation. This is based on callwheel implementation 2003-02-04 01:21:03 +00:00
kern_descrip.c make fdcheckstd f_slock friendly. 2003-03-01 09:19:53 +00:00
kern_event.c Protect the event queue with a simple mutex; this only partially addresses 2003-02-23 22:05:35 +00:00
kern_exec.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
kern_exit.c Get processes execution time before the LWPs state is changed 2003-03-05 11:40:55 +00:00
kern_fork.c Add "fork hooks", a'la "exec hooks" and "exit hooks" which allow 2003-01-24 01:42:52 +00:00
kern_kthread.c Merge the nathanw_sa branch. 2003-01-18 10:06:22 +00:00
kern_ktrace.c Make updating a file's reference and use count MP-safe. 2003-02-23 14:37:32 +00:00
kern_lkm.c Merge the nathanw_sa branch. 2003-01-18 10:06:22 +00:00
kern_lock.c Use lock_printf() in SPINLOCK_SPINCHECK() and SLOCK_TRACE(). 2003-02-19 22:34:42 +00:00
kern_lwp.c Add a KASSERT when copying l1->l_cpu to l2->l_cpu 2003-01-30 05:51:58 +00:00
kern_malloc_debug.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
kern_malloc.c Make the memory allocation code MP-safe. 2003-02-14 21:51:36 +00:00
kern_microtime.c Switch to use cycle counter (%tick) based microtime(). 2003-02-05 12:06:51 +00:00
kern_ntptime.c Merge the nathanw_sa branch. 2003-01-18 10:06:22 +00:00
kern_physio.c Add a new BUF_INIT() macro which initializes b_dep and b_interlock, and 2003-02-25 20:35:31 +00:00
kern_proc.c Fix support of 15 and 16 character lognames. 2003-02-15 18:10:15 +00:00
kern_prot.c Add do_setresuid() and do_setresgid() and implement sys_setuid, sys_seteuid, 2003-03-05 18:42:19 +00:00
kern_ras.c Merge the nathanw_sa branch. 2003-01-18 10:06:22 +00:00
kern_resource.c Apportion execution time evenly between stime and utime when the process 2003-03-05 11:44:01 +00:00
kern_sa.c Fix too many arguments for format warning in #ifdef DIAGNOSTIC part 2003-02-22 12:42:28 +00:00
kern_sig.c When unblocking threads, do not call setrunnable() on the thread we will 2003-03-06 15:31:14 +00:00
kern_subr.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
kern_synch.c ltsleep(): deal with PNOEXITERR after re-taking the interlock (if necessary). 2003-02-04 20:15:59 +00:00
kern_sysctl.c Based on the feedback on wasabisystems.com!bsd-api-discuss (sure wish 2003-03-06 20:32:59 +00:00
kern_systrace.c do not demand LLSLEEP in p_stat; this does not seem to happen with lwps; 2003-02-16 20:24:47 +00:00
kern_time.c Change the contract for timer_settime() (the internal routine, not the 2003-03-10 21:49:56 +00:00
kern_timeout.c Change a printf to an event counter. Callout event counters are conditional 2003-02-26 23:13:19 +00:00
kern_verifiedexec.c * Don't keep evaluating fingerprint if there is no fingerprints for the 2002-11-12 12:54:36 +00:00
kern_xxx.c Merge the nathanw_sa branch. 2003-01-18 10:06:22 +00:00
kgdb_stub.c Merge the nathanw_sa branch. 2003-01-18 10:06:22 +00:00
Make.tags.inc
Makefile
makesyscalls.sh Merge the nathanw_sa branch. 2003-01-18 10:06:22 +00:00
subr_autoconf.c const msgs[] some more 2003-02-09 09:14:58 +00:00
subr_devsw.c in devsw_name2blk(), as we use strncmp(), make sure the next character 2003-02-01 11:12:35 +00:00
subr_disk.c Factor out the COMPAT_16 code. 2002-11-06 02:31:34 +00:00
subr_extent.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
subr_log.c si_ -> sel_ to avoid conflicts with siginfo. 2002-11-26 18:44:34 +00:00
subr_pool.c Use splvm() instead of splhigh() when accessing the internal page header pool. 2003-02-23 21:25:19 +00:00
subr_prf.c Make sure to flush each line after printf. 2003-03-06 00:39:42 +00:00
subr_prof.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
subr_prop.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
subr_userconf.c
subr_xxx.c
sys_generic.c Make updating a file's reference and use count MP-safe. 2003-02-23 14:37:32 +00:00
sys_pipe.c On pipe reads, check for EOF before FNONBLOCK to avoid spurious EAGAIN errors. 2003-02-14 13:16:44 +00:00
sys_pmc.c Make this compile again on i386 by avoiding an unused variable 2003-01-20 01:40:48 +00:00
sys_process.c Adapt to the new conventions of proc_unstop() and don't try to call 2003-02-07 21:44:45 +00:00
sys_socket.c writable, not writeable. 2003-01-06 20:30:28 +00:00
syscalls.c regen: 2003-02-15 20:56:48 +00:00
syscalls.conf
syscalls.master add __sigtimedwait(2) - wait for specified set of signals, with optional 2003-02-15 20:54:38 +00:00
sysv_ipc.c
sysv_msg.c Merge the nathanw_sa branch. 2003-01-18 10:06:22 +00:00
sysv_sem.c Merge the nathanw_sa branch. 2003-01-18 10:06:22 +00:00
sysv_shm.c Introduce "top down" memory management for mmap()ed allocations. This 2003-02-20 22:16:05 +00:00
tty_conf.c /*CONTCOND*/ while (0)'ed macros 2002-11-02 07:20:42 +00:00
tty_pty.c Make the tty subsystem MP-safe.. 2003-02-05 15:49:02 +00:00
tty_subr.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
tty_tb.c
tty_tty.c
tty.c Add a ttyprintf_nolock() to be called when we are printing the ttyinfo 2003-02-17 22:23:14 +00:00
uipc_domain.c Add MBUFTRACE kernel option. 2003-02-26 06:31:08 +00:00
uipc_mbuf2.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
uipc_mbuf.c Add MBUFTRACE kernel option. 2003-02-26 06:31:08 +00:00
uipc_proto.c
uipc_sem.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
uipc_socket2.c Add MBUFTRACE kernel option. 2003-02-26 06:31:08 +00:00
uipc_socket.c Add MBUFTRACE kernel option. 2003-02-26 06:31:08 +00:00
uipc_syscalls.c Remove leftover MBUFTRACE asserts. 2003-02-26 18:22:10 +00:00
uipc_usrreq.c Add MBUFTRACE kernel option. 2003-02-26 06:31:08 +00:00
vfs_bio.c Add a new BUF_INIT() macro which initializes b_dep and b_interlock, and 2003-02-25 20:35:31 +00:00
vfs_cache.c ... and no need to aqcuire lock while free'ing old hash which no one 2003-03-02 13:26:22 +00:00
vfs_getcwd.c Merge the nathanw_sa branch. 2003-01-18 10:06:22 +00:00
vfs_init.c
vfs_lockf.c DANGER WILL ROBINSON! 2003-03-05 18:28:22 +00:00
vfs_lookup.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
vfs_subr.c it appears one list of vnode type names should be enough 2003-02-25 23:35:03 +00:00
vfs_syscalls.c Make updating a file's reference and use count MP-safe. 2003-02-23 14:37:32 +00:00
vfs_vnops.c only pull in/declare veriexec related stuff with VERIFIED_EXEC 2003-03-03 21:25:09 +00:00
vnode_if.c
vnode_if.sh
vnode_if.src