diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2010-04-03 04:16:16 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2010-04-03 04:16:16 +0200 |
commit | 6f5b06547bade0b1c146795b84ca15d7ee8ad2a6 (patch) | |
tree | 7846b18c646d6ed8118eb1ce0f0d2d2295dd5391 /lib-src/ntlib.h | |
parent | d86d8ea85a165558eb06fe16ffdf24c06886e7b4 (diff) | |
download | emacs-6f5b06547bade0b1c146795b84ca15d7ee8ad2a6.tar.gz |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib-src/ntlib.h b/lib-src/ntlib.h index 70b99d7a779..ab1e7ba2866 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); |