diff options
author | peter <peter@FreeBSD.org> | 2000-01-16 16:34:26 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-01-16 16:34:26 +0000 |
commit | 75fd4c5f10152ce44c0a9766b0a2ee69c031863c (patch) | |
tree | 683e7b278db56ec759e375511f0a47a218d026ab /sys/kern/init_sysent.c | |
parent | 0a471babfd2ee10ac34f0f0baabe891c439ec2e9 (diff) | |
download | FreeBSD-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/init_sysent.c')
-rw-r--r-- | sys/kern/init_sysent.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index b0b528c..89eb179 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -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 */ #include "opt_compat.h" @@ -331,8 +331,8 @@ struct sysent sysent[] = { { 2, (sy_call_t *)kldstat }, /* 308 = kldstat */ { 1, (sy_call_t *)kldfirstmod }, /* 309 = kldfirstmod */ { 1, (sy_call_t *)getsid }, /* 310 = getsid */ - { 0, (sy_call_t *)nosys }, /* 311 = setresuid */ - { 0, (sy_call_t *)nosys }, /* 312 = setresgid */ + { 3, (sy_call_t *)setresuid }, /* 311 = setresuid */ + { 3, (sy_call_t *)setresgid }, /* 312 = setresgid */ { 0, (sy_call_t *)nosys }, /* 313 = obsolete signanosleep */ { 1, (sy_call_t *)aio_return }, /* 314 = aio_return */ { 3, (sy_call_t *)aio_suspend }, /* 315 = aio_suspend */ @@ -380,4 +380,6 @@ struct sysent sysent[] = { { 4, (sy_call_t *)extattr_get_file }, /* 357 = extattr_get_file */ { 2, (sy_call_t *)extattr_delete_file }, /* 358 = extattr_delete_file */ { 2, (sy_call_t *)aio_waitcomplete }, /* 359 = aio_waitcomplete */ + { 3, (sy_call_t *)getresuid }, /* 360 = getresuid */ + { 3, (sy_call_t *)getresgid }, /* 361 = getresgid */ }; |