Searched refs:dirname (Results 1 – 3 of 3) sorted by relevance
/security/apparmor/ |
D | apparmorfs.c | 1489 static char *gen_symlink_name(int depth, const char *dirname, const char *fname) in gen_symlink_name() argument 1493 int size = depth * 6 + strlen(dirname) + strlen(fname) + 11; in gen_symlink_name() 1505 error = snprintf(s, size, "raw_data/%s/%s", dirname, fname); in gen_symlink_name() 1603 if (!profile->dirname) { in __aafs_profile_mkdir() 1608 profile->dirname = kmalloc(len + id_len + 1, GFP_KERNEL); in __aafs_profile_mkdir() 1609 if (!profile->dirname) { in __aafs_profile_mkdir() 1614 mangle_name(profile->base.name, profile->dirname); in __aafs_profile_mkdir() 1615 sprintf(profile->dirname + len, ".%ld", profile->ns->uniq_id++); in __aafs_profile_mkdir() 1618 dent = aafs_create_dir(profile->dirname, parent); in __aafs_profile_mkdir()
|
D | policy.c | 232 kzfree(profile->dirname); in aa_free_profile()
|
/security/apparmor/include/ |
D | policy.h | 159 char *dirname; member
|