summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/PORTING
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/sudo/PORTING')
-rw-r--r--usr.bin/sudo/PORTING6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/sudo/PORTING b/usr.bin/sudo/PORTING
index 861e0c03ea7..4c3ecdebd80 100644
--- a/usr.bin/sudo/PORTING
+++ b/usr.bin/sudo/PORTING
@@ -21,6 +21,12 @@ the POSIX sysconf(2) it will be used instead of getdtablesize(2).
ulimit(2) or getrlimit(2) can also be used on some OS's. If all
else fails you can use the value of NOFILE in <sys/param.h>.
+Also, some operating systems have a broken implementation of POSIX
+saved IDs. If sudo prints the error message "seteuid(0): Operation
+not permitted" this means saved IDs are not implemented properly.
+You should run configure with the "--disable-saved-ids" option and
+rebuild sudo.
+
Sudo tries to clear the environment of dangerous environment variables
such as LD_* to prevent shared library spoofing. If you are porting
sudo to a new OS that has shared libraries you'll want to mask out