httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa...@apache.org
Subject cvs commit: httpd-2.0/support Makefile.in
Date Fri, 02 Nov 2001 21:49:35 GMT
aaron       01/11/02 13:49:35

  Modified:    support  Makefile.in
  Log:
  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).
  
  Revision  Changes    Path
  1.29      +3 -1      httpd-2.0/support/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/Makefile.in,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- Makefile.in	2001/10/26 18:30:57	1.28
  +++ Makefile.in	2001/11/02 21:49:35	1.29
  @@ -46,7 +46,9 @@
   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)
   
  
  
  

Mime
View raw message