NetBSD/sys/kern
mrg d64a5577d7 wait for config_mountroot threads to complete before we tell init it
can start up.  this solves the problem where a console device needs
mountroot to complete attaching, and must create wsdisplay0 before
init tries to open /dev/console.  fixes PR#49709.

XXX: pullup-7
2015-03-06 09:28:15 +00:00
..
Make.tags.inc
Makefile eliminate use of bsd.sys.mk from Makefiles 2014-01-16 01:15:32 +00:00
bufq_disksort.c
bufq_fcfs.c
bufq_priocscan.c Mark a diagnostic only variable 2014-01-28 12:50:54 +00:00
bufq_readprio.c
cnmagic.c
core_elf32.c If we are writing PN_XNUM or more phdrs, include one section header and 2014-04-02 17:19:49 +00:00
core_elf64.c
core_netbsd.c Re-instate the zero length sections in elf core dumps (they probably help 2014-01-07 07:59:03 +00:00
exec_aout.c Remove spurious . 2014-03-07 01:55:01 +00:00
exec_ecoff.c c99 initializers for struct execsw 2014-03-07 01:33:43 +00:00
exec_elf.c eliminate COMPAT_OLDNOTE and just always recognize the old notes. 2014-08-17 23:03:58 +00:00
exec_elf32.c 1) On 64bit systems, don't add the 32bit execsw[] to the global exec array. 2014-07-22 08:18:33 +00:00
exec_elf64.c 1) On 64bit systems, don't add the 32bit execsw[] to the global exec array. 2014-07-22 08:18:33 +00:00
exec_script.c Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get 2014-09-05 09:20:59 +00:00
exec_subr.c Style 2014-03-29 09:31:11 +00:00
files.kern Mark some stray files as kern for now. 2014-10-12 04:38:28 +00:00
genlintstub.awk
init_main.c wait for config_mountroot threads to complete before we tell init it 2015-03-06 09:28:15 +00:00
init_sysctl.c BUILDINFO part 2: expose sysctl kern.buildinfo 2014-08-03 09:15:21 +00:00
init_sysctl_base.c Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before 2014-02-25 18:30:08 +00:00
init_sysent.c PR/49684: Pierre Pronchery: readlinkat(2) return type is wrong. 2015-02-22 00:50:30 +00:00
kern_acct.c use __USE() where appropriate. 2013-10-19 21:01:39 +00:00
kern_auth.c C99 section 6.7.2.3 (Tags) Note 3 states that: 2013-03-18 19:35:35 +00:00
kern_cctr.c
kern_cfglock.c
kern_clock.c adapt the cyclic module and profile dtrace provider to netbsd. 2012-12-02 01:05:16 +00:00
kern_condvar.c Mark a diagnostic-only variable 2013-10-25 15:51:36 +00:00
kern_core.c Fix a read-beyond-end string read. 2014-04-22 19:01:47 +00:00
kern_cpu.c Pass a correct firmware size (instead of 0) to firmware_free 2015-01-07 07:05:48 +00:00
kern_ctf.c src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
kern_descrip.c remove casts to the same type. 2014-09-21 17:17:15 +00:00
kern_drvctl.c Add d_discard to all struct cdevsw instances I could find. 2014-07-25 08:10:31 +00:00
kern_event.c put the exit code of the process in data, like FreeBSD does. 2015-03-02 19:24:53 +00:00
kern_exec.c remove ep_name, change the last reference to use ep_kname instead. 2014-12-14 23:49:28 +00:00
kern_exit.c Free pid for linux processes. Reported by Mark Davies, fix by dsl@ 2014-05-05 15:45:32 +00:00
kern_fileassoc.c table can't be NULL here. 2014-07-10 15:00:28 +00:00
kern_fork.c convert vmem, signals, powerhooks from CIRCLEQ -> TAILQ. 2013-11-22 21:04:11 +00:00
kern_history.c
kern_hook.c convert vmem, signals, powerhooks from CIRCLEQ -> TAILQ. 2013-11-22 21:04:11 +00:00
kern_idle.c
kern_ksyms.c Don't hard code crap we have perfectly good constants for. 2014-12-15 13:50:10 +00:00
kern_ksyms_buf.c Reorganize symbol table embedding. The existing option SYMTAB_SPACE is 2014-08-17 21:17:43 +00:00
kern_kthread.c
kern_ktrace.c Replace callout_stop with callout_halt 2014-11-21 09:40:10 +00:00
kern_ktrace_vfs.c Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get 2014-09-05 09:20:59 +00:00
kern_lock.c Move a CTASSERT to global scope (easiest way to avoid gcc 4.8.1 local unused 2013-09-14 20:24:22 +00:00
kern_lwp.c src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
kern_malloc.c Don't include <uvm/uvm_extern.h> 2015-02-06 18:21:29 +00:00
kern_module.c if the root file-system is not yet mounted, hide "vfs load failed" spam with options DEBUG 2015-02-28 23:04:34 +00:00
kern_module_vfs.c print kernel module path only in kernels which support paths 2014-12-02 13:00:38 +00:00
kern_mutex.c Consistently use KPREEMPT_*() here. 2014-11-28 08:27:27 +00:00
kern_mutex_obj.c
kern_ntptime.c Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before 2014-02-25 18:30:08 +00:00
kern_pax.c Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before 2014-02-25 18:30:08 +00:00
kern_physio.c
kern_pmf.c Remove this MALLOC_DEFINE (M_PMF unused). 2015-02-13 13:26:50 +00:00
kern_proc.c Allow fill_kproc2() to be used by more than sysctl. 2014-07-12 09:57:25 +00:00
kern_prot.c The userland namelen is size_t, but the kernel holds it in an int. The 2014-10-20 08:20:08 +00:00
kern_ras.c Push/Pop pragma magic to avoid gcc warning aber a less-than NULL comparision 2013-09-14 20:46:27 +00:00
kern_rate.c Signed overflow is undefined behavior, and one version of gcc 2012-12-12 11:10:56 +00:00
kern_resource.c src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
kern_rndpool.c buf is not guaranteed to be aligned; don't *(uint32_t *) it. 2014-08-11 13:59:24 +00:00
kern_rndq.c PR/49104: Jarle Greipsland: Don't use cpu_counter32() unconditionally. 2015-01-08 16:13:07 +00:00
kern_rndsink.c Fixes and enhancements for polled entropy sources: 2014-10-26 18:22:32 +00:00
kern_runq.c defintion -> definition 2014-08-03 19:14:24 +00:00
kern_rwlock.c Consistently use KPREEMPT_*() here. 2014-11-28 08:27:27 +00:00
kern_rwlock_obj.c
kern_sdt.c
kern_sig.c convert vmem, signals, powerhooks from CIRCLEQ -> TAILQ. 2013-11-22 21:04:11 +00:00
kern_sleepq.c Don't next structure and enum definitions. 2014-09-05 05:57:21 +00:00
kern_softint.c softint: implement softint_schedule_cpu() to trigger software interrupts 2014-05-25 15:42:01 +00:00
kern_ssp.c
kern_stub.c As long as we're using #ifdef to decide which stubs get generated, might 2013-12-09 18:06:27 +00:00
kern_subr.c Let MD code provide boot disk information as spec string that can be 2014-11-22 11:04:57 +00:00
kern_synch.c G/C sys/simplelock.h includes 2014-02-28 10:16:51 +00:00
kern_syscall.c Add SYS_compat_60__lwp_park to the list of syscalls that can be resolved by loading kernel modules. 2013-12-14 06:27:57 +00:00
kern_sysctl.c Work around pedantic compiler 2014-10-02 23:07:30 +00:00
kern_tc.c ifdef a variable like its use 2013-09-14 20:52:43 +00:00
kern_time.c Make ts2timo(9) always return the absolute start time if the start argument 2013-05-22 16:00:52 +00:00
kern_timeout.c don't compare user and kernel addresses 2015-02-09 20:46:55 +00:00
kern_todr.c defflag TODR_DEBUG 2015-01-11 14:22:53 +00:00
kern_turnstile.c
kern_uidinfo.c At least pretend to not leak memory in sysctl initialization. 2013-03-10 17:55:42 +00:00
kern_uuid.c Get arguments in the right order for copyout. (Oops!) 2014-10-05 10:00:03 +00:00
kern_veriexec.c Rename kern_verifiedexec.c to kern_veriexec.c. "Veriexec" is the name of 2015-02-13 17:50:48 +00:00
kern_xxx.c
kgdb_stub.c remove casts to the same type. 2014-09-21 17:17:15 +00:00
makesyscalls.sh Ensure that symbols are aliased to standard names when 2014-07-24 11:58:45 +00:00
sched_4bsd.c 'miliseconds' -> 'milliseconds'. 2014-06-24 10:08:45 +00:00
sched_m2.c 'miliseconds' -> 'milliseconds'. 2014-06-24 10:08:45 +00:00
subr_autoconf.c wait for config_mountroot threads to complete before we tell init it 2015-03-06 09:28:15 +00:00
subr_blist.c Fix typo ("then" instead of "than") 2013-12-09 09:35:16 +00:00
subr_bufq.c Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before 2014-02-25 18:30:08 +00:00
subr_callback.c
subr_copy.c
subr_cprng.c Change debug to diagnostic so that more people see the lossage with bad 2014-11-19 14:25:00 +00:00
subr_cpufreq.c Unlock correct mutex in an error path. 2014-02-12 20:20:15 +00:00
subr_debug.c
subr_device.c
subr_devsw.c Don't next structure and enum definitions. 2014-09-05 05:57:21 +00:00
subr_disk.c - Use NODEV instead of 0 2015-01-02 01:14:22 +00:00
subr_disk_mbr.c If the MBR is a protective MBR, don't bother looking at it. 2013-06-26 18:47:26 +00:00
subr_disk_open.c get the wedge info first if it exists, because this will support larger sizes. 2014-12-31 19:50:14 +00:00
subr_evcnt.c Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before 2014-02-25 18:30:08 +00:00
subr_exec_fd.c Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get 2014-09-05 09:20:59 +00:00
subr_extent.c don't cast void * in c. 2014-07-10 21:13:52 +00:00
subr_hash.c hashinit: replace loop with a formula. 2014-05-29 21:15:55 +00:00
subr_humanize.c
subr_iostat.c src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
subr_ipi.c Implement ipi_trigger_multi(9); requested by cherry@. 2015-01-18 23:16:35 +00:00
subr_kcpuset.c Constify kcpuset_countset() and cpu_index() parameters. 2014-05-19 20:39:23 +00:00
subr_kmem.c Enable KMEM_REDZONE on DIAGNOSTIC. It will try to catch overflows. 2014-07-22 07:38:41 +00:00
subr_kobj.c Keep setting 'error' as appropriate (even if this place is broken enough 2014-07-16 13:26:33 +00:00
subr_kobj_vfs.c Remove unused variable 2013-09-15 14:08:25 +00:00
subr_lockdebug.c Print the shared lock(s) before we panic, to aid with debugging. 2014-11-24 02:36:31 +00:00
subr_log.c Add d_discard to all struct cdevsw instances I could find. 2014-07-25 08:10:31 +00:00
subr_lwp_specificdata.c Mark a diagnostic-only variable 2013-10-25 16:09:29 +00:00
subr_once.c
subr_optstr.c
subr_pcq.c Use membar_datadep_consumer where code inspection reveals it necessary. 2015-01-08 23:39:57 +00:00
subr_pcu.c pcu: replace xcall(9) used for messaging with ipi(9). This provides 2014-05-25 14:53:55 +00:00
subr_percpu.c Consistently use kpreempt_*() outside scheduler path. 2014-11-27 15:00:00 +00:00
subr_physmap.c - physmap_map, physmap_map_fini: pmap_update() must be performed before 2013-01-19 01:04:51 +00:00
subr_pool.c Add kern.pool for memory pool stats. 2014-06-13 19:09:07 +00:00
subr_prf.c Remove useless semicolon reported by Henning Petersen in PR#49635. 2015-02-04 07:10:47 +00:00
subr_prof.c don't cast void * in c. 2014-07-10 21:13:52 +00:00
subr_pserialize.c - pserialize_switchpoint: check for passing twice, not more than needed. 2013-02-07 23:37:58 +00:00
subr_specificdata.c
subr_spldebug.c
subr_syscall_stats.c Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before 2014-02-25 18:30:08 +00:00
subr_tftproot.c Fix build with TFTPROOT option enabled 2014-08-26 09:38:54 +00:00
subr_time.c Make ts2timo(9) always return the absolute start time if the start argument 2013-05-22 16:00:52 +00:00
subr_userconf.c Remove local getsn and use cngetsn. 2013-12-23 15:34:16 +00:00
subr_vmem.c make condition for ENOMEM consistent with allocation requirement 2014-04-02 18:09:10 +00:00
subr_workqueue.c
subr_xcall.c Fix previous, use the correct value for softint_establish (SOFTINT_SERIAL). 2013-11-26 21:13:05 +00:00
sys_aio.c Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get 2014-09-05 09:20:59 +00:00
sys_descrip.c Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get 2014-09-05 09:20:59 +00:00
sys_generic.c Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get 2014-09-05 09:20:59 +00:00
sys_lwp.c Centralize the computation of struct timespec to the int timo. 2013-03-29 01:08:17 +00:00
sys_module.c don't cast void * in c. 2014-07-10 21:13:52 +00:00
sys_mqueue.c Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get 2014-09-05 09:20:59 +00:00
sys_pipe.c Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get 2014-09-05 09:20:59 +00:00
sys_pmc.c fix unused 2014-01-25 21:11:20 +00:00
sys_process.c Don't return early when the incorrect size is passed to some of the 2014-11-24 02:34:04 +00:00
sys_pset.c Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before 2014-02-25 18:30:08 +00:00
sys_sched.c Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before 2014-02-25 18:30:08 +00:00
sys_select.c Remove pollsock(). Since it took only a single socket, it was essentially 2014-04-25 15:52:45 +00:00
sys_sig.c src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
sys_socket.c Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get 2014-09-05 09:20:59 +00:00
sys_syscall.c
syscalls.c PR/49684: Pierre Pronchery: readlinkat(2) return type is wrong. 2015-02-22 00:50:30 +00:00
syscalls.conf Add COMPAT_70 to conf/files; add compat_70 to kern/syscalls.conf 2014-08-16 17:24:28 +00:00
syscalls.master PR/49684: Pierre Pronchery: readlinkat(2) return type is wrong. 2015-02-22 00:50:30 +00:00
sysv_ipc.c Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before 2014-02-25 18:30:08 +00:00
sysv_msg.c Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before 2014-02-25 18:30:08 +00:00
sysv_sem.c Don't nest struct undo and change it to sem_undo_entry 2014-09-05 05:54:48 +00:00
sysv_shm.c In shmrealloc(), add missing condvar initialisations for segments 2014-05-27 21:00:46 +00:00
tty.c Don't use catch as a varible name. 2014-09-05 05:33:39 +00:00
tty_bsdpty.c Kernel portion of the multiple ptyfs mount support. Protocol changed 2014-04-04 18:11:58 +00:00
tty_conf.c Define TTY_ALLOW_PRIVATE in tty.c, tty_pty.c, and tty_conf.c. 2014-05-22 16:28:06 +00:00
tty_ptm.c From Ilia Zykov: 2014-10-15 15:00:03 +00:00
tty_pty.c src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
tty_subr.c
tty_tty.c Add d_discard to all struct cdevsw instances I could find. 2014-07-25 08:10:31 +00:00
uipc_accf.c Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before 2014-02-25 18:30:08 +00:00
uipc_domain.c - add diagnostic check for sa_len 2014-12-02 19:45:58 +00:00
uipc_mbuf.c Correct m_len calculation for m_dup() with mbuf clusters. 2015-02-08 14:46:30 +00:00
uipc_mbuf2.c MGET -> m_get 2013-10-08 19:59:49 +00:00
uipc_proto.c Add struct pr_usrreqs with a pr_generic function and prepare for the 2014-05-18 14:46:15 +00:00
uipc_sem.c Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get 2014-09-05 09:20:59 +00:00
uipc_socket.c Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get 2014-09-05 09:20:59 +00:00
uipc_socket2.c Don't next structure and enum definitions. 2014-09-05 05:57:21 +00:00
uipc_syscalls.c Return EINVAL if namelen isn't large enough to encompass the expected 2015-03-06 03:35:00 +00:00
uipc_usrreq.c PR/39918: ITOH Yasufumi: Replace KASSERT with continue, since the file 2015-03-01 01:14:41 +00:00
vfs_bio.c Replace random with cprng_fast32. Reorganise computation to replace 2014-09-08 22:01:24 +00:00
vfs_cache.c Add a membar_datadep_consumer() before dereferencing the pointer 2015-01-16 20:10:25 +00:00
vfs_cwd.c
vfs_dirhash.c Don't next structure and enum definitions. 2014-09-05 05:57:21 +00:00
vfs_getcwd.c Change vnode operation lookup to return the resulting vnode *vpp unlocked. 2014-02-07 15:29:20 +00:00
vfs_hooks.c
vfs_init.c Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before 2014-02-25 18:30:08 +00:00
vfs_lockf.c
vfs_lookup.c Change vnode operation lookup to return the resulting vnode *vpp unlocked. 2014-02-07 15:29:20 +00:00
vfs_mount.c vfs_vnode_iterator_destroy: set v_usecount of marker to zero to prevent 2015-01-08 12:06:50 +00:00
vfs_quotactl.c Revert the following changes: 2014-06-28 22:27:50 +00:00
vfs_subr.c Don't next structure and enum definitions. 2014-09-05 05:57:21 +00:00
vfs_syscalls.c A syscall like posix_fallocate() that is not supposed to set errno in 2015-02-15 10:48:21 +00:00
vfs_trans.c Don't next structure and enum definitions. 2014-09-05 05:57:21 +00:00
vfs_vnode.c When creating a vnode with vcache_get() mark the vnode VI_CHANGING until 2014-10-03 14:45:38 +00:00
vfs_vnops.c Remove useless semicolon reported by Henning Petersen in PR#49634. 2015-02-04 07:09:37 +00:00
vfs_wapbl.c src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
vfs_xattr.c Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get 2014-09-05 09:20:59 +00:00
vnode_if.c Regen for VOP_FALLOCATE/VOP_FDISCARD. 2014-07-25 08:18:50 +00:00
vnode_if.sh Support for vnode operation versioning. Allow a new keyword "VERSION" 2014-01-13 12:07:55 +00:00
vnode_if.src Add VOP_FALLOCATE and VOP_FDISCARD. 2014-07-25 08:16:47 +00:00