]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use setuid/seteuid around dangerous operations. Also a few buffer
authorimp <imp@FreeBSD.org>
Wed, 23 Jul 1997 00:49:46 +0000 (00:49 +0000)
committerimp <imp@FreeBSD.org>
Wed, 23 Jul 1997 00:49:46 +0000 (00:49 +0000)
commitf080009db57e6a7b246a2ab15d8a73e4563931b4
tree3f6c130b47ee18671302ddcfcae8cef66be97455
parent5d2b7fa5ede6cefc6d4c6f7df3987bea7b9149b8
Use setuid/seteuid around dangerous operations.  Also a few buffer
overflow patches that were "near" to where these operations are taking
place.  The buffer overflows are from OpenBSD.  The setuid/seteuid patches
are from NetBSD by way of OpenBSD (they changed them a little), at least from
my read of the tree.

This is the first of a series of OpenBSD lpr/et al merges.  It (and them)
should be merged back into 2.2 and/or 2.1 (if requested) branches when they
have been shaken out in -current.
Obtained from: OpenBSD
usr.sbin/lpr/common_source/common.c
usr.sbin/lpr/common_source/displayq.c
usr.sbin/lpr/common_source/rmjob.c
usr.sbin/lpr/common_source/startdaemon.c
usr.sbin/lpr/lpc/cmds.c
usr.sbin/lpr/lpc/lpc.c
usr.sbin/lpr/lpd/lpd.c
usr.sbin/lpr/lpq/lpq.c
usr.sbin/lpr/lpr/lpr.c
usr.sbin/lpr/lprm/lprm.c
usr.sbin/lpr/pac/pac.c