Home
last modified time | relevance | path

Searched defs:perms (Results 1 – 25 of 34) sorted by relevance

12

/linux/security/apparmor/
H A Ddomain.c131 struct aa_perms *perms) in label_compound_match()
193 struct aa_perms *perms) in label_components_match()
256 struct aa_perms *perms) in label_match()
291 struct aa_perms *perms) in change_profile_perms()
332 struct aa_perms *perms; in aa_xattrs_match() local
423 struct aa_perms *perms; in find_attach() local
670 struct aa_perms perms = {}; in profile_transition() local
800 struct aa_perms perms = {}; in profile_onexec() local
1227 struct aa_perms perms = {}; in aa_change_hat() local
1354 u32 request, struct aa_perms *perms) in change_profile_perms_wrapper()
[all …]
H A Dpolicy_compat.c100 static void compute_fperms_allow(struct aa_perms *perms, struct aa_dfa *dfa, in compute_fperms_allow()
115 struct aa_perms perms = { }; in compute_fperms_user() local
130 struct aa_perms perms = { }; in compute_fperms_other() local
177 struct aa_perms *perms; in compute_xmatch_perms() local
214 struct aa_perms perms = { }; in compute_perms_entry() local
H A Dfile.c96 struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file()
211 struct aa_perms *perms) in aa_str_perms()
224 struct aa_perms *perms) in __aa_path_perm()
246 struct aa_perms *perms) in profile_path_perm()
280 struct aa_perms perms = {}; in aa_path_perm() local
327 struct aa_perms lperms = {}, perms; in profile_path_link() local
484 struct aa_perms perms = {}; in __file_path_perm() local
H A Dcapability.c130 struct aa_perms perms = { }; in profile_capable() local
206 struct aa_perms perms = { }; in aa_profile_capget() local
H A Dlib.c361 void aa_apply_modes_to_perms(struct aa_profile *profile, struct aa_perms *perms) in aa_apply_modes_to_perms()
389 int type, u32 request, struct aa_perms *perms) in aa_profile_match_label()
418 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, in aa_check_perms()
H A Dtask.c232 struct aa_perms perms = { }; in profile_ptrace_perm() local
319 struct aa_perms perms = { }; in aa_profile_ns_perm() local
H A Dipc.c84 struct aa_perms perms; in profile_signal_perm() local
H A Dlabel.c1291 struct aa_perms *perms) in label_compound_match()
1351 struct aa_perms *perms) in label_components_match()
1410 u32 request, struct aa_perms *perms) in aa_label_match()
/linux/drivers/s390/crypto/
H A Dzcrypt_api.c125 struct ap_perms perms; member
507 struct ap_perms *perms = &ap_perms; in zcrypt_open() local
550 static inline int zcrypt_check_ioctl(struct ap_perms *perms, in zcrypt_check_ioctl()
568 static inline bool zcrypt_check_card(struct ap_perms *perms, int card) in zcrypt_check_card()
573 static inline bool zcrypt_check_queue(struct ap_perms *perms, int queue) in zcrypt_check_queue()
642 static long zcrypt_rsa_modexpo(struct ap_perms *perms, in zcrypt_rsa_modexpo()
747 static long zcrypt_rsa_crt(struct ap_perms *perms, in zcrypt_rsa_crt()
852 static long _zcrypt_send_cprb(u32 xflags, struct ap_perms *perms, in _zcrypt_send_cprb()
1039 static long _zcrypt_send_ep11_cprb(u32 xflags, struct ap_perms *perms, in _zcrypt_send_ep11_cprb()
1483 static int icarsamodexpo_ioctl(struct ap_perms *perms, unsigned long arg) in icarsamodexpo_ioctl()
[all …]
/linux/tools/testing/selftests/mqueue/
H A Dmq_open_tests.c203 int perms = DEFFILEMODE; in test_queue() local
225 int perms = DEFFILEMODE; in test_queue_fail() local
H A Dmq_perf_tests.c295 int perms = DEFFILEMODE; in open_queue() local
/linux/security/selinux/include/
H A Davc_ss.h18 const char *perms[sizeof(u32) * 8 + 1]; member
H A Dsecurity.h241 #define security_xperm_set(perms, x) ((perms)[(x) >> 5] |= 1 << ((x)&0x1f)) argument
242 #define security_xperm_test(perms, x) (1 & ((perms)[(x) >> 5] >> ((x)&0x1f))) argument
/linux/drivers/soc/qcom/
H A Drmtfs_mem.c34 u64 perms; member
174 struct qcom_scm_vmperm perms[NUM_MAX_VMIDS + 1]; in qcom_rmtfs_mem_probe() local
/linux/drivers/infiniband/sw/siw/
H A Dsiw_mem.c137 enum ib_access_flags perms, int len) in siw_check_mem()
191 enum ib_access_flags perms, u32 off, int len) in siw_check_sge()
/linux/drivers/net/wireless/rsi/
H A Drsi_debugfs.h36 umode_t perms; member
/linux/arch/arm/mm/
H A Dinit.c356 static void set_section_perms(struct section_perm *perms, int n, bool set, in set_section_perms()
388 static void update_sections_early(struct section_perm perms[], int n) in update_sections_early()
/linux/security/selinux/ss/
H A Dservices.h17 u32 perms[sizeof(u32) * 8]; /* policy values for permissions */ member
H A Davtab.h68 struct extended_perms_data perms; member
/linux/security/selinux/
H A Dgenheaders.c12 const char *perms[sizeof(unsigned) * 8 + 1]; member
H A Dhooks.c1669 u32 perms, in inode_has_perm()
1957 u32 perms, in superblock_has_perm()
3089 u32 perms, u32 audited, u32 denied, in audit_inode_permission()
3199 u32 perms; in selinux_inode_permission() local
4778 static int sock_has_perm(struct sock *sk, u32 perms) in sock_has_perm()
6085 static int nlmsg_sock_has_extended_perms(struct sock *sk, u32 perms, u16 nlmsg_type) in nlmsg_sock_has_extended_perms()
6175 u32 perms) in ipc_has_perm()
6233 u32 perms; in selinux_msg_queue_msgctl() local
6361 u32 perms; in selinux_shm_shmctl() local
6394 u32 perms; in selinux_shm_shmat() local
[all …]
H A Davc.c656 const char *const *perms; in avc_audit_pre_callback() local
830 static int avc_update_node(u32 event, u32 perms, u8 driver, u8 base_perm, in avc_update_node()
/linux/scripts/selinux/mdp/
H A Dmdp.c29 const char *perms[sizeof(unsigned) * 8 + 1]; member
/linux/arch/x86/platform/uv/
H A Dbios_uv.c136 uv_bios_change_memprotect(u64 paddr, u64 len, enum uv_memprotect perms) in uv_bios_change_memprotect()
/linux/fs/hfsplus/
H A Dinode.c184 struct hfsplus_perm *perms, int dir) in hfsplus_get_perms()

12