Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.sbin/timed/timedc



Module Name:    src
Committed By:   cbiere
Date:           Sat Jan 27 17:57:45 UTC 2007

Modified Files:
        src/usr.sbin/timed/timedc: Makefile cmdtab.c timedc.c timedc.h

Log Message:
 * timedc is no longer setuid-root and is only usable by root due to the
   use of a raw socket for ICMP; thus there is also no need to differ
   between privileged and unprivileged commands.
 * Switch to user "nobody" after allocating the raw socket.
 * Close all file descriptors above 2 (just in case).


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/usr.sbin/timed/timedc/Makefile
cvs rdiff -r1.6 -r1.7 src/usr.sbin/timed/timedc/cmdtab.c
cvs rdiff -r1.17 -r1.18 src/usr.sbin/timed/timedc/timedc.c
cvs rdiff -r1.11 -r1.12 src/usr.sbin/timed/timedc/timedc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index