From 51276d205ee0071c8fcc0f970c5d768d71211bdd Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 3 Aug 2010 15:46:52 +0000 Subject: 2010-08-03 Joel Sherrill PR 1649/cpukit * libcsupport/Makefile.am, libcsupport/src/getgid.c: Make sure all get and set gid and egid routines are present and in their own files. * libcsupport/src/setegid.c, libcsupport/src/setgid.c: New files. --- cpukit/libcsupport/src/getgid.c | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'cpukit/libcsupport/src/getgid.c') diff --git a/cpukit/libcsupport/src/getgid.c b/cpukit/libcsupport/src/getgid.c index 653445a99c..7074e765e5 100644 --- a/cpukit/libcsupport/src/getgid.c +++ b/cpukit/libcsupport/src/getgid.c @@ -6,42 +6,13 @@ #include "config.h" #endif -#include -#include -#include - -#include -#include -#include - #include /* - * MACRO in userenv.h - * -gid_t _POSIX_types_Gid = 0; -*/ - -/*PAGE - * * 4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs, * P1003.1b-1993, p. 84 */ - gid_t getgid( void ) { return _POSIX_types_Gid; } - -/*PAGE - * - * 4.2.2 Set User and Group IDs, P1003.1b-1993, p. 84 - */ - -int setgid( - gid_t gid -) -{ - _POSIX_types_Gid = gid; - return 0; -} -- cgit v1.2.3