Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 2009 12:55:39 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/vm swap_pager.c
Message-ID:  <200910181255.n9ICtokH086909@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2009-10-18 12:55:39 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               swap_pager.c 
  Log:
  SVN rev 198201 on 2009-10-18 12:55:39Z by kib
  
  Remove spurious call to priv_check(PRIV_VM_SWAP_NOQUOTA).
  Call priv_check(PRIV_VM_SWAP_NORLIMIT) only when per-uid limit is
  actually exceed.
  
  Both changes aim at calling priv_check(9) only for the cases when
  privilege is actually exercised by the process.
  
  Reported and tested by: rwatson
  Reviewed by:    alc
  MFC after:      3 days
  
  Revision  Changes    Path
  1.313     +4 -6      src/sys/vm/swap_pager.c



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