summaryrefslogtreecommitdiffstats
path: root/sys/kern/syscalls.master
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-01-16 16:34:26 +0000
committerpeter <peter@FreeBSD.org>2000-01-16 16:34:26 +0000
commit75fd4c5f10152ce44c0a9766b0a2ee69c031863c (patch)
tree683e7b278db56ec759e375511f0a47a218d026ab /sys/kern/syscalls.master
parent0a471babfd2ee10ac34f0f0baabe891c439ec2e9 (diff)
downloadFreeBSD-src-75fd4c5f10152ce44c0a9766b0a2ee69c031863c.zip
FreeBSD-src-75fd4c5f10152ce44c0a9766b0a2ee69c031863c.tar.gz
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.
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r--sys/kern/syscalls.master6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index df23a4d..6ca47cf 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -443,8 +443,8 @@
308 STD BSD { int kldstat(int fileid, struct kld_file_stat* stat); }
309 STD BSD { int kldfirstmod(int fileid); }
310 STD BSD { int getsid(pid_t pid); }
-311 UNIMPL NOHIDE setresuid
-312 UNIMPL NOHIDE setresgid
+311 STD BSD { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
+312 STD BSD { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
313 OBSOL NOHIDE signanosleep
314 STD BSD { int aio_return(struct aiocb *aiocbp); }
315 STD BSD { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
@@ -498,3 +498,5 @@
357 STD BSD { int extattr_get_file(char *path, char *attrname, struct iovec *iovp, u_int iovcnt); }
358 STD BSD { int extattr_delete_file(char *path, char *attrname); }
359 STD BSD { int aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); }
+360 STD BSD { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
+361 STD BSD { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
OpenPOWER on IntegriCloud