cvs commit: src/usr.sbin/cron/cron do_command.c popen.c

Maxim Konovalov maxim at
Thu Jun 1 15:04:41 UTC 2006

maxim       2006-06-01 15:03:06 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/cron/cron   do_command.c popen.c 
  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

More information about the cvs-src mailing list