mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +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:
parent
12c3b456d8
commit
e806b96511
10
configure
vendored
10
configure
vendored
@ -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
|
||||
|
10
configure.ac
10
configure.ac
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user