Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2006 10:31:53 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet in_pcb.c
Message-ID:  <200609041031.k84AVrGc056156@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2006-09-04 10:31:53 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/netinet          in_pcb.c 
  Log:
  MFC:    sys/netinet/in_pcb.c    1.178
  
  - Use suser_cred(9) instead of directly checking cr_uid.
  - Change the order of conditions to first verify that we actually need
    to check for privileges and then eventually check them.
  
  Reviewed by:    rwatson
  
  Revision   Changes    Path
  1.165.2.4  +2 -2      src/sys/netinet/in_pcb.c



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