diff options
author | Andreas Schneider <asn@samba.org> | 2011-10-08 10:52:02 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2011-10-27 13:32:01 +0200 |
commit | f53096032d271360225b71a4bd258f717ac8d6e2 (patch) | |
tree | 051ad0cefbdbc2554ebdcbfcbc364f6361d214d0 /lib/uid_wrapper/uid_wrapper.h | |
parent | 0c4089bd1aa231b3b29521f6f932a81b5ea8ccc4 (diff) | |
download | samba-f53096032d271360225b71a4bd258f717ac8d6e2.tar.gz samba-f53096032d271360225b71a4bd258f717ac8d6e2.tar.bz2 samba-f53096032d271360225b71a4bd258f717ac8d6e2.zip |
uid_wrapper: Add uwrap_setresgid().
Diffstat (limited to 'lib/uid_wrapper/uid_wrapper.h')
-rw-r--r-- | lib/uid_wrapper/uid_wrapper.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/uid_wrapper/uid_wrapper.h b/lib/uid_wrapper/uid_wrapper.h index 27b7abccb3..7cb97af8df 100644 --- a/lib/uid_wrapper/uid_wrapper.h +++ b/lib/uid_wrapper/uid_wrapper.h @@ -1,5 +1,6 @@ /* Copyright (C) Andrew Tridgell 2009 + Copyright (c) 2011 Andreas Schneider <asn@samba.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -57,6 +58,11 @@ gid_t uwrap_getgid(void); #endif #define setregid uwrap_setregid +#ifdef setresgid +#undef setresgid +#endif +#define setresgid uwrap_setresgid + #ifdef geteuid #undef geteuid #endif |