Home
last modified time | relevance | path

Searched refs:link (Results 1 – 4 of 4) sorted by relevance

/security/
Dinode.c266 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/
Dfile.c349 static inline bool xindex_is_subset(u32 link, u32 target) in xindex_is_subset() argument
351 if (((link & ~AA_X_UNSAFE) != (target & ~AA_X_UNSAFE)) || in xindex_is_subset()
352 ((link & AA_X_UNSAFE) && !(target & AA_X_UNSAFE))) in xindex_is_subset()
359 const struct path *link, char *buffer, in profile_path_link() argument
370 error = path_name(OP_LINK, &profile->label, link, profile->path_flags, in profile_path_link()
460 struct path link = { .mnt = new_dir->mnt, .dentry = new_dentry }; in aa_path_link() local
478 profile_path_link(profile, &link, buffer, &target, in aa_path_link()
Dapparmorfs.c212 umode_t mode, void *data, char *link, in __aafs_setup_d_inode() argument
235 inode->i_link = link; in __aafs_setup_d_inode()
262 struct dentry *parent, void *data, void *link, in aafs_create() argument
294 error = __aafs_setup_d_inode(dir, dentry, mode, data, link, fops, iops); in aafs_create()
/security/keys/
Dkey.c708 list_for_each_entry(ktype, &key_types_list, link) { in key_type_lookup()
1157 list_for_each_entry(p, &key_types_list, link) { in register_key_type()
1163 list_add(&ktype->link, &key_types_list); in register_key_type()
1185 list_del_init(&ktype->link); in unregister_key_type()
1203 list_add_tail(&key_type_keyring.link, &key_types_list); in key_init()
1204 list_add_tail(&key_type_dead.link, &key_types_list); in key_init()
1205 list_add_tail(&key_type_user.link, &key_types_list); in key_init()
1206 list_add_tail(&key_type_logon.link, &key_types_list); in key_init()