cvs commit: src/sys/netinet in_pcb.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Sep 4 10:31:54 UTC 2006


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


More information about the cvs-all mailing list