mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
21d56e9c33
Remove the explicit call to aio_proc_rundown() from exit1(), instead AIO will use at_exit(9). Add functions at_exec(9), rm_at_exec(9) which function nearly the same as at_exec(9) and rm_at_exec(9), these functions are called on behalf of modules at the time of execve(2) after the image activator has run. Use a modified version of tegge's suggestion via at_exec(9) to close an exploitable race in AIO. Fix SYSCALL_MODULE_HELPER such that it's archetecuterally neutral, the problem was that one had to pass it a paramater indicating the number of arguments which were actually the number of "int". Fix it by using an inline version of the AS macro against the syscall arguments. (AS should be available globally but we'll get to that later.) Add a primative system for dynamically adding kqueue ops, it's really not as sophisticated as it should be, but I'll discuss with jlemon when he's around.
9 lines
118 B
Makefile
9 lines
118 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../kern
|
|
|
|
KMOD= aio
|
|
SRCS= vfs_aio.c opt_vfs_aio.h vnode_if.h
|
|
|
|
.include <bsd.kmod.mk>
|