From owner-cvs-all Sat Jun 15 15:52: 2 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A645A37B414; Sat, 15 Jun 2002 15:51:58 -0700 (PDT) Received: (from gad@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5FMpwv90913; Sat, 15 Jun 2002 15:51:58 -0700 (PDT) (envelope-from gad) Message-Id: <200206152251.g5FMpwv90913@freefall.freebsd.org> From: Garance A Drosehn Date: Sat, 15 Jun 2002 15:51:58 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/lpc cmds.c cmdtab.c extern.h lpc.8 lpc.c lpc.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG gad 2002/06/15 15:51:58 PDT Modified files: usr.sbin/lpr/lpc cmds.c cmdtab.c extern.h lpc.8 lpc.c lpc.h Log: 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 Revision Changes Path 1.26 +102 -19 src/usr.sbin/lpr/lpc/cmds.c 1.6 +6 -1 src/usr.sbin/lpr/lpc/cmdtab.c 1.7 +3 -1 src/usr.sbin/lpr/lpc/extern.h 1.16 +17 -2 src/usr.sbin/lpr/lpc/lpc.8 1.25 +9 -5 src/usr.sbin/lpr/lpc/lpc.c 1.5 +5 -2 src/usr.sbin/lpr/lpc/lpc.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message