]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a new command to 'lpc' called 'setstatus', which would be used to
authorgad <gad@FreeBSD.org>
Sat, 15 Jun 2002 22:51:58 +0000 (22:51 +0000)
committergad <gad@FreeBSD.org>
Sat, 15 Jun 2002 22:51:58 +0000 (22:51 +0000)
commit6bfe5682488b02e59b3b1254657a7bc8b9bb209b
tree44f771aaa14debc6dffa2c3c508f7bf1c7c5f7a5
parent62289e8461aa01c16367d44b6e2f109737065bfa
Add a new command to 'lpc' called 'setstatus', which would be used to
change the status message of a print queue.  This includes some minor
changes to the upstat() routine, so that error messages are not printed
while seteuid(priv-user).

Reviewed by: freebsd-audit and freebsd-print@bostonradio.org
MFC after: 10 days
usr.sbin/lpr/lpc/cmds.c
usr.sbin/lpr/lpc/cmdtab.c
usr.sbin/lpr/lpc/extern.h
usr.sbin/lpr/lpc/lpc.8
usr.sbin/lpr/lpc/lpc.c
usr.sbin/lpr/lpc/lpc.h