1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00
freebsd/usr.sbin/lpr/common_source
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
..
common.c Almost complete rewrite of the lpc commands 'abort', 'enable', 'disable', 2002-06-13 01:55:48 +00:00
ctlinfo.c When using %p to print out pointers to struct's, first cast the values 2002-04-25 05:46:44 +00:00
ctlinfo.h Change lpd to perform sanity and safety checks on control files as it 2001-07-15 05:29:38 +00:00
displayq.c Fix buffer overflow in queue file handling. 2001-08-30 09:26:54 +00:00
lp.h Almost complete rewrite of the lpc commands 'abort', 'enable', 'disable', 2002-06-13 01:55:48 +00:00
lp.local.h
Makefile Mark all internal libraries with INTERNALLIB. 2002-05-13 11:24:03 +00:00
net.c Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
pathnames.h
printcap.c Implement new printcap option of "rc" aka "remote.resend_copies". 2002-04-23 00:06:10 +00:00
request.c Use macro API to <sys/queue.h> 2000-12-30 20:56:04 +00:00
rmjob.c Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
startdaemon.c Improve the error message the user sees if the startdaemon routine cannot 2002-04-23 02:42:04 +00:00