]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
Merge r234032 from head to stable/9:
authorrwatson <rwatson@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 9 Jul 2012 08:42:54 +0000 (08:42 +0000)
committerrwatson <rwatson@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 9 Jul 2012 08:42:54 +0000 (08:42 +0000)
commit630b5059ba0ba77d30fd66f9f0bbe41b244c11fa
tree54fb58226818ec35bff905411b155d1bd48c0707
parent81bcb6ac82dd606dab2491a59157a2e416d1d2f5
Merge r234032 from head to stable/9:

  When allocation of labels on files is implicitly disabled due to MAC
  policy configuration, avoid leaking resources following failed calls
  to get and set MAC labels by file descriptor.

  Reported by: Mateusz Guzik <mjguzik at gmail.com> + clang scan-build

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/9@238285 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/security/mac/mac_syscalls.c