diff options
author | Aaron Bannert <aaron@apache.org> | 2001-11-02 22:49:35 +0100 |
---|---|---|
committer | Aaron Bannert <aaron@apache.org> | 2001-11-02 22:49:35 +0100 |
commit | 089f4840278064d45386e2aa110a558c7d1b8aa3 (patch) | |
tree | bf526d82e92821a3a1138eba3a3d5b775b3e16f9 /support/Makefile.in | |
parent | prevent loops & seg faults when GETs have chunked bodies. (diff) | |
download | apache2-089f4840278064d45386e2aa110a558c7d1b8aa3.tar.xz apache2-089f4840278064d45386e2aa110a558c7d1b8aa3.zip |
Forces suexec to be compiled statically. This is necessary since it
is difficult and sometimes impossible to relocate executables that
are both setuid and dependent on dynamically loaded libraries.
(that is: setuid binaries ignore LD_* environment variables).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91736 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/Makefile.in')
-rw-r--r-- | support/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/support/Makefile.in b/support/Makefile.in index 242403a7b5..c6ea832d87 100644 --- a/support/Makefile.in +++ b/support/Makefile.in @@ -46,7 +46,9 @@ checkgid_OBJECTS = checkgid.lo checkgid: $(checkgid_OBJECTS) $(LINK) $(checkgid_LTFLAGS) $(checkgid_OBJECTS) $(PROGRAM_LDADD) +# suexec must be statically compiled. Otherwise it is not relocatable, +# since LD_* environment variables are ignored in setuid programs. suexec_OBJECTS = suexec.lo suexec: $(suexec_OBJECTS) - $(LINK) $(suexec_OBJECTS) $(PROGRAM_LDADD) + $(LINK) -static $(suexec_OBJECTS) $(PROGRAM_LDADD) |