]> granicus.if.org Git - sudo/commitdiff
kill crufty AIX stuff
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 5 Aug 1999 14:25:35 +0000 (14:25 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 5 Aug 1999 14:25:35 +0000 (14:25 +0000)
compat.h

index 5822a6c4ec3239019648675c2f8be461a6a6a49a..fa5329dcc78fda234dd1167a7410290d34e2d41d 100644 (file)
--- a/compat.h
+++ b/compat.h
 #define MAX(a,b) (((a)>(b))?(a):(b))
 #endif
 
-/*
- * Emulate seteuid() for AIX via setuidx() -- needed for some versions of AIX
- */
-#ifdef _AIX
-#  include <sys/id.h>
-#  define seteuid(_EUID)       (setuidx(ID_EFFECTIVE|ID_REAL, _EUID))
-#  undef HAVE_SETEUID
-#  define HAVE_SETEUID         1
-#endif /* _AIX */
-
 /*
  * Emulate seteuid() for HP-UX via setresuid(2) and seteuid(2) for others.
  */