Date: Tue, 22 Jul 1997 17:49:49 -0700 (PDT) From: Warner Losh <imp@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/lpr/common_source common.c displayq.c rmjob.c startdaemon.c src/usr.sbin/lpr/lpc cmds.c lpc.c src/usr.sbin/lpr/lpd lpd.c src/usr.sbin/lpr/lpq lpq.c src/usr.sbin/lpr/lpr lpr.c src/usr.sbin/lpr/lprm lprm.c ... Message-ID: <199707230049.RAA27631@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 1997/07/22 17:49:49 PDT Modified files: usr.sbin/lpr/common_source common.c displayq.c rmjob.c startdaemon.c usr.sbin/lpr/lpc cmds.c 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 Log: 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 Revision Changes Path 1.6 +9 -1 src/usr.sbin/lpr/common_source/common.c 1.7 +29 -5 src/usr.sbin/lpr/common_source/displayq.c 1.6 +31 -5 src/usr.sbin/lpr/common_source/rmjob.c 1.3 +9 -1 src/usr.sbin/lpr/common_source/startdaemon.c 1.7 +59 -22 src/usr.sbin/lpr/lpc/cmds.c 1.4 +12 -4 src/usr.sbin/lpr/lpc/lpc.c 1.6 +11 -6 src/usr.sbin/lpr/lpd/lpd.c 1.3 +5 -0 src/usr.sbin/lpr/lpq/lpq.c 1.17 +26 -6 src/usr.sbin/lpr/lpr/lpr.c 1.2 +4 -0 src/usr.sbin/lpr/lprm/lprm.c 1.5 +4 -0 src/usr.sbin/lpr/pac/pac.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707230049.RAA27631>