Edi wrote:

> 2. You could start CMUCL with execve and feed whatever you want to
>    argv[0].

Back in the old days of sendmail 8.7.x, the daemon handled SIGHUP the way 
any tidy daemon is supposed to do (i.e. re-read its configuration. By the 
way, sshd does not, and it sucks to find this out if you are logged in 
solely via ssh): it re-initialized itself and re-read its configuration. 
Only that (1) sendmail was suid root so that it could listen on port 25, 
(2) it handled the issue by execve()' ing to itself, but (3) without 
dropping its suid root privileges.

Guess what?

Oh, by the way, I wonder how "official" the kernel interface 
provided via /proc/PID or /proc/self may be... at least, I strongly 
suppose that things like Brad Spengler's grsecurity patch may well remove 
a lot of information contained in there.

-- 
regards,               [EMAIL PROTECTED]              (o_
 Thomas Fischbacher -  http://www.cip.physik.uni-muenchen.de/~tf  //\
(lambda (n) ((lambda (p q r) (p p q r)) (lambda (g x y)           V_/_
(if (= x 0) y (g g (- x 1) (* x y)))) n 1))                  (Debian GNU)


Reply via email to