Subject: CVS commit: src/lib/libc/sys
To: None <source-changes@NetBSD.org>
From: Frank Kardel <kardel@netbsd.org>
List: source-changes
Date: 10/07/2006 20:02:02
Module Name: src
Committed By: kardel
Date: Sat Oct 7 20:02:02 UTC 2006
Modified Files:
src/lib/libc/sys: adjtime.c clock_settime.c ntp_adjtime.c
settimeofday.c
Log Message:
- simplify code
- remove any 'permission checks' via geteuid() - with upcoming
security models these might not match the model any more
- this also fixes a bug where ntp_adjtime() was denied (EPERM)
even though only a legit read status was performed
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/lib/libc/sys/adjtime.c \
src/lib/libc/sys/clock_settime.c src/lib/libc/sys/ntp_adjtime.c
cvs rdiff -r1.9 -r1.10 src/lib/libc/sys/settimeofday.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.