Subject: CVS commit: syssrc/sys
To: None <source-changes@netbsd.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: source-changes
Date: 09/16/2001 09:53:57
Module Name: syssrc
Committed By: manu
Date: Sun Sep 16 06:53:57 UTC 2001
Added Files:
syssrc/sys/dev: clockctl.c
syssrc/sys/sys: clockctl.h
Log Message:
This is the clockctl pseudodevice. It gives non root users access to root-only
time-related system calls through ioctls. For instance, if user daemon is able
to write to /dev/clockctl, then it is able to use the CLOCKCTL_SETTIMEOFDAY
ioctl on it, which will be equivalent to a settimeofday.
Approved by Christos
To generate a diff of this commit:
cvs rdiff -r0 -r1.1 syssrc/sys/dev/clockctl.c
cvs rdiff -r0 -r1.1 syssrc/sys/sys/clockctl.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.