Subject: CVS commit: src/lib/libc/gen
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 02/26/2003 21:23:25
Module Name: src
Committed By: christos
Date: Wed Feb 26 19:23:25 UTC 2003
Modified Files:
src/lib/libc/gen: utmpx.c
Log Message:
keep track if we have the file opened as readonly or readwrite, so that
we don't need to call update_utmp, if our euid has changed, but we still
have a write reference to the file. Solves problem with chrooting processes.
To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 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.