aboutsummaryrefslogtreecommitdiff
path: root/libpwdgrp
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-07-22 08:56:55 +0000
committerEric Andersen <andersen@codepoet.org>2003-07-22 08:56:55 +0000
commit85e5e72bc1acd9d58c11bde6e14c8270cd9f169f (patch)
tree9971c6951256dd0bba5ff2a7db08ed6f65ef218d /libpwdgrp
parent0a14c9f924eaf6a64e78959a190d187d646b3c0c (diff)
downloadbusybox-w32-85e5e72bc1acd9d58c11bde6e14c8270cd9f169f.tar.gz
busybox-w32-85e5e72bc1acd9d58c11bde6e14c8270cd9f169f.tar.bz2
busybox-w32-85e5e72bc1acd9d58c11bde6e14c8270cd9f169f.zip
Remove remaining libc5 support code
Diffstat (limited to 'libpwdgrp')
-rw-r--r--libpwdgrp/setgroups.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libpwdgrp/setgroups.c b/libpwdgrp/setgroups.c
index c133849e8..449e811dc 100644
--- a/libpwdgrp/setgroups.c
+++ b/libpwdgrp/setgroups.c
@@ -30,12 +30,11 @@
30 _syscall* defined. */ 30 _syscall* defined. */
31#define __LIBRARY__ 31#define __LIBRARY__
32#include <sys/syscall.h> 32#include <sys/syscall.h>
33#if __GNU_LIBRARY__ < 5
34/* This is needed for libc5 */
35#include <asm/unistd.h>
36#endif
37#include "grp_.h" 33#include "grp_.h"
38 34
39//#define __NR_setgroups 81 35int setgroups(size_t size, const gid_t * list)
40_syscall2(int, setgroups, size_t, size, const gid_t *, list); 36{
37 return(syscall(__NR_setgroups, size, list));
38}
39
41 40