Home
last modified time | relevance | path

Searched defs:path (Results 1 – 20 of 20) sorted by relevance

/security/tomoyo/
Dtomoyo.c127 static int tomoyo_inode_getattr(const struct path *path) in tomoyo_inode_getattr()
139 static int tomoyo_path_truncate(const struct path *path) in tomoyo_path_truncate()
154 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_unlink() local
171 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_mkdir() local
187 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_rmdir() local
204 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_symlink() local
222 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_mknod() local
346 static int tomoyo_path_chmod(const struct path *path, umode_t mode) in tomoyo_path_chmod()
361 static int tomoyo_path_chown(const struct path *path, kuid_t uid, kgid_t gid) in tomoyo_path_chown()
381 static int tomoyo_path_chroot(const struct path *path) in tomoyo_path_chroot()
[all …]
Drealpath.c93 static char *tomoyo_get_absolute_path(const struct path *path, char * const buffer, in tomoyo_get_absolute_path()
235 char *tomoyo_realpath_from_path(const struct path *path) in tomoyo_realpath_from_path()
304 struct path path; in tomoyo_realpath_nofollow() local
Dmount.c83 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()
Dfile.c149 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()
Dload_policy.c39 struct path path; in tomoyo_policy_loader_exists() local
Dcommon.h440 } path; member
/security/apparmor/
Dmount.c293 static int path_flags(struct aa_profile *profile, const struct path *path) in path_flags()
373 static int match_mnt(struct aa_profile *profile, const struct path *path, in match_mnt()
399 int aa_remount(struct aa_label *label, const struct path *path, in aa_remount()
421 int aa_bind_mount(struct aa_label *label, const struct path *path, in aa_bind_mount()
451 int aa_mount_change_type(struct aa_label *label, const struct path *path, in aa_mount_change_type()
474 int aa_move_mount(struct aa_label *label, const struct path *path, in aa_move_mount()
503 const struct path *path, const char *type, unsigned long flags, in aa_new_mount()
554 static int profile_umount(struct aa_profile *profile, struct path *path, in profile_umount()
590 struct path path = { .mnt = mnt, .dentry = mnt->mnt_root }; in aa_umount() local
Dpath.c48 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()
Dlsm.c193 static int common_perm(const char *op, const struct path *path, u32 mask, in common_perm()
215 static int common_perm_cond(const char *op, const struct path *path, u32 mask) in common_perm_cond()
241 struct path path = { .mnt = dir->mnt, .dentry = dentry }; in common_perm_dir_dentry() local
314 static int apparmor_path_truncate(const struct path *path) in apparmor_path_truncate()
377 static int apparmor_path_chmod(const struct path *path, umode_t mode) in apparmor_path_chmod()
382 static int apparmor_path_chown(const struct path *path, kuid_t uid, kgid_t gid) in apparmor_path_chown()
387 static int apparmor_inode_getattr(const struct path *path) in apparmor_inode_getattr()
516 static int apparmor_sb_mount(const char *dev_name, const struct path *path, in apparmor_sb_mount()
Dfile.c167 const struct path *path, int flags, char *buffer, in path_name()
294 const struct path *path, char *buffer, u32 request, in profile_path_perm()
325 const struct path *path, int flags, u32 request, in aa_path_perm()
Dapparmorfs.c2457 struct path path; in policy_get_link() local
/security/keys/
Dbig_key.c203 struct path *path = (struct path *)&prep->payload.data[big_key_path]; in big_key_preparse() local
296 struct path *path = (struct path *)&prep->payload.data[big_key_path]; in big_key_free_preparse() local
309 struct path *path = (struct path *)&key->payload.data[big_key_path]; in big_key_revoke() local
326 struct path *path = (struct path *)&key->payload.data[big_key_path]; in big_key_destroy() local
365 struct path *path = (struct path *)&key->payload.data[big_key_path]; in big_key_read() local
Drequest_key.c99 static int call_usermodehelper_keys(const char *path, char **argv, char **envp, in call_usermodehelper_keys()
/security/integrity/
Ddigsig.c176 int __init integrity_load_x509(const unsigned int id, const char *path) in integrity_load_x509()
/security/
Dsecurity.c870 int security_sb_mount(const char *dev_name, const struct path *path, in security_sb_mount()
920 int security_path_notify(const struct path *path, u64 mask, in security_path_notify()
1097 int security_path_truncate(const struct path *path) in security_path_truncate()
1104 int security_path_chmod(const struct path *path, umode_t mode) in security_path_chmod()
1111 int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid) in security_path_chown()
1118 int security_path_chroot(const struct path *path) in security_path_chroot()
1231 int security_inode_getattr(const struct path *path) in security_inode_getattr()
/security/integrity/ima/
Dima_api.c389 const char *ima_d_path(const struct path *path, char **pathbuf, char *namebuf) in ima_d_path()
Dima_fs.c275 static ssize_t ima_read_policy(char *path) in ima_read_policy()
/security/selinux/
Dhooks.c1349 char *buffer, *path; in selinux_genfs_get_sid() local
1729 const struct path *path, in path_has_perm()
2770 const struct path *path, in selinux_mount()
3136 static int selinux_inode_getattr(const struct path *path) in selinux_inode_getattr()
3318 static int selinux_path_notify(const struct path *path, u64 mask, in selinux_path_notify()
/security/selinux/ss/
Dservices.c2764 char *path, in __security_genfs_sid()
2816 char *path, in security_genfs_sid()
/security/smack/
Dsmack_lsm.c1244 static int smack_inode_getattr(const struct path *path) in smack_inode_getattr()