Module Name: src Committed By: christos Date: Sat Sep 17 01:52:29 UTC 2011
Modified Files: src/lib/libc/gen: utmpx.c Log Message: Never invoke utmp_update() recursively if we are root. Instead close the read-only file so it can be opened later. It can happen when a setuid program utmp_update, seteuid(ruid) -> getutxent() -> seteuid(0) -> pututxent() To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/lib/libc/gen/utmpx.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.