2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

Make dynamic shared objects non-writable on HP-UX. Using writable

DSOs can substantially increase the load time.
This commit is contained in:
Todd C. Miller 2014-07-08 10:03:47 -06:00
parent 12c3b456d8
commit e806b96511
2 changed files with 12 additions and 8 deletions

10
configure vendored
View File

@ -14382,8 +14382,9 @@ done
INIT_DIR=/sbin/init.d
RC_LINK=/sbin/rc2.d/S900sudo
# HP-UX shared libs must be executable
SHLIB_MODE=0755
# HP-UX shared libs must be executable.
# Load time is much greater if writable so use 0555.
SHLIB_MODE=0555
for ac_func in pstat_getproc
do :
@ -14410,8 +14411,9 @@ done
INIT_DIR=/sbin/init.d
RC_LINK=/sbin/rc2.d/S900sudo
# HP-UX shared libs must be executable
SHLIB_MODE=0755
# HP-UX shared libs must be executable.
# Load time is much greater if writable so use 0555.
SHLIB_MODE=0555
# The HP bundled compiler cannot generate shared libs
if test -z "$GCC"; then

View File

@ -1712,8 +1712,9 @@ case "$host" in
INIT_DIR=/sbin/init.d
RC_LINK=/sbin/rc2.d/S900sudo
# HP-UX shared libs must be executable
SHLIB_MODE=0755
# HP-UX shared libs must be executable.
# Load time is much greater if writable so use 0555.
SHLIB_MODE=0555
AC_CHECK_FUNCS(pstat_getproc)
;;
@ -1730,8 +1731,9 @@ case "$host" in
INIT_DIR=/sbin/init.d
RC_LINK=/sbin/rc2.d/S900sudo
# HP-UX shared libs must be executable
SHLIB_MODE=0755
# HP-UX shared libs must be executable.
# Load time is much greater if writable so use 0555.
SHLIB_MODE=0555
# The HP bundled compiler cannot generate shared libs
if test -z "$GCC"; then