cvs commit: src/sys/kern sysv_sem.c

Robert Watson rwatson at FreeBSD.org
Sat Nov 13 00:06:41 PST 2004


rwatson     2004-11-13 08:06:41 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             sysv_sem.c 
  Log:
  Correct two incorrectly merged changes introduced in sysv_sem.c:1.71:
  return EINVAL rather than setting error, and don't free sops
  unconditionally.  The first change was merged accidentally as part of
  the larger set of changes to introduce MAC labels and access control,
  and potentially lead to continued processing of a request even after
  it was determined to be invalid.  The second change was due to changes
  in the semaphore code since the original work was performed.
  
  Pointed out by: truckman
  
  Revision  Changes    Path
  1.72      +1 -2      src/sys/kern/sysv_sem.c


More information about the cvs-all mailing list