Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2002 18:55:48 -0700 (PDT)
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/lpr/common_source common.c lp.h src/usr.sbin/lpr/lpc cmds.c cmdtab.c extern.h
Message-ID:  <200206130155.g5D1tnE64930@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
gad         2002/06/12 18:55:48 PDT

  Modified files:
    usr.sbin/lpr/common_source common.c lp.h 
    usr.sbin/lpr/lpc     cmds.c cmdtab.c extern.h 
  Log:
  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
  
  Revision  Changes    Path
  1.26      +133 -0    src/usr.sbin/lpr/common_source/common.c
  1.21      +18 -0     src/usr.sbin/lpr/common_source/lp.h
  1.25      +278 -0    src/usr.sbin/lpr/lpc/cmds.c
  1.5       +15 -8     src/usr.sbin/lpr/lpc/cmdtab.c
  1.6       +15 -8     src/usr.sbin/lpr/lpc/extern.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206130155.g5D1tnE64930>