From 75fd4c5f10152ce44c0a9766b0a2ee69c031863c Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 16 Jan 2000 16:34:26 +0000 Subject: Implement setres[ug]id() and getres[ug]id(). This has been sitting in my tree for ages (~2 years) waiting for an excuse to commit it. Now Linux has implemented it and it seems that Staroffice (when using the linux_base6.1 port's libc) calls this in the linux emulator and dies in setup. The Linux emulator can call these now. --- sys/sys/syscall.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sys/sys/syscall.h') diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index c3dcd0c..eee91cb 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.69 1999/12/21 20:21:11 alfred Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.71 2000/01/16 16:30:50 peter Exp */ #define SYS_syscall 0 @@ -236,6 +236,8 @@ #define SYS_kldstat 308 #define SYS_kldfirstmod 309 #define SYS_getsid 310 +#define SYS_setresuid 311 +#define SYS_setresgid 312 /* 313 is obsolete signanosleep */ #define SYS_aio_return 314 #define SYS_aio_suspend 315 @@ -280,4 +282,6 @@ #define SYS_extattr_get_file 357 #define SYS_extattr_delete_file 358 #define SYS_aio_waitcomplete 359 -#define SYS_MAXSYSCALL 360 +#define SYS_getresuid 360 +#define SYS_getresgid 361 +#define SYS_MAXSYSCALL 362 -- cgit v1.1