aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/ntlib.h
diff options
context:
space:
mode:
authorJuanma Barranquero <[email protected]>2010-04-03 04:16:16 +0200
committerJuanma Barranquero <[email protected]>2010-04-03 04:16:16 +0200
commit6f5b06547bade0b1c146795b84ca15d7ee8ad2a6 (patch)
tree7846b18c646d6ed8118eb1ce0f0d2d2295dd5391 /lib-src/ntlib.h
parentd86d8ea85a165558eb06fe16ffdf24c06886e7b4 (diff)
Add stubs for Windows, required after CVE-2010-0825 change.
* ntlib.c (getgid, getegid, setegid): New stubs. * ntlib.h (getgid, getegid, setegid): Declare them.
Diffstat (limited to 'lib-src/ntlib.h')
-rw-r--r--lib-src/ntlib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib-src/ntlib.h b/lib-src/ntlib.h
index 70b99d7a77..ab1e7ba286 100644
--- a/lib-src/ntlib.h
+++ b/lib-src/ntlib.h
@@ -36,7 +36,10 @@ int getppid(void);
char * getlogin ();
char * cuserid (char * s);
unsigned getuid ();
+unsigned getegid ();
+unsigned getgid ();
int setuid (unsigned uid);
+int setegid (unsigned gid);
char * getpass (const char * prompt);
int fchown (int fd, unsigned uid, unsigned gid);