freebsd-skq/usr.sbin/lpr/lpc
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
..
cmds.c Almost complete rewrite of the lpc commands 'abort', 'enable', 'disable', 2002-06-13 01:55:48 +00:00
cmdtab.c Almost complete rewrite of the lpc commands 'abort', 'enable', 'disable', 2002-06-13 01:55:48 +00:00
extern.h Almost complete rewrite of the lpc commands 'abort', 'enable', 'disable', 2002-06-13 01:55:48 +00:00
lpc.8 Add description of `mc' (max copies), add short-form to long-form mapping 2002-04-22 01:04:02 +00:00
lpc.c *** empty log message *** 2001-10-01 08:43:58 +00:00
lpc.h Make 'lpc clean' somewhat safer. Add an 'lpc tclean' command, which allows 2001-06-25 02:05:03 +00:00
Makefile Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00