Searched hist:156300 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/security/mac_bsdextended/
H A Dmac_bsdextended.cdiff 156300 Sat Mar 04 18:47:19 MST 2006 dwmalone Create a mac_bsdextended_check_vp function that takes a cred, a
vnode and a mode and checks if a given access mode is permitted.
This centralises the mac_bsdextended_enabled check and the GETATTR
calls and makes the implementation of the mac policy methods simple.

This should make it easier for us to match vnodes on more complex
attributes than just uid and gid in the future, but for now there
should be no functional change.

Approved/Reviewed by: rwatson, trhodes
MFC after: 1 month

Completed in 162 milliseconds