Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2001 23:13:48 -0800 (PST)
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/conf files src/sys/kern init_sysent.c kern_event.c kern_exec.c kern_exit.c syscalls.c syscalls.master sysv_msg.c sysv_sem.c sysv_shm.c uipc_socket2.c vfs_aio.c src/sys/modules Makefile src/sys/modules/aio Makefile src/sys/sys ...
Message-ID:  <200112290713.fBT7Dmv64008@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
alfred      2001/12/28 23:13:48 PST

  Modified files:
    sys/conf             files 
    sys/kern             init_sysent.c kern_event.c kern_exec.c 
                         kern_exit.c syscalls.c syscalls.master 
                         sysv_msg.c sysv_sem.c sysv_shm.c 
                         uipc_socket2.c vfs_aio.c 
    sys/modules          Makefile 
    sys/sys              aio.h event.h syscall.h syscall.mk 
                         sysent.h sysproto.h systm.h 
  Added files:
    sys/modules/aio      Makefile 
  Log:
  Make AIO a loadable module.
  
  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.
  
  Revision  Changes    Path
  1.591     +1 -1      src/sys/conf/files
  1.112     +8 -8      src/sys/kern/init_sysent.c
  1.34      +41 -2     src/sys/kern/kern_event.c
  1.147     +58 -0     src/sys/kern/kern_exec.c
  1.143     +0 -3      src/sys/kern/kern_exit.c
  1.99      +0 -0      src/sys/kern/syscalls.c
  1.101     +8 -8      src/sys/kern/syscalls.master
  1.36      +6 -6      src/sys/kern/sysv_msg.c
  1.41      +5 -5      src/sys/kern/sysv_sem.c
  1.68      +5 -5      src/sys/kern/sysv_shm.c
  1.80      +2 -0      src/sys/kern/uipc_socket2.c
  1.103     +85 -72    src/sys/kern/vfs_aio.c
  1.227     +1 -0      src/sys/modules/Makefile
  1.1       +8 -0      src/sys/modules/aio/Makefile (new)
  1.27      +3 -3      src/sys/sys/aio.h
  1.17      +3 -1      src/sys/sys/event.h
  1.97      +0 -0      src/sys/sys/syscall.h
  1.51      +0 -0      src/sys/sys/syscall.mk
  1.34      +5 -3      src/sys/sys/sysent.h
  1.88      +0 -0      src/sys/sys/sysproto.h
  1.159     +6 -0      src/sys/sys/systm.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112290713.fBT7Dmv64008>