diff options
author | John Baldwin <jhb@FreeBSD.org> | 2005-01-05 22:19:44 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2005-01-05 22:19:44 +0000 |
commit | c88379381b6ff63a48997a18f1b146dae7f9a7f8 (patch) | |
tree | 2065f01a2c26ba653ecc3487d355c7dcb1791690 /sys/sys/syscallsubr.h | |
parent | 6a0fd84b508c4d09b53851577f61aea52e6434d8 (diff) | |
download | src-c88379381b6ff63a48997a18f1b146dae7f9a7f8.tar.gz src-c88379381b6ff63a48997a18f1b146dae7f9a7f8.zip |
- Move the function prototypes for kern_setrlimit() and kern_wait() to
sys/syscallsubr.h where all the other kern_foo() prototypes live.
- Resort kern_execve() while I'm there.
Notes
Notes:
svn path=/head/; revision=139739
Diffstat (limited to 'sys/sys/syscallsubr.h')
-rw-r--r-- | sys/sys/syscallsubr.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h index c583e086d1d7..bb9c5b67dd1c 100644 --- a/sys/sys/syscallsubr.h +++ b/sys/sys/syscallsubr.h @@ -35,6 +35,7 @@ struct mbuf; struct msghdr; +struct rlimit; struct rusage; struct sockaddr; @@ -49,6 +50,8 @@ int kern_chmod(struct thread *td, char *path, enum uio_seg pathseg, int kern_chown(struct thread *td, char *path, enum uio_seg pathseg, int uid, int gid); int kern_connect(struct thread *td, int fd, struct sockaddr *sa); +int kern_execve(struct thread *td, char *fname, char **argv, char **envv, + struct mac *mac_p); int kern_fcntl(struct thread *td, int fd, int cmd, intptr_t arg); int kern_futimes(struct thread *td, int fd, struct timeval *tptr, enum uio_seg tptrseg); @@ -80,6 +83,7 @@ int kern_select(struct thread *td, int nd, fd_set *fd_in, fd_set *fd_ou, fd_set *fd_ex, struct timeval *tvp); int kern_sendit(struct thread *td, int s, struct msghdr *mp, int flags, struct mbuf *control); +int kern_setrlimit(struct thread *, u_int, struct rlimit *); int kern_setsockopt(struct thread *td, int s, int level, int name, void *optval, enum uio_seg valseg, socklen_t valsize); int kern_shmat(struct thread *td, int shmid, const void *shmaddr, @@ -99,8 +103,8 @@ int kern_truncate(struct thread *td, char *path, enum uio_seg pathseg, int kern_unlink(struct thread *td, char *path, enum uio_seg pathseg); int kern_utimes(struct thread *td, char *path, enum uio_seg pathseg, struct timeval *tptr, enum uio_seg tptrseg); -int kern_execve(struct thread *td, char *fname, char **argv, char **envv, - struct mac *mac_p); +int kern_wait(struct thread *td, pid_t pid, int *status, int options, + struct rusage *rup); /* flags for kern_sigaction */ #define KSA_OSIGSET 0x0001 /* uses osigact_t */ |