]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Check return code of setuid(), setgid(), and setgroups() in rwhod.
authorSimon L. B. Nielsen <simon@FreeBSD.org>
Sat, 23 Apr 2011 13:42:03 +0000 (13:42 +0000)
committerSimon L. B. Nielsen <simon@FreeBSD.org>
Sat, 23 Apr 2011 13:42:03 +0000 (13:42 +0000)
commit11522ca501861190ec49504d355b934988181245
treed8c506ff035345dc353c055df31925a12849db14
parent04e7229db5aee2221165321f87ccd5cf605beef1
Check return code of setuid(), setgid(), and setgroups() in rwhod.

While they will not fail in normal circumstances, better safe than
sorry.

MFC after: 1 week
usr.sbin/rwhod/rwhod.c