NetBSD/sys/kern
maxv 0ff9025533 Revert rev1.38. The header already begins with EXEC_SCRIPT_MAGIC="#!".
So it can't be ELFMAG="\177ELF" at the same time.

ok christos@
2014-02-21 08:11:59 +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 Apply the better patch in the PR. 2011-11-19 17:34:41 +00:00
core_elf32.c Fix previous slightly differently. 2014-01-05 09:13:18 +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 kill the topdown flag only if we succeed. 2014-01-25 23:58:41 +00:00
exec_ecoff.c exec modules need to be of the exec kind 2013-09-19 18:50:35 +00:00
exec_elf.c Properly check the section size to avoid out-of-bound reads. The 2014-02-21 07:47:02 +00:00
exec_elf32.c exec modules need to be of the exec kind 2013-09-19 18:50:35 +00:00
exec_elf64.c exec modules need to be of the exec kind 2013-09-19 18:50:35 +00:00
exec_script.c Revert rev1.38. The header already begins with EXEC_SCRIPT_MAGIC="#!". 2014-02-21 08:11:59 +00:00
exec_subr.c
genlintstub.awk
init_main.c Add "/rescue/init" to the end of the initpaths list, which 2013-10-02 21:38:55 +00:00
init_sysctl.c Put cprng sysctls into subr_cprng.c. Also, make sysctl_prng static 2014-01-17 02:12:48 +00:00
init_sysctl_base.c
init_sysent.c reregengen 2013-12-11 09:45:01 +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 Instead of generating all the 'note' sections twice (and hoping that the 2014-01-03 20:52:47 +00:00
kern_cpu.c cpu_infos is a NULL terminated array, not an array followed by a 0 byte. 2013-12-19 23:36:07 +00:00
kern_ctf.c
kern_descrip.c Remove __CT_LOCAL_.. hack 2013-09-15 13:03:59 +00:00
kern_drvctl.c Fix memory leak on the following cases when device attached or detached: 2013-04-26 09:04:43 +00:00
kern_event.c - initialize kn_id 2012-11-24 15:14:32 +00:00
kern_exec.c We need VMCMDs for a binary and its interpreter, so make sure we have 2014-02-19 15:23:20 +00:00
kern_exit.c Add another field to the SDT_PROBE_DEFINE macro, so our DTrace probes 2013-06-09 01:13:47 +00:00
kern_fileassoc.c fileassoc_file_delete: pre-check whether fileassoc was used and thus avoid 2012-01-22 03:48:51 +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 - Add mi_cpu_init() and initialise cpu_lock and kcpuset_attached/running there. 2012-01-29 22:55:40 +00:00
kern_ksyms.c don't overwrite the CTF info with the symbol table. 2013-04-07 00:49:45 +00:00
kern_kthread.c Add a __HAVE_CPU_UAREA_IDLELWP hook so that the MD code can allocate 2012-09-01 00:26:37 +00:00
kern_ktrace.c Put vfs bits of ktrace into kern_ktrace_vfs.c per convention. 2013-12-09 16:45:23 +00:00
kern_ktrace_vfs.c Put vfs bits of ktrace into kern_ktrace_vfs.c per convention. 2013-12-09 16:45:23 +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 Use the process credentials instead of the lwp credentials because if the 2013-11-25 16:29:25 +00:00
kern_malloc.c - Replace some malloc(9) uses with kmem(9). 2012-04-30 22:51:27 +00:00
kern_module.c Make the auto-unload timeout configurable via sysctl, and if the timeout 2013-12-15 21:09:50 +00:00
kern_module_vfs.c
kern_mutex.c use __USE() where appropriate. 2013-10-19 21:01:39 +00:00
kern_mutex_obj.c
kern_ntptime.c
kern_pax.c First step of random number subsystem rework described in 2011-11-19 22:51:18 +00:00
kern_physio.c
kern_pmf.c in pmf_system_shutdown(), don't do anything if we're panicing. 2012-11-13 14:08:07 +00:00
kern_proc.c __USING_TOPDOWN_VM is no more, __USE_TOPDOWN_VM... 2014-01-25 19:44:11 +00:00
kern_prot.c do_setresuid: add an assert. 2013-11-25 16:28:20 +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 fix setrlimit(RLIMIT_STACK) for __MACHINE_STACK_GROWS_UP platforms. 2013-01-07 16:54:54 +00:00
kern_rndpool.c Fix rnd_add_* to conform to manual page: allow addition of entropy 2013-08-29 01:04:49 +00:00
kern_rndq.c Fix rnd_add_* to conform to manual page: allow addition of entropy 2013-08-29 01:04:49 +00:00
kern_rndsink.c Turn a few __unused into __diagused 2013-10-25 11:35:55 +00:00
kern_runq.c Remove cpu_queue (and thus eleminate another use of CIRCLEQ) by replacing 2013-11-24 21:58:38 +00:00
kern_rwlock.c use __USE() where appropriate. 2013-10-19 21:01:39 +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 Add comments saying that a cv_timedwait and sleepq_block interpret 2013-03-08 08:35:09 +00:00
kern_softint.c Change two KASSERTs to KASSERTMSG 2013-09-07 03:34:59 +00:00
kern_ssp.c First step of random number subsystem rework described in 2011-11-19 22:51:18 +00:00
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 Group more syscall related routines together (kern_subr -> kern_syscall) 2013-12-09 16:49:43 +00:00
kern_synch.c Remove __CT_LOCAL_.. hack 2013-09-15 13:03:59 +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 Reorder code to avoid using an uninitialized variable: if 2014-02-09 14:51:13 +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 Nove a CTASSERT to global scope 2013-09-14 20:53:48 +00:00
kern_todr.c Mix in boot time (wherever we may find it). Helps avoid predictable output 2013-08-29 01:05:29 +00:00
kern_turnstile.c comments and assertions. 2012-06-15 13:51:40 +00:00
kern_uidinfo.c At least pretend to not leak memory in sysctl initialization. 2013-03-10 17:55:42 +00:00
kern_uuid.c First step of random number subsystem rework described in 2011-11-19 22:51:18 +00:00
kern_verifiedexec.c Reorder code to avoid use-after-free on error. From Maxime Villard 2014-01-11 16:31:20 +00:00
kern_xxx.c
kgdb_stub.c KNF 2013-05-11 15:44:46 +00:00
makesyscalls.sh one newline is enough 2013-12-09 21:12:45 +00:00
sched_4bsd.c update a comment 2011-12-02 12:29:35 +00:00
sched_m2.c
subr_autoconf.c Mark diagnostic-only variables 2013-10-25 16:08:18 +00:00
subr_blist.c Fix typo ("then" instead of "than") 2013-12-09 09:35:16 +00:00
subr_bufq.c
subr_callback.c
subr_copy.c
subr_cprng.c Put cprng sysctls into subr_cprng.c. Also, make sysctl_prng static 2014-01-17 02:12:48 +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 add an XXX comment i meant to include with the original change. 2012-02-18 06:29:10 +00:00
subr_disk.c use 64bit arithmetic to compute sectors-per-unit 2013-10-19 22:36:57 +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 split device_t/softc for all remaining drivers. 2012-10-27 17:17:22 +00:00
subr_evcnt.c
subr_exec_fd.c
subr_extent.c remove left over macro after kmem_map is gone 2012-01-29 11:14:49 +00:00
subr_hash.c Add hash_list_size() and simplify slightly. 2012-06-05 20:51:36 +00:00
subr_humanize.c
subr_iostat.c
subr_kcpuset.c Turn a few __unused into __diagused 2013-10-25 11:35:55 +00:00
subr_kmem.c Mark a diagnostic-only variable 2013-10-25 16:09:29 +00:00
subr_kobj.c Ignore REL/RELA if they aren't against a PROGBIT section. 2013-08-09 05:10:14 +00:00
subr_kobj_vfs.c Remove unused variable 2013-09-15 14:08:25 +00:00
subr_lockdebug.c provide a better printf for the panic message 2013-10-12 16:42:27 +00:00
subr_log.c
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 __HAVE_ATOMIC_AS_MEMBAR is spelled with two leading underscores. 2014-02-06 03:47:16 +00:00
subr_pcu.c Pass PCU_LOADED to pcu_state_load in the "this CPU already has our PCU 2014-01-23 17:32:03 +00:00
subr_percpu.c extending vmem(9) to be able to allocated resources for it's own needs. 2012-01-27 19:48:38 +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 replace vmem(9) custom boundary tag allocation with a pool(9) 2014-02-17 20:40:06 +00:00
subr_prf.c Revert, breaks the build due to missing rumpns_delay in librump.so. 2014-01-12 00:29:15 +00:00
subr_prof.c
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
subr_tftproot.c Fix misspelling: accommodate is a long enough word to have room for two 'c's 2012-12-01 11:41:49 +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 replace vmem(9) custom boundary tag allocation with a pool(9) 2014-02-17 20:40:06 +00:00
subr_workqueue.c If the workqueue is using a prio less than PRI_KERNEL, make sure KTHREAD_TS 2012-10-07 22:16:21 +00:00
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 Mark a diagnostic-only variable 2013-10-25 16:23:46 +00:00
sys_descrip.c Remove some set but unused variables 2013-04-08 21:12:33 +00:00
sys_generic.c Provide binary compatibility for architectures that (erroneously) had 2013-04-04 12:51:39 +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 Add -A, -a, and -e options to modstat(8) along with kernel 2012-08-07 01:19:05 +00:00
sys_mqueue.c Centralize the computation of struct timespec to the int timo. 2013-03-29 01:08:17 +00:00
sys_pipe.c Make page loaning in pipes color aware. 2013-06-28 01:21:06 +00:00
sys_pmc.c fix unused 2014-01-25 21:11:20 +00:00
sys_process.c Remove __HAVE_PROCESS_XFPREGS and add the extra parameter for the size 2014-01-04 00:10:02 +00:00
sys_pset.c
sys_sched.c - Convert x86 MD code, mainly pmap(9) e.g. TLB shootdown code, to use 2012-04-20 22:23:24 +00:00
sys_select.c Assert equality, not assignment, in selrecord. 2013-01-26 19:38:17 +00:00
sys_sig.c Don't check trampolines for SIG_DFL or SIG_IGN since they are not used. 2014-02-14 16:35:11 +00:00
sys_socket.c - Eliminate so_nbio and turn it into a bit SS_NBIO in so_state. 2011-12-20 23:56:28 +00:00
sys_syscall.c use sy_call() so that l->l_sysent gets set, so that we can autoload modules 2012-05-05 19:44:02 +00:00
syscalls.c reregengen 2013-12-11 09:45:01 +00:00
syscalls.conf Forgot this one from previous commit. It too is needed for syscallargs.h 2012-08-03 12:41:13 +00:00
syscalls.master create rump kernel wrapper for utrace() too 2013-12-11 09:40:56 +00:00
sysv_ipc.c Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
sysv_msg.c s/mesage/message/ 2014-02-07 11:51:00 +00:00
sysv_sem.c Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
sysv_shm.c Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
tty.c printflike maintenance. 2013-02-09 00:31:21 +00:00
tty_bsdpty.c
tty_conf.c
tty_ptm.c Add COMPAT_60 versions of the TIOCPTMGET and TIOCPTSNAME ioctls. 2012-10-19 16:55:22 +00:00
tty_pty.c tty_pty: add CTASSERTs to document assumptions 2014-01-29 02:38:48 +00:00
tty_subr.c
tty_tty.c
uipc_accf.c
uipc_domain.c Remove unused variables 2013-09-15 15:37:27 +00:00
uipc_mbuf.c remove trigger happy assertion. in m_adj negative lengths are valid. 2013-11-15 17:48:55 +00:00
uipc_mbuf2.c MGET -> m_get 2013-10-08 19:59:49 +00:00
uipc_proto.c
uipc_sem.c Centralize the computation of struct timespec to the int timo. 2013-03-29 01:08:17 +00:00
uipc_socket.c PR/48098: Brian Marcotte: panic: kernel diagnostic assertion "cred != NULL": 2013-11-02 20:09:33 +00:00
uipc_socket2.c 0 -> NULL 2013-10-08 19:58:25 +00:00
uipc_syscalls.c delete extra m_len initialization. 2013-10-09 20:15:39 +00:00
uipc_usrreq.c Change vnode operations create, mknod, mkdir and symlink to return 2014-01-23 10:13:55 +00:00
vfs_bio.c Mark a diagnostic-only variable 2013-10-25 20:28:33 +00:00
vfs_cache.c Change vnode operation lookup to return the resulting vnode *vpp unlocked. 2014-02-07 15:29:20 +00:00
vfs_cwd.c
vfs_dirhash.c Extend generic dirhash to include an empty directory checker based on 2013-07-07 19:31:26 +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 Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +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 one more *_END(head) -> NULL 2013-11-27 17:25:46 +00:00
vfs_quotactl.c Improve the names of some members of struct quotactl_args. These are 2012-02-01 05:43:53 +00:00
vfs_subr.c Change the queue.3 *_END(&head) macros to NULL. Since we don't have CIRCLEQ 2013-11-27 17:24:43 +00:00
vfs_syscalls.c Remove argument name from prototype. 2014-02-15 22:32:16 +00:00
vfs_trans.c change the mountlist CIRCLEQ into a TAILQ 2013-11-23 13:35:36 +00:00
vfs_vnode.c When deciding to defer in vrelel(): 2013-12-07 10:03:28 +00:00
vfs_vnops.c Change vnode operations create, mknod, mkdir and symlink to return 2014-01-23 10:13:55 +00:00
vfs_wapbl.c Remove unused variable 2013-09-15 15:57:26 +00:00
vfs_xattr.c Return ENODATA when no attribute is found, like Linux does. After 2012-05-01 07:48:25 +00:00
vnode_if.c Change vnode operation lookup to return the resulting vnode *vpp unlocked. 2014-02-07 15:29:20 +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 Change vnode operation lookup to return the resulting vnode *vpp unlocked. 2014-02-07 15:26:42 +00:00