cvs commit: src/usr.bin/limits limits.1 limits.c

Ed Schouten ed at FreeBSD.org
Tue Sep 2 19:13:32 UTC 2008


ed          2008-09-02 19:13:24 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/limits       limits.1 limits.c 
  Log:
  SVN rev 182685 on 2008-09-02 19:13:24Z by ed
  
  Add support for RLIMIT_NPTS to limits(1).
  
  After the MPSAFE TTY import we support an additional rlimit, called
  RLIMIT_NPTS. This limit allows you to cap the amount of pseudo-terminals
  allocated by one user.
  
  We forgot to add support for this limit to limits(1), which means it
  crashed. Add the proper bits to make it work like it should.
  Unfortunately not all shells actually implement the RLIMIT, so
  unfortunately I suspect it to be broken with certain shells.
  
  Submitted by:   Yuriy Tsibizov <yuriy tsibizov gfk ru>
  
  Revision  Changes    Path
  1.30      +6 -2      src/usr.bin/limits/limits.1
  1.18      +62 -52    src/usr.bin/limits/limits.c


More information about the cvs-src mailing list