Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-2-0] src/sbin/ping
Module Name: src
Committed By: bouyer
Date: Sat Aug 11 14:24:41 UTC 2007
Modified Files:
src/sbin/ping [netbsd-2-0]: ping.c
Log Message:
Pull up following revision(s) (requested by ghen in ticket #11352):
sbin/ping/ping.c: revision 1.83 - 1.85
PR/28741: Michael Santos: ping does [not] drop root privileges
Moved socket calls way up, and called seteuid(getuid()).
On 2nd thought, setuid() is better here.
Change error message to say "setuid", forgotten in previous commit.
Pointed out by Ray Lai, thanks!
To generate a diff of this commit:
cvs rdiff -r1.75 -r1.75.2.1 src/sbin/ping/ping.c
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