aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/syscallsubr.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2005-01-05 22:19:44 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2005-01-05 22:19:44 +0000
commitc88379381b6ff63a48997a18f1b146dae7f9a7f8 (patch)
tree2065f01a2c26ba653ecc3487d355c7dcb1791690 /sys/sys/syscallsubr.h
parent6a0fd84b508c4d09b53851577f61aea52e6434d8 (diff)
downloadsrc-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.h8
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 */