Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] Two little modifications

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Benoit Marchal <address@concealed>
  • To: Olivier Salaun <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-dev] Two little modifications
  • Date: Mon, 21 Jan 2002 11:20:46 +0100

Hi,

Benoit Marchal wrote:

> 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 :

> int main(int argn, char **argv, char**envp) {
> + argv[0] = WWSYMPA;
> execve( WWSYMPA, argv, envp);

We've applied your patch, thanks.

> A second modification : the makefile does not create the directory
> ~sympa/spool/msg/bad when I do 'make install'

bad/ is a subdirectory of spool/msg/ directory.
It is created at runtime.

No, sorry. I have a message in syslog like :

[dat] sympa[XXX] : Unable to open '~sympa/spool/msg/bad'spool : no such file or directory


--
Olivier Salaün
Comité Réseau des Universités

------------------------------------------------------------------------------
| 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 | |
------------------------------------------------------------------------------



Archive powered by MHonArc 2.6.19+.

Top of Page