Date: Wed, 16 Oct 1996 06:35:12 +1000 From: Bruce Evans <bde@zeta.org.au> To: freebsd-security@freebsd.org, roberto@keltia.freenix.fr Subject: Re: bin/1805: Bug in ftpd Message-ID: <199610152035.GAA21721@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> This was probably fixed in March in -current but not in -stable. >> Setuid processes cannot dump core in -current. This makes them harder >> to debug of course. > >What did I miss ? wu-ftpd is not setuid... It is launched as root by inetd >so the setuid-program-don't-core is not applicable. It must have done a setuid(user) to become the user. This sets the P_SUGID flag, which is what prevents dumping core and ptrace/procfs attach . It doesn't matter whether the P_SUGID flag was set at exec time or later. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610152035.GAA21721>