freebsd-src/sbin/route
Bill Fenner 4ba05f60ea 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
keywords
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
route.c setuid back to the original caller immediately after opening the route socket. 1996-10-27 17:42:14 +00:00