| /security/tomoyo/ |
| A D | tomoyo.c | 121 static int tomoyo_inode_getattr(const struct path *path) in tomoyo_inode_getattr() 133 static int tomoyo_path_truncate(const struct path *path) in tomoyo_path_truncate() 160 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_unlink() local 177 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_mkdir() local 193 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_rmdir() local 210 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_symlink() local 228 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_mknod() local 361 static int tomoyo_path_chmod(const struct path *path, umode_t mode) in tomoyo_path_chmod() 396 static int tomoyo_path_chroot(const struct path *path) in tomoyo_path_chroot() 412 static int tomoyo_sb_mount(const char *dev_name, const struct path *path, in tomoyo_sb_mount() [all …]
|
| A D | realpath.c | 94 static char *tomoyo_get_absolute_path(const struct path *path, char * const buffer, in tomoyo_get_absolute_path() 237 char *tomoyo_realpath_from_path(const struct path *path) in tomoyo_realpath_from_path() 301 struct path path; in tomoyo_realpath_nofollow() local
|
| A D | mount.c | 83 struct path path; in tomoyo_mount_acl() local 191 int tomoyo_mount_permission(const char *dev_name, const struct path *path, in tomoyo_mount_permission()
|
| A D | file.c | 149 static bool tomoyo_get_realpath(struct tomoyo_path_info *buf, const struct path *path) in tomoyo_get_realpath() 708 int tomoyo_path_number_perm(const u8 type, const struct path *path, in tomoyo_path_number_perm() 754 const struct path *path, const int flag) in tomoyo_check_open_permission() 803 int tomoyo_path_perm(const u8 operation, const struct path *path, const char *target) in tomoyo_path_perm() 859 int tomoyo_mkdev_perm(const u8 operation, const struct path *path, in tomoyo_mkdev_perm()
|
| A D | load_policy.c | 39 struct path path; in tomoyo_policy_loader_exists() local
|
| A D | common.h | 440 } path; member
|
| /security/apparmor/ |
| A D | path.c | 48 static int disconnect(const struct path *path, char *buf, char **name, in disconnect() 88 static int d_namespace_path(const struct path *path, char *buf, char **name, in d_namespace_path() 197 int aa_path_name(const struct path *path, int flags, char *buffer, in aa_path_name()
|
| A D | mount.c | 281 static int path_flags(struct aa_profile *profile, const struct path *path) in path_flags() 367 struct aa_profile *profile, const struct path *path, in match_mnt() 395 struct aa_label *label, const struct path *path, in aa_remount() 421 struct aa_label *label, const struct path *path, in aa_bind_mount() 459 struct aa_label *label, const struct path *path, in aa_mount_change_type() 518 const struct path *path, const char *orig_name) in aa_move_mount_old() 536 const char *dev_name, const struct path *path, in aa_new_mount() 602 struct aa_profile *profile, const struct path *path, in profile_umount() 641 struct path path = { .mnt = mnt, .dentry = mnt->mnt_root }; in aa_umount() local
|
| A D | af_unix.c | 34 struct aa_label *label, struct path *path) in unix_fs_perm() 227 u32 request, struct sock *sk, struct path *path) in profile_sk_perm() 389 struct sock *sk, struct path *path, in profile_peer_perm() 448 struct path *path) in aa_unix_label_sk_perm() 602 struct sock *sk, struct path *path, in unix_peer_perm() 718 struct path path; in aa_unix_file_perm() local
|
| A D | file.c | 150 const struct path *path, int flags, char *buffer, in path_name() 244 const struct path *path, char *buffer, u32 request, in profile_path_perm() 277 const struct path *path, int flags, u32 request, in aa_path_perm()
|
| A D | lsm.c | 218 static int common_perm(const char *op, const struct path *path, u32 mask, in common_perm() 242 static int common_perm_cond(const char *op, const struct path *path, u32 mask) in common_perm_cond() 271 struct path path = { .mnt = dir->mnt, .dentry = dentry }; in common_perm_dir_dentry() local 346 static int apparmor_path_truncate(const struct path *path) in apparmor_path_truncate() 444 static int apparmor_path_chmod(const struct path *path, umode_t mode) in apparmor_path_chmod() 449 static int apparmor_path_chown(const struct path *path, kuid_t uid, kgid_t gid) in apparmor_path_chown() 454 static int apparmor_inode_getattr(const struct path *path) in apparmor_inode_getattr() 707 static int apparmor_sb_mount(const char *dev_name, const struct path *path, in apparmor_sb_mount()
|
| A D | apparmorfs.c | 2608 struct path path; in policy_get_link() local
|
| /security/landlock/ |
| A D | fs.c | 324 const struct path *const path, in landlock_append_fs_rule() 756 const struct path *const path, in is_access_to_paths_allowed() 952 static int current_check_access_path(const struct path *const path, in current_check_access_path() 1378 size_t handle_layer, const struct path *const path) in log_fs_change_topology_path() 1423 const struct path *const path, const char *const type, in hook_sb_mount() 1561 static int hook_path_truncate(const struct path *const path) in hook_path_truncate()
|
| A D | syscalls.c | 289 static int get_path_from_fd(const s32 fd, struct path *const path) in get_path_from_fd() 318 struct path path; in add_rule_path_beneath() local
|
| /security/integrity/ |
| A D | digsig.c | 194 int __init integrity_load_x509(const unsigned int id, const char *path) in integrity_load_x509()
|
| /security/keys/ |
| A D | big_key.c | 25 struct path path; member
|
| A D | request_key.c | 99 static int call_usermodehelper_keys(const char *path, char **argv, char **envp, in call_usermodehelper_keys()
|
| /security/integrity/ima/ |
| A D | ima_api.c | 439 const char *ima_d_path(const struct path *path, char **pathbuf, char *namebuf) in ima_d_path()
|
| A D | ima_fs.c | 292 static ssize_t ima_read_policy(char *path) in ima_read_policy()
|
| A D | ima_appraise.c | 732 char *path = NULL, *pathbuf = NULL; in validate_hash_algo() local
|
| /security/ |
| A D | security.c | 1567 int security_sb_mount(const char *dev_name, const struct path *path, in security_sb_mount() 1678 int security_path_notify(const struct path *path, u64 mask, in security_path_notify() 2041 int security_path_truncate(const struct path *path) in security_path_truncate() 2059 int security_path_chmod(const struct path *path, umode_t mode) in security_path_chmod() 2076 int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid) in security_path_chown() 2091 int security_path_chroot(const struct path *path) in security_path_chroot() 2373 int security_inode_getattr(const struct path *path) in security_inode_getattr() 5751 const struct path *path) in security_bpf_token_create()
|
| /security/selinux/ss/ |
| A D | services.c | 2891 const char *path, in __security_genfs_sid() 2951 const char *path, in security_genfs_sid() 2975 const char *path, in selinux_policy_genfs_sid()
|
| /security/selinux/ |
| A D | hooks.c | 1326 char *buffer, *path; in selinux_genfs_get_sid() local 1707 const struct path *path, in path_has_perm() 2767 const struct path *path, in selinux_mount() 3280 static int selinux_inode_getattr(const struct path *path) in selinux_inode_getattr() 3507 static int selinux_path_notify(const struct path *path, u64 mask, in selinux_path_notify() 7148 const struct path *path) in selinux_bpf_token_create()
|
| /security/smack/ |
| A D | smack_lsm.c | 1255 static int smack_inode_getattr(const struct path *path) in smack_inode_getattr()
|