]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
drop_privileges_or_die(): Check return value of setuid().
authorAndre Noll <maan@systemlinux.org>
Thu, 22 Oct 2009 20:42:36 +0000 (22:42 +0200)
committerAndre Noll <maan@systemlinux.org>
Thu, 22 Oct 2009 20:42:36 +0000 (22:42 +0200)
The call to setuid() may fail, e.g. because it brings the process over its RLIMIT_NPROC
resource limit. So print an error message and exit in this case.


No differences found