Home
last modified time | relevance | path

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

12

/linux-6.6.21/security/apparmor/
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
176 struct aa_perms *perms; in compute_xmatch_perms() local
213 struct aa_perms perms = { }; in compute_perms_entry() local
Ddomain.c127 struct aa_perms *perms) in label_compound_match()
189 struct aa_perms *perms) in label_components_match()
251 struct aa_perms *perms) in label_match()
285 struct aa_perms *perms) in change_profile_perms()
640 struct aa_perms perms = {}; in profile_transition() local
740 struct aa_perms perms = {}; in profile_onexec() local
1181 struct aa_perms perms = {}; in aa_change_hat() local
1292 u32 request, struct aa_perms *perms) in change_profile_perms_wrapper()
1329 struct aa_perms perms = {}; in aa_change_profile() local
Dfile.c95 struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file()
219 struct aa_perms *perms) in aa_str_perms()
231 struct aa_perms *perms) in __aa_path_perm()
253 struct aa_perms *perms) in profile_path_perm()
287 struct aa_perms perms = {}; in aa_path_perm() local
335 struct aa_perms lperms = {}, perms; in profile_path_link() local
490 struct aa_perms perms = {}; in __file_path_perm() local
Dlib.c312 void aa_apply_modes_to_perms(struct aa_profile *profile, struct aa_perms *perms) in aa_apply_modes_to_perms()
340 int type, u32 request, struct aa_perms *perms) in aa_profile_match_label()
359 struct aa_perms perms; in aa_profile_label_perm() local
388 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, in aa_check_perms()
Dmount.c137 struct aa_perms *perms, const char *info, int error) in audit_mount()
227 void *data, bool binary, struct aa_perms *perms) in do_match_mnt()
310 struct aa_perms perms = { }; in match_mnt_path_str() local
607 struct aa_perms perms = { }; in profile_umount() local
673 struct aa_perms perms = { }; in build_pivotroot() local
Dnet.c115 struct aa_perms perms = { }; in aa_profile_af_perm() local
225 struct aa_perms perms = { }; in aa_secmark_perm() local
Dipc.c85 struct aa_perms perms; in profile_signal_perm() local
Dtask.c236 struct aa_perms perms = { }; in profile_ptrace_perm() local
/linux-6.6.21/drivers/s390/crypto/
Dzcrypt_api.c122 struct ap_perms perms; member
504 struct ap_perms *perms = &ap_perms; in zcrypt_open() local
547 static inline int zcrypt_check_ioctl(struct ap_perms *perms, in zcrypt_check_ioctl()
565 static inline bool zcrypt_check_card(struct ap_perms *perms, int card) in zcrypt_check_card()
570 static inline bool zcrypt_check_queue(struct ap_perms *perms, int queue) in zcrypt_check_queue()
637 static long zcrypt_rsa_modexpo(struct ap_perms *perms, in zcrypt_rsa_modexpo()
742 static long zcrypt_rsa_crt(struct ap_perms *perms, in zcrypt_rsa_crt()
847 static long _zcrypt_send_cprb(bool userspace, struct ap_perms *perms, in _zcrypt_send_cprb()
1004 static long _zcrypt_send_ep11_cprb(bool userspace, struct ap_perms *perms, in _zcrypt_send_ep11_cprb()
1421 static int icarsamodexpo_ioctl(struct ap_perms *perms, unsigned long arg) in icarsamodexpo_ioctl()
[all …]
/linux-6.6.21/tools/testing/selftests/mqueue/
Dmq_open_tests.c203 int perms = DEFFILEMODE; in test_queue() local
225 int perms = DEFFILEMODE; in test_queue_fail() local
/linux-6.6.21/security/selinux/include/
Davc_ss.h17 const char *perms[sizeof(u32) * 8 + 1]; member
Dsecurity.h221 #define security_xperm_set(perms, x) ((perms)[(x) >> 5] |= 1 << ((x) & 0x1f)) argument
222 #define security_xperm_test(perms, x) (1 & ((perms)[(x) >> 5] >> ((x) & 0x1f))) argument
/linux-6.6.21/drivers/soc/qcom/
Drmtfs_mem.c34 u64 perms; member
174 struct qcom_scm_vmperm perms[NUM_MAX_VMIDS + 1]; in qcom_rmtfs_mem_probe() local
/linux-6.6.21/tools/testing/selftests/mm/
Dmlock2.h23 char perms[5]; in seek_to_smaps_entry() local
/linux-6.6.21/drivers/infiniband/sw/siw/
Dsiw_mem.c169 enum ib_access_flags perms, int len) in siw_check_mem()
223 enum ib_access_flags perms, u32 off, int len) in siw_check_sge()
/linux-6.6.21/drivers/net/wireless/rsi/
Drsi_debugfs.h36 umode_t perms; member
/linux-6.6.21/arch/arm/mm/
Dinit.c394 static void set_section_perms(struct section_perm *perms, int n, bool set, in set_section_perms()
426 static void update_sections_early(struct section_perm perms[], int n) in update_sections_early()
/linux-6.6.21/security/selinux/ss/
Dservices.h16 u32 perms[sizeof(u32) * 8]; /* policy values for permissions */ member
Davtab.h67 struct extended_perms_data perms; member
/linux-6.6.21/scripts/selinux/genheaders/
Dgenheaders.c15 const char *perms[sizeof(unsigned) * 8 + 1]; member
/linux-6.6.21/scripts/selinux/mdp/
Dmdp.c33 const char *perms[sizeof(unsigned) * 8 + 1]; member
/linux-6.6.21/security/apparmor/include/
Dfile.h147 u32 perms = 0; in aa_map_file_to_perms() local
/linux-6.6.21/arch/ia64/include/asm/sn/
Dsn_sal.h67 sn_change_memprotect(u64 paddr, u64 len, u64 perms, u64 *nasid_array) in sn_change_memprotect()
/linux-6.6.21/fs/hfsplus/
Dcatalog.c81 void hfsplus_cat_set_perms(struct inode *inode, struct hfsplus_perm *perms) in hfsplus_cat_set_perms()
/linux-6.6.21/security/selinux/
Dhooks.c1657 u32 perms, in inode_has_perm()
1939 u32 perms, in superblock_has_perm()
3068 u32 perms, u32 audited, u32 denied, in audit_inode_permission()
3084 u32 perms; in selinux_inode_permission() local
4568 static int sock_has_perm(struct sock *sk, u32 perms) in sock_has_perm()
5969 u32 perms) in ipc_has_perm()
6027 u32 perms; in selinux_msg_queue_msgctl() local
6155 u32 perms; in selinux_shm_shmctl() local
6188 u32 perms; in selinux_shm_shmat() local
6234 u32 perms; in selinux_sem_semctl() local
[all …]

12