cvs commit: src/sbin/nologin Makefile nologin.c

Colin Percival cperciva at FreeBSD.org
Sun Feb 22 02:03:25 PST 2004


cperciva    2004/02/22 02:03:25 PST

  FreeBSD src repository

  Modified files:
    sbin/nologin         Makefile nologin.c 
  Log:
  Report login attempts to syslog.  Due to the statically-linked nature of
  nologin(8), this causes a considerable (100K) increase in the binary size,
  so I've added a NO_LOGIN_LOG option which disables this.
  
  While I'm here, s/sizeof(MESSAGE)/sizeof(MESSAGE) - 1/, in order to
  avoid writing the string-terminating zero byte.
  
  No complaints from: -current
  Approved by:    rwatson (mentor)
  
  Revision  Changes    Path
  1.10      +7 -0      src/sbin/nologin/Makefile
  1.2       +14 -1     src/sbin/nologin/nologin.c


More information about the cvs-src mailing list