mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-02 23:35:36 +00:00
added HAS_SAVED_UID
This commit is contained in:
8
sudo.h
8
sudo.h
@@ -92,6 +92,9 @@
|
||||
USE_CWD if you have getcwd() and not getwd()
|
||||
(defined by default for hpux)
|
||||
|
||||
HAS_SAVED_UID if you have saved uid
|
||||
(defined by default for hpux)
|
||||
|
||||
USE_TERMIO if you have sysV terminal control
|
||||
(defined by default for hpux and irix)
|
||||
|
||||
@@ -299,10 +302,13 @@ extern int errno;
|
||||
*/
|
||||
#ifdef hpux
|
||||
# define getdtablesize() (sysconf(_SC_OPEN_MAX))
|
||||
#define seteuid(__EUID) (setresuid((uid_t)-1, __EUID, (uid_t)-1))
|
||||
# define setreuid(__RUID, __EUID) (setresuid(__RUID, __EUID, (uid_t)-1))
|
||||
# ifndef USE_CWD
|
||||
# define USE_CWD
|
||||
# endif /* USE_CWD */
|
||||
# ifndef HAS_SAVED_UID
|
||||
# define HAS_SAVED_UID
|
||||
# endif /* HAS_SAVED_UID */
|
||||
#endif /* hpux */
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user