Share

AOLserver

Tracker: Bugs

5 Linux: AOLserver won't write corefile when started as root - ID: 1031599
Last Update: Comment added ( dossy )

AOLserver on Linux will not write a core file if it is
started as root, as it calls setuid() to drop
privileges which clears the "dumpable" flag on the
process, preventing the core file from being written.

As of Linux 2.4, the prctl() interface allows a process
to restore the dumpable flag using PR_SET_DUMPABLE
which must be called after the setuid() has taken place.


Dossy Shiobara ( dossy ) - 2004-09-21 00:39

5

Closed

Fixed

Dossy Shiobara

Architecture: Server (nsd)

aolserver_v40

Public


Comment ( 1 )

Date: 2004-09-21 00:44
Sender: dossyProject AdminAccepting Donations

Logged In: YES
user_id=21885

Fix is attached to this ticket for both 4.1.0a (HEAD) and
4.0.9a (aolserver_v40_bp branch). Closing this ticket.


Attached Files ( 2 )

Filename Description Download
bug-1031599-HEAD-patch-20040920.txt patch against HEAD for 4.1.0a - 20040920 Download
bug-1031599-v409a-patch-20040920.txt patch against aolserver_v40_bp branch for 4.0.9a - 20040920 Download

Changes ( 5 )

Field Old Value Date By
status_id Open 2004-09-21 00:44 dossy
resolution_id None 2004-09-21 00:44 dossy
close_date - 2004-09-21 00:44 dossy
File Added 102194: bug-1031599-v409a-patch-20040920.txt 2004-09-21 00:44 dossy
File Added 102193: bug-1031599-HEAD-patch-20040920.txt 2004-09-21 00:43 dossy