Date: Thu, 1 Jun 2006 15:03:06 +0000 (UTC) From: Maxim Konovalov <maxim@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/cron/cron do_command.c popen.c Message-ID: <200606011503.k51F36hW028687@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
maxim 2006-06-01 15:03:06 UTC
FreeBSD src repository
Modified files:
usr.sbin/cron/cron do_command.c popen.c
Log:
o Better be safe than sorry: check return code from setuid(2),
setgid(2), setlogin(2) and initgroups(3). In theory they could
fail for root with some third party mac(4) policies.
Submitted by: Kostik Belousov
MFC after: 1 month
Revision Changes Path
1.24 +21 -4 src/usr.sbin/cron/cron/do_command.c
1.13 +9 -4 src/usr.sbin/cron/cron/popen.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606011503.k51F36hW028687>
