1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* posix/unistd.h (setuid, setreuid, seteuid, setresuid):

Declare with warn_unused_result.
	(setgid, setregid, setegid, setresgid): Likewise.
	* sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
	Likewise.
	* WUR-REPORT: Remove set*id functions.
This commit is contained in:
Florian Weimer
2012-07-24 13:45:59 +02:00
parent b290216f09
commit 7e66ee5142
4 changed files with 19 additions and 21 deletions

View File

@ -25,10 +25,10 @@ __BEGIN_DECLS
/* Change uid used for file access control to UID, without affecting
other privileges (such as who can send signals at the process). */
extern int setfsuid (__uid_t __uid) __THROW;
extern int setfsuid (__uid_t __uid) __THROW __wur;
/* Ditto for group id. */
extern int setfsgid (__gid_t __gid) __THROW;
extern int setfsgid (__gid_t __gid) __THROW __wur;
__END_DECLS