NetBSD/sys/kern
spz e124ae9088 Fix an inversion in checking for authorization to drop TCP connections
found (and the obvious fix suggested) by Sander Bos.
2013-08-02 20:00:33 +00:00
..
bufq_disksort.c
bufq_fcfs.c
bufq_priocscan.c BUFQ_PRIOCSCAN: 2012-02-17 08:45:11 +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 extending vmem(9) to be able to allocated resources for it's own needs. 2012-01-27 19:48:38 +00:00
core_elf64.c
core_netbsd.c udpate license clauses on my code to match the new-style BSD licenses. 2011-02-02 20:07:25 +00:00
exec_aout.c - Replace few malloc(9) uses with kmem(9). 2011-04-24 18:46:22 +00:00
exec_ecoff.c - Replace few malloc(9) uses with kmem(9). 2011-04-24 18:46:22 +00:00
exec_elf32.c
exec_elf64.c
exec_elf.c Fix PAX build. 2013-04-09 07:39:01 +00:00
exec_script.c
exec_subr.c Bounds process's stack size with max_stack_size so that 32bit 2011-08-08 06:30:43 +00:00
genlintstub.awk
init_main.c Initialize the rnd softint explicitly via a function late in main. Avoids 2013-06-20 23:21:41 +00:00
init_sysctl_base.c
init_sysctl.c calculate vnode cache size based on the resource it gets allocated from 2013-03-18 13:36:21 +00:00
init_sysent.c regen 2013-03-29 01:10:13 +00:00
kern_acct.c Make sure that we initialize all accounting bytes. 2011-09-03 14:09:03 +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 also comment on the meaning of timo=0 for cv_timedwait_sig. 2013-03-08 08:36:37 +00:00
kern_core.c Don't dump core on an existing core file we don't own. From OpenBSD, suggested 2011-09-24 22:53:50 +00:00
kern_cpu.c put binary compatibility support for the old AMD-only CPU microcode 2012-10-17 20:19:55 +00:00
kern_ctf.c
kern_descrip.c Return EOPNOTSUPP for fnullop_kqfilter to prevent registration of unsupported 2012-11-24 15:07:44 +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 Add another field to the SDT_PROBE_DEFINE macro, so our DTrace probes 2013-06-09 01:13:47 +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 Add another field to the SDT_PROBE_DEFINE macro, so our DTrace probes 2013-06-09 01:13:47 +00:00
kern_history.c move and rename the uvm history code out of uvm_stat to "kernhist". 2011-05-17 04:18:05 +00:00
kern_hook.c split device_t/softc for all remaining drivers. 2012-10-27 17:17:22 +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 Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3! 2012-02-19 21:05:51 +00:00
kern_lock.c Revert change that allowed rw_tryenter(&lock, RW_READER) to recurse 2013-04-27 08:12:34 +00:00
kern_lwp.c Add another field to the SDT_PROBE_DEFINE macro, so our DTrace probes 2013-06-09 01:13:47 +00:00
kern_malloc.c - Replace some malloc(9) uses with kmem(9). 2012-04-30 22:51:27 +00:00
kern_module_vfs.c - don't if then else the same thing. print a more meaningful message 2011-09-14 12:30:20 +00:00
kern_module.c downgrade an error to debug. 2013-03-24 22:06:37 +00:00
kern_mutex_obj.c Modify *ASSERTMSG() so they are now used as variadic macros. The main goal 2011-09-27 01:02:33 +00:00
kern_mutex.c Revert change that allowed rw_tryenter(&lock, RW_READER) to recurse 2013-04-27 08:12:34 +00:00
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 Make vmapbuf() return success/error and make physio deal with a 2011-02-10 14:46:44 +00:00
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 g/c unused static variable 2013-06-10 14:53:52 +00:00
kern_prot.c Remove debugging. 2012-06-09 02:55:32 +00:00
kern_ras.c Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3! 2012-02-19 21:05:51 +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 Correct use of entropy estimate when data are extracted from the pool. 2013-06-13 19:18:00 +00:00
kern_rndq.c Rework rndsink(9) abstraction and adapt arc4random(9) and cprng(9). 2013-06-23 02:35:23 +00:00
kern_rndsink.c Replace consttime_bcmp/explicit_bzero by consttime_memequal/explicit_memset. 2013-06-24 04:21:19 +00:00
kern_runq.c revert rev.1.37 for now. 2013-03-12 23:16:31 +00:00
kern_rwlock_obj.c Sprinkle __cacheline_aligned and __read_mostly. 2011-05-13 22:16:43 +00:00
kern_rwlock.c Revert change that allowed rw_tryenter(&lock, RW_READER) to recurse 2013-04-27 08:12:34 +00:00
kern_sdt.c
kern_sig.c Add another field to the SDT_PROBE_DEFINE macro, so our DTrace probes 2013-06-09 01:13:47 +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 - softint_dispatch: perform pserialize(9) switchpoint when softintr processing 2013-01-07 23:21:31 +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 Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3! 2012-02-19 21:05:51 +00:00
kern_subr.c Make detection of root on wedges (dk(4)) machine independent. Remove 2012-06-10 17:05:18 +00:00
kern_synch.c The field ci_curlwp is only defined for MULTIPROCESSOR kernels. 2012-09-02 16:00:00 +00:00
kern_syscall.c Add a new type of syscall "EXTERN" which is meant for modules that live 2012-05-05 19:37:37 +00:00
kern_sysctl.c fix warning 2013-04-27 20:13:16 +00:00
kern_tc.c Extend kernel PPS api with pps_ref_event(). 2013-05-26 18:07:42 +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 Convert a KASSERT to a KASSERTMSG 2013-06-28 01:21:45 +00:00
kern_todr.c Remove clause 3 (UCB advertising clause) from the University of Utah 2011-02-08 20:20:06 +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 Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
kern_xxx.c Print syscall name on syscall exit (when using SYSCALL_DEBUG). 2011-09-01 18:25:44 +00:00
kgdb_stub.c KNF 2013-05-11 15:44:46 +00:00
Make.tags.inc
Makefile Add a target, subr_vmem, for building the vmem(9) test program. 2011-09-02 22:15:16 +00:00
makesyscalls.sh make rump kernel syscalls through curproc->p_emul instead of rump_sysent 2013-03-07 19:17:46 +00:00
sched_4bsd.c update a comment 2011-12-02 12:29:35 +00:00
sched_m2.c This is no place to attach the primary cpu. Things go wrong from here because 2011-09-16 01:03:52 +00:00
subr_autoconf.c delete useless initialization 2013-06-28 15:33:40 +00:00
subr_blist.c printflike maintenance. 2013-02-09 00:31:21 +00:00
subr_bufq.c
subr_callback.c
subr_copy.c
subr_cprng.c Fix KASSERT to avoid assumptions about ipl order. 2013-07-27 11:19:09 +00:00
subr_cpufreq.c Revert the revision 1.5 in cpufreq(9). Instead, document that the KPI can 2011-10-27 05:25:07 +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_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_disk.c phase 1 of disk geometry cleanup: 2013-05-29 00:47:48 +00:00
subr_evcnt.c Modify *ASSERTMSG() so they are now used as variadic macros. The main goal 2011-09-27 01:02:33 +00:00
subr_exec_fd.c kern/42030 - tracking of file descriptors by ktrace/kdump 2011-06-01 21:24:59 +00:00
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 Some constification. 2013-07-17 22:36:26 +00:00
subr_kmem.c - make debug size check more strict 2013-04-22 13:22:25 +00:00
subr_kobj_vfs.c Always provide a meaningful short name for the kobj in the error message, 2011-08-13 21:04:05 +00:00
subr_kobj.c size_t needs to printed with %zu 2012-12-30 20:52:20 +00:00
subr_lockdebug.c Revert change that allowed rw_tryenter(&lock, RW_READER) to recurse 2013-04-27 08:12:34 +00:00
subr_log.c
subr_lwp_specificdata.c
subr_once.c
subr_optstr.c
subr_pcq.c Revert to more readable but non-standard use of offsetof to calculate 2012-01-31 20:40:09 +00:00
subr_pcu.c Remove a debugging printf 2012-12-31 01:20:05 +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 In pool_cache_put_slow(), pool_get() can block (it does mutex_enter()), 2013-03-11 21:37:54 +00:00
subr_prf.c Move the DDB-specific part of vpanic() to a new db_panic() function, 2013-02-10 11:04:19 +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 modify parsing of device names so that it can deal with names which 2011-08-01 10:33:26 +00:00
subr_vmem.c Revert the previous commit. 2013-07-22 19:43:54 +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 xc_highpri: fix assert. 2013-04-07 00:31:40 +00:00
sys_aio.c Remove curproc == NULL test. 2011-02-17 19:02:50 +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
sys_process.c PR# kern/45330: ptrace: signals can alter syscall return values 2011-09-06 11:22:42 +00:00
sys_pset.c Remove LW_AFFINITY flag and fix some bugs affinity mask handling. 2011-08-07 21:13:05 +00:00
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 Properly differentiate between infinite timeout and zero timeout. 2013-03-08 09:32:59 +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 regen 2013-03-29 01:10:13 +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 Centralize the computation of struct timespec to the int timo. 2013-03-29 01:08:17 +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 Fix debug code to not use uninitialised variables. 2013-07-23 07:03:16 +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_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 Set tp->t_dev to the correct dev_t value in both ptmopen and ptsopen. 2012-10-20 00:21:10 +00:00
tty_subr.c - Introduce a sysctl to control the default tty queue size kern.tty.qsize, 2011-09-24 00:05:38 +00:00
tty_tty.c
tty.c printflike maintenance. 2013-02-09 00:31:21 +00:00
uipc_accf.c
uipc_domain.c Add sockaddr_format to ease debugging code dealing with socket 2013-01-31 14:30:47 +00:00
uipc_mbuf2.c Miscellaneous mbuf changes: 2011-08-08 19:10:33 +00:00
uipc_mbuf.c Make m_copydata panics more verbose 2013-06-28 01:23:05 +00:00
uipc_proto.c Add SOCK_SEQPACKET to PL_LOCAL sockets. Based on patch from Jesse Off, 2011-05-29 03:32:46 +00:00
uipc_sem.c Centralize the computation of struct timespec to the int timo. 2013-03-29 01:08:17 +00:00
uipc_socket2.c Make sbdrop panic more verbose 2013-06-28 01:23:38 +00:00
uipc_socket.c Fix an inversion in checking for authorization to drop TCP connections 2013-08-02 20:00:33 +00:00
uipc_syscalls.c use the proper name for kdump pretty-printing. 2013-06-03 23:45:31 +00:00
uipc_usrreq.c In unp_externalize, don't do anything if an SCM_RIGHTS control message 2013-08-01 19:33:21 +00:00
vfs_bio.c remove useless initialization 2013-06-28 15:34:21 +00:00
vfs_cache.c Excise struct componentname from the namecache. 2012-11-05 17:27:37 +00:00
vfs_cwd.c Support FD_CLOEXEC in rump kernels. 2011-02-15 15:54:28 +00:00
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 Stick UFS_ in front of these symbols: 2013-06-09 18:29:25 +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 Fix build with LOCKF_DEBUG on LP64 platforms; from Alexander Nasonov 2011-01-31 08:25:32 +00:00
vfs_lookup.c Add most system calls for POSIX extended API set, part 2, with test cases: 2012-11-18 17:41:51 +00:00
vfs_mount.c fix locking order mountlist_lock -> mnt_unmounting. 2013-04-28 21:34:31 +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 C99 section 6.7.2.3 (Tags) Note 3 states that: 2013-03-18 19:35:35 +00:00
vfs_syscalls.c Remove, in do_sys_renameat(), wrong KASSERTs that check for non NULL 2013-07-20 15:55:57 +00:00
vfs_trans.c Replace the rwlock based implementation with passive serialization 2013-01-21 09:14:01 +00:00
vfs_vnode.c Make the spec_node table implementation private to spec_vnops.c. 2013-02-13 14:03:48 +00:00
vfs_vnops.c Bring back Manuel Bouyers patch to resolve races between vget() and vrelel() 2012-11-12 11:00:07 +00:00
vfs_wapbl.c why didn't gcc find the formatting error? 2013-02-09 00:32:12 +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 regen 2013-07-17 21:21:34 +00:00
vnode_if.sh Additionally translate daddr_t to int64_t in the rumpvnode interface. 2013-07-17 21:20:53 +00:00
vnode_if.src Change the vnode locking protocol of VOP_GETATTR() to request at least 2011-10-14 09:23:28 +00:00