On 24/02/2010 19:59, Rogier Krieger whispered from the shadows...:
> Would the following be an improvement for the documentation? Feel free
Not entirely correct. I'd say this:

----
Programs with their set-user-ID bit set or that make use of the setuid
family of functions will not dump core as a security precaution. This
prevents sensitive information from ending up on disk. For debugging,
programs affected by this should set:

        sysctl kern.nosuidcoredump=2

Core dumps will then be saved to /var/crash.
----

Simply referring to sysctl(3) doesn't help since the possible values
that kern.nosuidcoredump can be set to are not described there. I don't
think they're described in any man page. You either need to sift through
newsgroups, release notes, or read the source.

-- 
Anthony C Howe            Skype: SirWumpus                  SnertSoft
+33 6 11 89 73 78       Twitter: SirWumpus      BarricadeMX & Milters
http://snert.com/      http://nanozen.info/     http://snertsoft.com/

Reply via email to