]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge r181069 from head to stable/7:
authorrwatson <rwatson@FreeBSD.org>
Sun, 31 Aug 2008 18:23:42 +0000 (18:23 +0000)
committerrwatson <rwatson@FreeBSD.org>
Sun, 31 Aug 2008 18:23:42 +0000 (18:23 +0000)
commitf72cf491e551b962991b134f0deedca96080a399
treeaa4961280b8eebf9636ff424254fa05680a89fe6
parent3a9fe4a43a2b8a5ce8d85d4b557ea1d496bf2bc4
Merge r181069 from head to stable/7:

  In mac_bsdextended's auditctl and acct policy access control checks,
  return success if the passed vnode pointer is NULL (rather than
  panicking).  This can occur if either audit or accounting are
  disabled while the policy is running.

  Since the swapoff control has no real relevance to this policy,
  which is concerned about intent to write rather than water under the
  bridge, remove it.

  PR:             kern/126100
  Reported by:    Alan Amesbury <amesbury at umn dot edu>
sys/security/mac_bsdextended/mac_bsdextended.c