Searched refs:link (Results 1 – 4 of 4) sorted by relevance
/security/ |
D | inode.c | 266 char *link = NULL; in securityfs_create_symlink() local 269 link = kstrdup(target, GFP_KERNEL); in securityfs_create_symlink() 270 if (!link) in securityfs_create_symlink() 274 link, NULL, iops); in securityfs_create_symlink() 276 kfree(link); in securityfs_create_symlink()
|
/security/apparmor/ |
D | file.c | 356 static inline bool xindex_is_subset(u32 link, u32 target) in xindex_is_subset() argument 358 if (((link & ~AA_X_UNSAFE) != (target & ~AA_X_UNSAFE)) || in xindex_is_subset() 359 ((link & AA_X_UNSAFE) && !(target & AA_X_UNSAFE))) in xindex_is_subset() 366 const struct path *link, char *buffer, in profile_path_link() argument 377 error = path_name(OP_LINK, &profile->label, link, profile->path_flags, in profile_path_link() 467 struct path link = { .mnt = new_dir->mnt, .dentry = new_dentry }; in aa_path_link() local 480 profile_path_link(profile, &link, buffer, &target, in aa_path_link()
|
D | apparmorfs.c | 182 umode_t mode, void *data, char *link, in __aafs_setup_d_inode() argument 205 inode->i_link = link; in __aafs_setup_d_inode() 232 struct dentry *parent, void *data, void *link, in aafs_create() argument 264 error = __aafs_setup_d_inode(dir, dentry, mode, data, link, fops, iops); in aafs_create() 331 char *link = NULL; in aafs_create_symlink() local 334 if (!link) in aafs_create_symlink() 337 dent = aafs_create(name, S_IFLNK | 0444, parent, private, link, NULL, in aafs_create_symlink() 340 kfree(link); in aafs_create_symlink()
|
/security/keys/ |
D | key.c | 705 list_for_each_entry(ktype, &key_types_list, link) { in key_type_lookup() 1138 list_for_each_entry(p, &key_types_list, link) { in register_key_type() 1144 list_add(&ktype->link, &key_types_list); in register_key_type() 1166 list_del_init(&ktype->link); in unregister_key_type() 1184 list_add_tail(&key_type_keyring.link, &key_types_list); in key_init() 1185 list_add_tail(&key_type_dead.link, &key_types_list); in key_init() 1186 list_add_tail(&key_type_user.link, &key_types_list); in key_init() 1187 list_add_tail(&key_type_logon.link, &key_types_list); in key_init()
|