diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-13 07:11:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-13 07:11:34 +0000 |
commit | 21b75f6ea537e499bafbcd70011a9d300c54452f (patch) | |
tree | f91c7e1f29016e36796ab73c132867a509f3df8d | |
parent | d2279fb6e2482b1a5f7780b7a6bf0f393e6040f3 (diff) |
sync
-rw-r--r-- | sys/kern/init_sysent.c | 4 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 3 | ||||
-rw-r--r-- | sys/sys/syscall.h | 5 | ||||
-rw-r--r-- | sys/sys/syscallargs.h | 7 |
4 files changed, 14 insertions, 5 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 800cb975353..c911d79ed22 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -2,7 +2,7 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.16 1997/08/29 20:44:24 kstailey Exp + * created from OpenBSD: syscalls.master,v 1.17 1997/11/13 07:11:12 deraadt Exp */ #include <sys/param.h> @@ -652,5 +652,7 @@ struct sysent sysent[] = { sys_issetugid }, /* 253 = issetugid */ { 3, s(struct sys_lchown_args), sys_lchown }, /* 254 = lchown */ + { 1, s(struct sys_getsid_args), + sys_getsid }, /* 255 = getsid */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 82cdb12ae98..70ee2f01918 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -2,7 +2,7 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.16 1997/08/29 20:44:24 kstailey Exp + * created from OpenBSD: syscalls.master,v 1.17 1997/11/13 07:11:12 deraadt Exp */ char *syscallnames[] = { @@ -335,4 +335,5 @@ char *syscallnames[] = { "poll", /* 252 = poll */ "issetugid", /* 253 = issetugid */ "lchown", /* 254 = lchown */ + "getsid", /* 255 = getsid */ }; diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 808f0ac4e20..c0e818c7183 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.16 1997/08/29 20:44:24 kstailey Exp + * created from OpenBSD: syscalls.master,v 1.17 1997/11/13 07:11:12 deraadt Exp */ #define SYS_syscall 0 @@ -216,4 +216,5 @@ #define SYS_poll 252 #define SYS_issetugid 253 #define SYS_lchown 254 -#define SYS_MAXSYSCALL 255 +#define SYS_getsid 255 +#define SYS_MAXSYSCALL 256 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index 2ebf11f8727..c98ba640161 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -2,7 +2,7 @@ * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.16 1997/08/29 20:44:24 kstailey Exp + * created from OpenBSD: syscalls.master,v 1.17 1997/11/13 07:11:12 deraadt Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -999,6 +999,10 @@ struct sys_lchown_args { syscallarg(int) gid; }; +struct sys_getsid_args { + syscallarg(pid_t) pid; +}; + /* * System call prototypes. */ @@ -1254,3 +1258,4 @@ int sys_rfork __P((struct proc *, void *, register_t *)); int sys_poll __P((struct proc *, void *, register_t *)); int sys_issetugid __P((struct proc *, void *, register_t *)); int sys_lchown __P((struct proc *, void *, register_t *)); +int sys_getsid __P((struct proc *, void *, register_t *)); |