Subject: Developers of Sympa
List archive
- From: Benoit Marchal <address@concealed>
- To: address@concealed
- Subject: Two little modifications
- Date: Mon, 21 Jan 2002 10:56:40 +0100
Hello,
In documentation, at page 52, of sympa 3.3.3, we find a little C program to execute suid script. On my Sun with Solaris 2.7, that don't execute correctly because the first argument of execve must the same that the first value of the table 'argv'. So I propose this modification :
----
#include <unistd.h>
#define WWSYMPA "/home/sympa/bin/wwwsympa.fcgi"
int main(int argn, char **argv, char**envp) {
argv[0] = WWSYMPA;
execve( WWSYMPA, argv, envp);
}
---
A second modification : the makefile does not create the directory ~sympa/spool/msg/bad when I do 'make install'
Thanks
------------------------------------------------------------------------------
| Benoît Marchal | Tel : (33) 03.83.59.55.75 |
| E.N.S.E.M. | Fax : (33) 03.83.44.07.63 |
| 2, Avenue de la Forêt de Haye | E-mail: address@concealed |
| F-54516 Vandoeuvre-les-Nancy | |
------------------------------------------------------------------------------
-
Two little modifications,
Benoit Marchal, 01/21/2002
-
Re: [sympa-dev] Two little modifications,
Olivier Salaun, 01/21/2002
- Re: [sympa-dev] Two little modifications, Benoit Marchal, 01/21/2002
-
Re: [sympa-dev] Two little modifications,
Olivier Salaun, 01/21/2002
Archive powered by MHonArc 2.6.19+.