NetBSD/sys/kern
drochner cc068f7930 fix and cleanup for tvtohz():
-assume (KASSERT) that the timeval given is normalized, and remove
 some partial fixup which I don't see what it is good for
 (I'm ready to back that out if someone tells a reason)
-catch overflows due to conversion of time_t (from tv_sec) to
 integer -- this function doesn't do 64-bit arithmetics (which makes
 sense because relative times which don't fit into 32 bits can be
 considered nonsense here), and before a huge tv_sec could lead to
 a zero hz result, violating the caller's assumptions (in particular
 trigger a diagnostic panic in abstimeout2timo())
2011-01-26 19:15:13 +00:00
..
Make.tags.inc Exclude drm sources from tags computation. 2011-01-21 23:23:44 +00:00
Makefile
bufq_disksort.c
bufq_fcfs.c
bufq_priocscan.c
bufq_readprio.c
cnmagic.c Replace more printfs with aprint_normal / aprint_verbose 2010-01-31 00:43:37 +00:00
core_elf32.c Merge from matt-nb5-mips64 2009-12-14 00:47:10 +00:00
core_elf64.c
core_netbsd.c Retire struct user, remove sys/user.h inclusions. Note sys/user.h header 2011-01-14 02:06:22 +00:00
exec_aout.c
exec_ecoff.c
exec_elf.c when we use a fake data section, make sure that the start is page-aligned. 2010-10-07 02:14:02 +00:00
exec_elf32.c
exec_elf64.c
exec_macho.c Include internal definitions (uvm/uvm.h) only where necessary. 2011-01-17 07:13:31 +00:00
exec_script.c Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
exec_subr.c Include internal definitions (uvm/uvm.h) only where necessary. 2011-01-17 07:13:31 +00:00
genlintstub.awk
init_main.c Move up evcnt_init to before cpu_startup() 2011-01-18 08:18:43 +00:00
init_sysctl.c Use the L_ flags instead of the P_ flags for lwps. 2011-01-22 20:54:43 +00:00
init_sysctl_base.c Chop init_sysctl into base nodes (init_sysctl_base.c) and the 2009-09-16 15:03:56 +00:00
init_sysent.c regen: include sys/sched.h in syscallargs.h 2011-01-18 17:34:28 +00:00
kern_acct.c Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
kern_auth.c Tiny cosmetics... 2009-12-31 02:20:36 +00:00
kern_cctr.c
kern_cfglock.c Define a set of new kernel locking primitives to implement the recursive 2010-08-21 13:17:31 +00:00
kern_clock.c Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch 2010-12-20 00:25:23 +00:00
kern_condvar.c tsleep() on lbolt is now illegal. Convert cv_wakeup(&lbolt) to 2009-12-05 22:38:19 +00:00
kern_core.c Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
kern_cpu.c Add CTASSERT to verify __HAVE_CPU_DATA_FIRST is correct defined or undefined. 2010-12-22 02:43:23 +00:00
kern_ctf.c DTrace: Fix several bugs where the mod_ctf_get() function could return 2010-05-03 09:51:36 +00:00
kern_descrip.c Update comment and inspired by that update variable naming too. 2011-01-01 22:05:11 +00:00
kern_drvctl.c If a multithreaded app closes an fd while another thread is blocked in 2009-12-20 09:36:05 +00:00
kern_event.c make list traversing in knote() safe against removal of the entry 2010-09-10 10:23:46 +00:00
kern_exec.c Add more detailed debug printfs (one for each error case). 2011-01-18 08:21:03 +00:00
kern_exit.c - Fix a few possible locking issues in execve1() and exit1(). Add a note 2010-12-18 01:36:19 +00:00
kern_fileassoc.c Oops - unintentional locking bit that's not yet ready. 2009-12-25 20:07:18 +00:00
kern_fork.c Copy PK_32 to p2->p_flag instead of doing it in the cpu_proc_fork hook. 2011-01-18 23:56:48 +00:00
kern_hook.c Add critpoll (critical polling) hooks. These are keep things like watchdogs 2010-12-11 22:27:53 +00:00
kern_idle.c Include internal definitions (uvm/uvm.h) only where necessary. 2011-01-17 07:13:31 +00:00
kern_ksyms.c When determining max/min sym value, ignore ABS symbols which don't 2011-01-04 01:40:19 +00:00
kern_kthread.c increment p_nrlwps in lwp_create rather than letting callers do so 2010-06-13 04:13:31 +00:00
kern_ktrace.c Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
kern_lock.c remove dated and wrong comments about curlwp being NULL. 2009-12-20 20:42:23 +00:00
kern_lwp.c If LWP0_MD_INITIALIZER is defined, use it to initalize .l_md (avoid runtime 2011-01-17 08:26:58 +00:00
kern_malloc.c give the name of the dup initialization. 2010-05-05 02:20:42 +00:00
kern_malloc_debug.c buildfix: uvm_extern.h -> uvm.h 2011-01-19 09:02:52 +00:00
kern_malloc_stdtype.c Remove M_IOV (missed in previous commit) and M_1394DATA types. 2010-04-23 19:09:15 +00:00
kern_module.c Using "int" variables with sysctl's CTLTYPE_BOOL is a simple receipt to 2011-01-14 10:18:21 +00:00
kern_module_vfs.c Rename the autoloaded property list from <module>.prop to <module>.plist 2010-11-28 00:26:38 +00:00
kern_mutex.c Re-apply: 2010-02-08 09:54:27 +00:00
kern_mutex_obj.c Fix copyrights. 2010-03-31 19:59:39 +00:00
kern_ntptime.c _KERNEL_OPT 2010-04-13 22:46:10 +00:00
kern_pax.c Fix issues with stack allocation and pax aslr: 2010-08-23 20:53:08 +00:00
kern_physio.c PR kern/39536: bufq related problem when writing DVDR and DVDRWs. 2009-05-26 14:59:31 +00:00
kern_pmf.c A pointer typedef entails trading too much flexibility to declare const 2010-02-24 22:37:54 +00:00
kern_proc.c Include internal definitions (uvm/uvm.h) only where necessary. 2011-01-17 07:13:31 +00:00
kern_prot.c remove trailing empty line. no useful change. 2010-08-30 10:30:01 +00:00
kern_ras.c Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
kern_rate.c
kern_resource.c Remove pfind() and pgfind(), fix locking in various broken uses of these. 2010-07-01 02:38:26 +00:00
kern_runq.c remove redundant checks of PK_MARKER. 2010-03-03 00:47:30 +00:00
kern_rwlock.c Re-apply: 2010-02-08 09:54:27 +00:00
kern_rwlock_obj.c Fix copyrights. 2010-03-31 19:59:39 +00:00
kern_sdt.c DTrace: Add an SDT (Statically Defined Tracing) provider framework, and 2010-03-01 21:10:13 +00:00
kern_sig.c Include internal definitions (uvm/uvm.h) only where necessary. 2011-01-17 07:13:31 +00:00
kern_sleepq.c Remove uarea swap-out functionality: 2009-10-21 21:11:57 +00:00
kern_softint.c Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch 2010-12-20 00:25:23 +00:00
kern_ssp.c Switch SSP init output to aprint_debug() instead of aprint_normal() 2010-02-01 16:14:58 +00:00
kern_stub.c KNF nit. 2010-06-13 13:43:02 +00:00
kern_subr.c Change md(4) to: 2010-11-11 11:07:06 +00:00
kern_synch.c update comment 2011-01-03 13:22:32 +00:00
kern_syscall.c Update the rest of the kernel to conform to the module subsystem's new 2010-08-21 13:19:39 +00:00
kern_sysctl.c reject attempts to write CTLTYPE_BOOL nodes with a value other than 0 or 1. 2010-04-11 01:50:25 +00:00
kern_tc.c _KERNEL_OPT 2010-04-13 22:46:10 +00:00
kern_time.c realtimerexpire: rename a confusing variable. no functional change. 2010-12-17 22:08:18 +00:00
kern_timeout.c - Fix a few possible locking issues in execve1() and exit1(). Add a note 2010-12-18 01:36:19 +00:00
kern_todr.c Update default TOD value to 2010/01/01 12:00:00. 2010-01-02 10:57:35 +00:00
kern_turnstile.c turnstile_block: reduce code duplication. 2009-11-18 12:26:22 +00:00
kern_uidinfo.c
kern_uuid.c switch to nanotime() for 100ns resolution 2010-05-04 19:23:56 +00:00
kern_verifiedexec.c fix sysctl again. 2011-01-08 20:29:13 +00:00
kern_xxx.c _KERNEL_OPT 2010-11-21 17:57:24 +00:00
kgdb_stub.c
makesyscalls.sh Rework how syscall compat is handled for rump syscalls. The old 2011-01-17 16:16:54 +00:00
sched_4bsd.c sched_pstats_hook: fix estcpu decay. 2009-05-31 04:13:33 +00:00
sched_m2.c more s/the the/the/ 2009-11-22 19:09:15 +00:00
subr_autoconf.c Using "int" variables with sysctl's CTLTYPE_BOOL is a simple receipt to 2011-01-14 10:18:21 +00:00
subr_blist.c
subr_bufq.c Provide unwind log for bufq sysctls, since (theoretically) bufq might 2009-09-17 09:54:27 +00:00
subr_callback.c Add assert that ce->ce_func is not NULL. 2009-11-24 20:11:50 +00:00
subr_copy.c Split uiomove() and high-level copy routines out of the crowded 2009-11-04 16:54:00 +00:00
subr_debug.c
subr_device.c Device accessors are only marginally related to autoconf, so put them 2010-01-31 15:10:11 +00:00
subr_devsw.c In bdev_strategy, return ENXIO instead of panicing if the block device has 2009-09-03 11:42:21 +00:00
subr_disk.c add some (uint64_t) casts so avoid 32 bit overflows. this fixes my 2010-10-14 00:47:16 +00:00
subr_disk_mbr.c This not working on ews4800mips has nothing to do with rump, so: 2010-05-11 20:07:40 +00:00
subr_disk_open.c Add helper function that determines the size and block size of a disk device. 2010-01-30 11:57:17 +00:00
subr_evcnt.c Add code to detect attaching of evcnt before evcnt has been initialized. 2011-01-18 08:16:43 +00:00
subr_exec_fd.c Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
subr_extent.c
subr_hash.c
subr_humanize.c Give humanize_number & format_bytes their own spots in the sun and move 2009-10-02 15:48:41 +00:00
subr_iostat.c Create CTL_HW before creating nodes on top of it (sysctl constructors 2009-11-30 11:28:35 +00:00
subr_kmem.c Add kmem_asprintf rotuine which allocates string accordingly to format 2010-02-11 23:13:46 +00:00
subr_kobj.c Deal with ELFnn_MACHDEP_ID_CASES a bit better. 2011-01-18 08:15:51 +00:00
subr_kobj_vfs.c Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
subr_lockdebug.c Rename rb.h to rbtree.h, as it is more appropriate (c.f. ptree.h). Also 2010-09-25 01:42:38 +00:00
subr_log.c
subr_lwp_specificdata.c void police! 2010-04-12 23:09:28 +00:00
subr_once.c
subr_optstr.c
subr_pcq.c
subr_percpu.c Remove uarea swap-out functionality: 2009-10-21 21:11:57 +00:00
subr_pool.c Fix a conditional include. 2011-01-17 07:36:58 +00:00
subr_prf.c Move device_printf() from ath_netbsd.c to subr_prf.c for reuse in a new 2011-01-21 17:46:19 +00:00
subr_prof.c Replace few USER_TO_UAREA/UAREA_TO_USER uses, reduce sys/user.h inclusions. 2009-12-17 01:25:10 +00:00
subr_specificdata.c
subr_spldebug.c MAXCPUS -> maxcpus 2010-04-25 11:49:22 +00:00
subr_syscall_stats.c
subr_tftproot.c Back out previous change: do not skip the test on rootspec, but make it 2009-08-23 12:10:50 +00:00
subr_time.c fix and cleanup for tvtohz(): 2011-01-26 19:15:13 +00:00
subr_userconf.c improve "const" consistency 2010-09-12 16:06:08 +00:00
subr_vmem.c wrap a long line. 2010-12-17 22:24:11 +00:00
subr_workqueue.c workqueue_finiqueue: remove unused variable. 2009-11-11 14:54:40 +00:00
subr_xcall.c Implement high priority (XC_HIGHPRI) xcall(9) mechanism - a facility 2010-06-22 18:29:01 +00:00
sys_aio.c aio_worker: add an assertion 2010-12-17 22:05:36 +00:00
sys_descrip.c do_posix_fadvise: fix and improve previous change - add a comment with 2010-12-18 01:18:48 +00:00
sys_generic.c Make struct disklabel 8 byte aligned. This increases its size by 4 bytes 2011-01-18 19:52:23 +00:00
sys_lwp.c many changes for COMPAT_LINUX: 2010-07-07 01:30:32 +00:00
sys_module.c Update the rest of the kernel to conform to the module subsystem's new 2010-08-21 13:19:39 +00:00
sys_mqueue.c mq_poll_fop: return only those events which are polled. 2011-01-18 20:32:53 +00:00
sys_pipe.c Include internal definitions (uvm/uvm.h) only where necessary. 2011-01-17 07:13:31 +00:00
sys_pmc.c
sys_process.c Remove pfind() and pgfind(), fix locking in various broken uses of these. 2010-07-01 02:38:26 +00:00
sys_pset.c Remove pfind() and pgfind(), fix locking in various broken uses of these. 2010-07-01 02:38:26 +00:00
sys_sched.c Remove pfind() and pgfind(), fix locking in various broken uses of these. 2010-07-01 02:38:26 +00:00
sys_select.c - Fix a few possible locking issues in execve1() and exit1(). Add a note 2010-12-18 01:36:19 +00:00
sys_sig.c implement sigqueueinfo 2011-01-10 04:39:18 +00:00
sys_socket.c If a multithreaded app closes an fd while another thread is blocked in 2009-12-20 09:36:05 +00:00
sys_syscall.c
syscalls.c regen: include sys/sched.h in syscallargs.h 2011-01-18 17:34:28 +00:00
syscalls.conf Make syscallargs.h include <sys/sched.h> for cpuset_t typedef for 2011-01-18 17:33:05 +00:00
syscalls.master Missed pselect50 in previous (file was open in editor ... d0h). 2011-01-17 18:24:17 +00:00
sysv_ipc.c Replace malloc with kmem(9). 2009-04-16 14:55:44 +00:00
sysv_msg.c
sysv_sem.c semu_alloc: simplify a little. 2009-10-05 23:46:02 +00:00
sysv_shm.c Use 'z' printf format modifier to print size_t in debug code. 2010-07-27 14:25:23 +00:00
tty.c Cast arguments to vaddr_t when using PRIxVADDR in the printf format string. 2011-01-23 11:01:08 +00:00
tty_bsdpty.c Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
tty_conf.c
tty_ptm.c Clean up vnode lock operations pass 2: 2010-06-24 12:58:48 +00:00
tty_pty.c Fix a bug in ptcread() that stopped a pty(4) in TIOCPKT_IOCTL mode from 2010-11-16 23:58:11 +00:00
tty_subr.c Christos was worried about clrbits() being called with a length of zero. 2009-11-14 13:18:41 +00:00
tty_tty.c Clean up vnode lock operations pass 2: 2010-06-24 12:58:48 +00:00
uipc_accf.c Update the rest of the kernel to conform to the module subsystem's new 2010-08-21 13:19:39 +00:00
uipc_domain.c KAUTH_GENERIC_CANSEE -> KAUTH_REQ_NETWORK_SOCKET_CANSEE. 2009-10-03 20:24:39 +00:00
uipc_mbuf.c Include internal definitions (uvm/uvm.h) only where necessary. 2011-01-17 07:13:31 +00:00
uipc_mbuf2.c Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
uipc_proto.c
uipc_sem.c
uipc_socket.c Include internal definitions (uvm/uvm.h) only where necessary. 2011-01-17 07:13:31 +00:00
uipc_socket2.c Don't bother caching egid. It'll be removed soon. 2009-12-30 22:12:12 +00:00
uipc_syscalls.c Replace M_IOV and some malloc(9)s with kmem(9), and while there: 2010-04-23 15:19:19 +00:00
uipc_usrreq.c Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
vfs_bio.c Include internal definitions (uvm/uvm.h) only where necessary. 2011-01-17 07:13:31 +00:00
vfs_cache.c Make holding v_interlock mandatory for callers of vget(). 2010-07-21 17:52:09 +00:00
vfs_cwd.c The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live 2010-01-08 11:35:07 +00:00
vfs_dirhash.c
vfs_getcwd.c Abolish struct componentname's cn_pnbuf. Use the path buffer in the 2010-11-30 10:29:57 +00:00
vfs_hooks.c
vfs_init.c - Add usermount_common_policy() that implements some common (everything 2009-10-05 04:20:13 +00:00
vfs_lockf.c lockf() passes its arguments through to fcntl() but is supposed to 2009-08-05 19:39:50 +00:00
vfs_lookup.c Tsort functions and remove a small #if 0 block leftover from earlier cleanup. 2011-01-04 07:43:42 +00:00
vfs_subr.c Include internal definitions (uvm/uvm.h) only where necessary. 2011-01-17 07:13:31 +00:00
vfs_syscalls.c allow file system to decide if it can be downgraded from r/w to r/o 2011-01-13 07:25:50 +00:00
vfs_trans.c don't forget to skip marker processes. 2009-05-12 11:42:12 +00:00
vfs_vnops.c Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
vfs_wapbl.c Add two sysctls one that does verbose transaction logging and a second one 2011-01-08 20:37:05 +00:00
vfs_xattr.c Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
vnode_if.c Clean up vnode lock operations pass 2: 2010-06-24 12:58:48 +00:00
vnode_if.sh Make rump vnode interface lightweight: the only things we 2010-04-14 13:58:51 +00:00
vnode_if.src Remove references to SAVESTART and SAVENAME in comments. 2011-01-02 06:58:45 +00:00