NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "Real programs dump core"



At 6:39 Uhr +0000 06.09.2011, Michael van Elst wrote:
>>>I wonder if we should have an equivalent for kern.coredump.setid.path for
>>>non-setid images.
>
>There is:
>kern.defcorename = %n.core
>proc.curproc.corename = %n.core

The latter is for the current process only, while kern.coredump.setid.path
is global.

The Amanda planner binary runs setuid root to open a privileged port, then
reuurns to unprivileged mode. As such it apparently cannot write a core to
the CWD. I guess I'd have to set proc.curproc.corename from the planner
process, then.

        hauke

-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-3281


Home | Main Index | Thread Index | Old Index