freebsd-dev/sbin/route
fenner 6ed0c9385f setuid back to the original caller immediately after opening the route socket.
Opening the socket is the only privileged operation route requires.

Make a couple of static buffers bigger, and use strncpy() and snprintf() where
there's a chance of overflow.

Fixes PR bin/1903

Partially Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>

Don't look up the network number if we're being asked to add a host route.

Fixes PR bin/1900

Submitted by:	Bruce A. Mah <bmah@cs.berkeley.edu> (pr bin/1900)
1996-10-27 17:42:14 +00:00
..
ccitt_addr.c BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
keywords Submitted by: Archie@whistle.com 1996-08-13 22:20:20 +00:00
Makefile Bring back NS support for this utility - we need it for the commercial Novell 1996-10-16 19:37:58 +00:00
route.8 back out a part of the previous patch that garrett objected to.. 1996-08-19 18:52:49 +00:00
route.c setuid back to the original caller immediately after opening the route socket. 1996-10-27 17:42:14 +00:00