NetBSD/sys/kern
chs 0507747213 more fixes for the new vnode locking scheme:
- don't use SAVESTART in calls to relookup() from unionfs,
   just vref() the desired vnode when we need to.
 - fix locking and refcounting in the unionfs EEXIST error cases.
 - release any vnode locks before calling VFS_ROOT(), vfs_busy() is enough.
   this allows us to simplify union_root() and fix PR 3006.
 - union_lock() doesn't handle shared lock requests correctly,
   so convert them to exclusive instead.  fixes PR 34775.
 - in relookup(), avoid reusing "dp" for different purposes,
   the error handling wasn't right.  (actually just get rid of dp.)
   also, change relookup() to ignore LOCKLEAF and always return the
   vnode locked since the callers already expect this.
2007-02-04 15:03:20 +00:00
..
bufq_disksort.c Avoid unnecessary cast in bufq_disksort_init(). 2007-02-01 00:36:37 +00:00
bufq_fcfs.c
bufq_priocscan.c use consistent order of function specifiers and type specifiers. 2006-05-22 12:42:01 +00:00
bufq_readprio.c
cnmagic.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
core_elf32.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
core_elf64.c
core_netbsd.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
exec_aout.c
exec_conf.c Make this compile under "no options COREDUMP". 2006-08-30 14:41:06 +00:00
exec_ecoff.c
exec_elf32.c Put back break mistakenly removed in previous commit. 2006-11-24 01:13:11 +00:00
exec_elf64.c
exec_macho.c Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00
exec_script.c Remove the third argument from check_exec() and just check for ep_flags 2006-12-20 11:35:29 +00:00
exec_subr.c add support for O_DIRECT (I/O directly to application memory, 2006-10-05 14:48:32 +00:00
genlintstub.awk Rewrite to support LINTSTUB in multiline comments. 2006-01-22 05:11:11 +00:00
init_main.c Add a comment to indicate the reason for kauth_init() and secmodel_start() 2007-01-27 22:54:58 +00:00
init_sysctl.c Don't rely on KAUTH_PROCESS_CANSEE for environment just yet, 2007-01-22 15:11:52 +00:00
init_sysent.c Regen. 2007-01-16 05:29:54 +00:00
kern_acct.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_auth.c Fix notify only logic for credentials scope. Thanks ad@! 2007-01-31 16:30:09 +00:00
kern_clock.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_descrip.c ffree(): don't call kauth_cred_free() with a held simplelock. 2007-01-31 16:00:43 +00:00
kern_drvctl.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_event.c Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 16:55:29 +00:00
kern_exec.c Use ndp->ni_cnd.cn_pnbuf, not epp->ep_ndp->ni_dirp, for the pathname 2006-12-23 17:23:51 +00:00
kern_exit.c lwp::l_acflag is no longer useful. 2006-12-22 08:04:01 +00:00
kern_fileassoc.c Add missing specificdata_key_delete() in fileassoc_deregister(). 2007-01-26 12:36:46 +00:00
kern_fork.c Introduce kauth_proc_fork() to control credential inheritance. 2007-01-15 17:45:32 +00:00
kern_kcont.c
kern_ksyms.c Pass a simple ELF header to ksyms_init_explicit with the minimum contents 2006-11-06 13:35:35 +00:00
kern_kthread.c
kern_ktrace.c Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 16:55:29 +00:00
kern_lkm.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_lock.c lockstat: improve reporting slightly, and fix a bug where the command 2006-12-25 11:57:40 +00:00
kern_lwp.c lwp_update_creds(): acquire the kernel lock to avoid potential deadlock. 2006-12-23 08:39:47 +00:00
kern_malloc_debug.c
kern_malloc.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_microtime.c merge FreeBSD timecounters from branch simonb-timecounters 2006-06-07 22:33:33 +00:00
kern_ntptime.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_pax.c Remove advertising clause from all of my stuff. 2007-01-09 12:49:36 +00:00
kern_physio.c merge yamt-splraiseipl branch. 2006-12-21 15:55:21 +00:00
kern_proc.c pool_get(): use PR_WAITOK, not M_WAITOK (which happens to be PR_NOWAIT ..) 2006-10-21 17:01:56 +00:00
kern_prot.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_ras.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_resource.c Kill KAUTH_PROCESS_RESOURCE and just replace it with two actions for 2007-01-20 16:47:38 +00:00
kern_sa.c CID-4284: check for 'kup != NULL' after kmem_zalloc() returns 2006-12-26 00:10:40 +00:00
kern_sig.c Plug another memory leak in __sigtimedwait1() which is introduced 2007-01-10 07:58:27 +00:00
kern_subr.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_synch.c - ltsleep(): for now, stay at splsched() when releasing sched_lock, or we 2006-11-03 20:46:00 +00:00
kern_sysctl.c Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 16:55:29 +00:00
kern_systrace.c Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 16:55:29 +00:00
kern_tc.c Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 16:55:29 +00:00
kern_time.c remove nqnfs. 2006-12-27 12:10:09 +00:00
kern_timeout.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_todr.c Minor KNF, replace some spaces with tabs. 2006-09-24 18:24:55 +00:00
kern_uuid.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_verifiedexec.c veriexec_file_delete() and veriexec_table_delete() now take 'struct lwp *' 2007-01-11 16:24:47 +00:00
kern_xxx.c one more cast. 2007-01-06 20:40:58 +00:00
kgdb_stub.c
Make.tags.inc Skip computing tags on IP Filter while its compatibility #defines 2006-09-01 04:55:12 +00:00
Makefile
makesyscalls.sh
subr_autoconf.c remove details of the kernel malloc() implementation from header files: 2006-10-02 02:59:38 +00:00
subr_blist.c blst_meta_fill: fix an assertion. PR/32580 from Nick Hudson. 2006-01-20 14:19:40 +00:00
subr_bufq.c
subr_callback.c add a comment telling which structure members are zero-initialized, 2006-06-23 16:17:23 +00:00
subr_devsw.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
subr_disk_mbr.c Replace the myriad copies of bounds_check_with_label() with a single MI 2006-11-25 11:59:55 +00:00
subr_disk.c Replace the myriad copies of bounds_check_with_label() with a single MI 2006-11-25 11:59:55 +00:00
subr_evcnt.c
subr_extent.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
subr_iostat.c iostat: avoid sleeping with a held simple_lock. 2006-12-07 20:23:38 +00:00
subr_kmem.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
subr_log.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
subr_once.c - tweak RUN_ONCE api to allow init_func returns an error. 2006-01-16 21:45:38 +00:00
subr_optstr.c Fix matching of options with common prefixes (e.g. console and console_speed). 2006-11-04 11:37:12 +00:00
subr_pool.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
subr_prf.c Fix %X in kernel printf, from Arnaud Degroote in PR kern/34459. 2006-09-03 17:06:36 +00:00
subr_prof.c add missing initializer. 2006-12-13 16:51:27 +00:00
subr_specificdata.c Fix tyop in comment: specifidata -> specificdata. 2007-01-25 13:58:40 +00:00
subr_userconf.c
subr_vmem.c qc_reap, qc_destroy: simplify. 2006-11-18 07:51:54 +00:00
subr_workqueue.c merge yamt-splraiseipl branch. 2006-12-21 15:55:21 +00:00
subr_xxx.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
sys_generic.c selcommon(), pollcommon(): restore the correct signal mask on failure. 2006-11-20 15:16:22 +00:00
sys_pipe.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
sys_pmc.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
sys_process.c Refactor a bit the ptrace(2) code: first make the keep-kernel-stable 2006-12-27 10:02:46 +00:00
sys_sched.c #include <sys/sa.h> to get sys_upcall_t def. 2007-01-16 20:12:40 +00:00
sys_socket.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
syscalls.c Regen. 2007-01-16 05:29:54 +00:00
syscalls.conf
syscalls.master Add sched_yield(). 2007-01-16 05:28:45 +00:00
sysv_ipc.c Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 16:55:29 +00:00
sysv_msg.c Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 16:55:29 +00:00
sysv_sem.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
sysv_shm.c Avoid sleeping with a held simple_lock. 2006-11-28 20:35:16 +00:00
tty_bsdpty.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
tty_conf.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
tty_ptm.c CID-4197,4198: ensure that `fp' is not NULL before calling FILE_UNUSE() 2006-12-27 18:45:30 +00:00
tty_pty.c Use KAUTH_DEVICE_TTY_OPEN instead of comparing euid to zero. 2006-12-22 21:56:19 +00:00
tty_subr.c
tty_tty.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
tty.c Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 16:55:29 +00:00
uipc_domain.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
uipc_mbuf2.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
uipc_mbuf.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
uipc_proto.c use c99 initializers 2006-09-03 21:12:14 +00:00
uipc_sem.c Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 16:55:29 +00:00
uipc_socket2.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
uipc_socket.c Use KAUTH_ARG(). 2007-01-17 12:21:34 +00:00
uipc_syscalls.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
uipc_usrreq.c Pointing one element past an array is fine, pointing before it isn't. 2006-11-01 11:37:59 +00:00
vfs_bio.c Export nestiobuf_iodone(). This allows nested iobufs to have a custom 2006-11-14 15:50:00 +00:00
vfs_cache.c a smorgasbord of improvements to vnode locking and path lookup: 2006-12-09 16:11:50 +00:00
vfs_getcwd.c a smorgasbord of improvements to vnode locking and path lookup: 2006-12-09 16:11:50 +00:00
vfs_hooks.c
vfs_init.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
vfs_lockf.c Fix all the -D*DEBUG* code that it was rotting away and did not even compile. 2006-08-17 17:11:27 +00:00
vfs_lookup.c more fixes for the new vnode locking scheme: 2007-02-04 15:03:20 +00:00
vfs_subr.c New file system suspension API to replace vn_start_write and vn_finished_write. 2007-01-19 14:49:08 +00:00
vfs_syscalls.c more fixes for the new vnode locking scheme: 2007-02-04 15:03:20 +00:00
vfs_trans.c Change fstrans enum types to upper case. 2007-01-29 15:42:50 +00:00
vfs_vnops.c New file system suspension API to replace vn_start_write and vn_finished_write. 2007-01-19 14:49:08 +00:00
vfs_xattr.c Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 16:55:29 +00:00
vnode_if.c regen for VOP_FOO_DESCOFFSET change in vnode_if.sh 2006-11-30 21:07:36 +00:00
vnode_if.sh Generate preprocessor macros for vop offsets in vfs op descs. And 2006-11-30 21:06:29 +00:00
vnode_if.src update some comments for vnode locking smoergasbord change 2007-01-07 21:33:24 +00:00