1 /* The following definitions come from rpc_server/srv_access_check.c */
3 NTSTATUS
access_check_object( struct security_descriptor
*psd
, struct security_token
*token
,
4 enum sec_privilege needed_priv_1
, enum sec_privilege needed_priv_2
,
6 uint32 des_access
, uint32
*acc_granted
,
8 void map_max_allowed_access(const struct security_token
*nt_token
,
9 const struct security_unix_token
*unix_token
,
10 uint32_t *pacc_requested
);