freebsd-dev/usr.sbin/lpr
Garance A Drosehn e8e715fa62 Almost complete rewrite of the lpc commands 'abort', 'enable', 'disable',
'restart', 'start', 'stop' and 'up'.  These are commands which mainly
just alter the access bits on the lock-file of a queue, and they all
now use a central routine to do that.  This reduces the amount of code
that is run as the priv userid, and eliminates a number of cases where
error messages were written while that priv uid was in effect.

As far as users are concerned, there should be no noticable difference
in the new versions.  In case there *is*, the previous implementations
are still there as 'xabort', 'xenable', etc, so they are available for
instant fallback.  If no one reports a problem after a few weeks, then
a later update will remove those x-commands.

Reviewed by:	freebsd-audit and freebsd-print@bostonradio.org
MFC after:	10 days
2002-06-13 01:55:48 +00:00
..
chkprintcap Have this use 'static const char rcsid' instead of __RCSID() 2002-05-28 20:37:00 +00:00
common_source Almost complete rewrite of the lpc commands 'abort', 'enable', 'disable', 2002-06-13 01:55:48 +00:00
filters Get rid of some minor compile-time errors by changing copyright/rcsid 2001-10-09 00:09:46 +00:00
filters.ru Don't needlessly redefine the afterinstall target. 2002-04-22 10:46:12 +00:00
lp Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
lpc Almost complete rewrite of the lpc commands 'abort', 'enable', 'disable', 2002-06-13 01:55:48 +00:00
lpd Change some "process id" variables from 'int' to 'pid_t', renaming some 2002-06-04 03:40:24 +00:00
lpq Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
lpr mdoc(7) police: markup nits. 2002-05-30 08:10:32 +00:00
lprm Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
lptest Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
pac Add 'const' to some casts to fix two warnings that are printed by the 2002-04-22 23:28:42 +00:00
SMM.doc $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Makefile Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
Makefile.inc Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00