httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn <gs-apache-...@gluelogic.com>
Subject Re: [PATCH 1.3] Add Solaris 9 Resource management features in suexec.c
Date Mon, 12 May 2003 15:07:59 GMT
[patch deleted; implemented Solaris 9 resource management with /bin/newtask]

Why exec an additional program (/bin/newtask) when setproject() could be
used instead?  The only difference of setproject() from the patch posted
to this list is that /bin/newtask with -l creates the login environment,
which is probably not desired.

newtask(1)
  http://docs.sun.com/db/doc/816-0210/6m6nb7mfg?a=view

setproject(3PROJECT)
  http://docs.sun.com/db/doc/816-0217/6m6nhtaq8?a=view


FYI, for FreeBSD there is a patch to suexec to use login classes that is
languishing from Oct 2000 (http://bugs.apache.org/index.cgi/full/6673),
and adding PAM (pam_limits.so) support to suexec would be straightforward,
too.

Cheers,
Glenn

Mime
View raw message