NetBSD/sys/kern
elad 0c67c581a5 Massive restructuring and cleanup of Veriexec, mainly in preparation
for work on some future functionality.

  - Veriexec data-structures are no longer exposed.

  - Thanks to using proplib for data passing now, the interface
    changes further to accomodate that.

    Introduce four new functions. First, veriexec_file_add(), to add
    a new file to be monitored by Veriexec, to replace both
    veriexec_load() and veriexec_hashadd(). veriexec_table_add(), to
    replace veriexec_newtable(), will be used to optimize hash table
    size (during preload), and finally, veriexec_convert(), to convert
    an internal entry to one userland can read.

  - Introduce veriexec_unmountchk(), to enforce Veriexec unmount
    policy. This cleans up a bit of code in kern/vfs_syscalls.c.

  - Rename veriexec_tblfind() with veriexec_table_lookup(), and make
    it static. More functions that became static: veriexec_fp_cmp(),
    veriexec_fp_calc().

  - veriexec_verify() no longer returns the entry as well, but just
    sets a boolean indicating whether an entry was found or not.

  - veriexec_purge() now takes a struct vnode *.

  - veriexec_add_fp_name() was merged into veriexec_add_fp_ops(), that
    changed its name to veriexec_fpops_add(). veriexec_find_ops() was
    also renamed to veriexec_fpops_lookup().

    Also on the fp-ops front, the three function types used to initialize,
    update, and finalize a hash context were renamed to
    veriexec_fpop_init_t, veriexec_fpop_update_t, and veriexec_fpop_final_t
    respectively.

  - Introduce a new malloc(9) type, M_VERIEXEC, and use it instead of
    M_TEMP, so we can tell exactly how much memory is used by Veriexec.

  - And, most importantly, whitespace and indentation nits.

Built successfuly for amd64, i386, sparc, and sparc64. Tested on amd64.
2006-11-30 01:09:47 +00:00
..
Make.tags.inc Skip computing tags on IP Filter while its compatibility #defines 2006-09-01 04:55:12 +00:00
Makefile
bufq_disksort.c
bufq_fcfs.c
bufq_priocscan.c
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 at the request of elad, as veriexec.h has returned, revert the changes 2006-07-26 09:33:57 +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
init_main.c I wanted to do this for so long: veriexec_init_fp_ops() -> veriexec_init(). 2006-11-26 16:22:36 +00:00
init_sysctl.c Move Veriexec's sysctl(9) setup routine and helper to kern_verifiedexec.c. 2006-11-27 17:45:36 +00:00
init_sysent.c regen 2006-10-17 15:07:21 +00:00
kern_acct.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_auth.c Provide a standard authorization wrapper for the device scope. 2006-11-19 00:11:29 +00:00
kern_clock.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_descrip.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_drvctl.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_event.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_exec.c Initial implementation of PaX Segvguard (this is still work-in-progress, 2006-11-22 02:02:51 +00:00
kern_exit.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_fileassoc.c compare pointer against null, not zero 2006-11-20 21:50:51 +00:00
kern_fork.c remove some __unused from function parameters. 2006-11-01 10:17:58 +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 Move ktrace, ptrace, systrace, and procfs to use kauth(9). 2006-11-28 17:27:09 +00:00
kern_lkm.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_lock.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_lwp.c - issignal(): acquire the kernel lock before inspecting signal state 2006-11-03 19:46:03 +00:00
kern_malloc.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_malloc_debug.c
kern_microtime.c
kern_ntptime.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_pax.c Initial implementation of PaX Segvguard (this is still work-in-progress, 2006-11-22 02:02:51 +00:00
kern_physio.c remove some __unused from function parameters. 2006-11-01 10:17:58 +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 remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_sa.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_sig.c Initial implementation of PaX Segvguard (this is still work-in-progress, 2006-11-22 02:02:51 +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 remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_systrace.c Kill process_checkioperm(). 2006-11-28 17:58:10 +00:00
kern_tc.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kern_time.c remove some __unused from function parameters. 2006-11-01 10:17:58 +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 Massive restructuring and cleanup of Veriexec, mainly in preparation 2006-11-30 01:09:47 +00:00
kern_xxx.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
kgdb_stub.c
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
subr_bufq.c
subr_callback.c
subr_devsw.c remove some __unused from function parameters. 2006-11-01 10:17:58 +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_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_evcnt.c
subr_extent.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
subr_iostat.c Change iostat_alloc() to take the parent pointer and the name directly, so 2006-08-23 17:19:32 +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
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 remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
subr_specificdata.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
subr_userconf.c
subr_vmem.c qc_reap, qc_destroy: simplify. 2006-11-18 07:51:54 +00:00
subr_workqueue.c remove some __unused from function parameters. 2006-11-01 10:17:58 +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 Kill process_checkioperm(). 2006-11-28 17:58:10 +00:00
sys_socket.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
syscalls.c regen 2006-10-17 15:07:21 +00:00
syscalls.conf
syscalls.master according to the manual, the last argument of quotactl(2) is a void *, 2006-10-17 15:06:18 +00:00
sysv_ipc.c PR/34837: Mindaguas: Add SysV SHM dynamic reallocation and locking to the 2006-11-25 21:40:04 +00:00
sysv_msg.c remove some __unused from function parameters. 2006-11-01 10:17:58 +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.c Avoid NULL deref (this is called with lwp=NULL from ppp interrupt context) 2006-09-13 13:28:22 +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 remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
tty_pty.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
tty_subr.c
tty_tty.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
uipc_domain.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_mbuf2.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 remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
uipc_socket.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
uipc_socket2.c remove some __unused from function parameters. 2006-11-01 10:17:58 +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 enable namecache enter reverse for linux procfs lookups. 2006-10-25 18:56:38 +00:00
vfs_getcwd.c Defer the vnode test for directory until after the cache lookup. This makes 2006-10-25 18:55:49 +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 Add "@uid" keyword translation, to translate effective user-id of the 2006-11-04 10:14:00 +00:00
vfs_subr.c Add specificdata support to mount points. 2006-11-17 17:05:18 +00:00
vfs_syscalls.c Massive restructuring and cleanup of Veriexec, mainly in preparation 2006-11-30 01:09:47 +00:00
vfs_vnops.c Massive restructuring and cleanup of Veriexec, mainly in preparation 2006-11-30 01:09:47 +00:00
vfs_xattr.c remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
vnode_if.c Fix alignement problems for fhandle_t, exposed by gcc4.1. 2006-07-13 12:00:24 +00:00
vnode_if.sh
vnode_if.src