Home
last modified time | relevance | path

Searched refs:fstype (Results 1 – 6 of 6) sorted by relevance

/security/tomoyo/
Dmount.c84 struct file_system_type *fstype = NULL; in tomoyo_mount_acl() local
125 fstype = get_fs_type(type); in tomoyo_mount_acl()
126 if (!fstype) { in tomoyo_mount_acl()
130 if (fstype->fs_flags & FS_REQUIRES_DEV) in tomoyo_mount_acl()
171 if (fstype) in tomoyo_mount_acl()
172 put_filesystem(fstype); in tomoyo_mount_acl()
/security/apparmor/
Dmount.c534 struct file_system_type *fstype; in aa_new_mount() local
536 fstype = get_fs_type(type); in aa_new_mount()
537 if (!fstype) in aa_new_mount()
539 binary = fstype->fs_flags & FS_BINARY_MOUNTDATA; in aa_new_mount()
540 requires_dev = fstype->fs_flags & FS_REQUIRES_DEV; in aa_new_mount()
541 put_filesystem(fstype); in aa_new_mount()
/security/selinux/include/
Dsecurity.h412 const char *fstype, char *name, u16 sclass,
416 const char *fstype, char *name, u16 sclass,
/security/selinux/ss/
Dpolicydb.c823 kfree(g->fstype); in policydb_destroy()
2129 rc = str_read(&newgenfs->fstype, GFP_KERNEL, fp, len); in genfs_read()
2136 if (strcmp(newgenfs->fstype, genfs->fstype) == 0) { in genfs_read()
2138 newgenfs->fstype); in genfs_read()
2141 if (strcmp(newgenfs->fstype, genfs->fstype) < 0) in genfs_read()
2188 genfs->fstype, c->u.name); in genfs_read()
2208 kfree(newgenfs->fstype); in genfs_read()
3413 len = strlen(genfs->fstype); in genfs_write()
3418 rc = put_entry(genfs->fstype, 1, len, fp); in genfs_write()
Dpolicydb.h210 char *fstype; member
Dservices.c2880 const char *fstype, in __security_genfs_sid() argument
2900 cmp = strcmp(fstype, genfs->fstype); in __security_genfs_sid()
2933 const char *fstype, in security_genfs_sid() argument
2949 retval = __security_genfs_sid(policy, fstype, path, in security_genfs_sid()
2957 const char *fstype, in selinux_policy_genfs_sid() argument
2963 return __security_genfs_sid(policy, fstype, path, orig_sclass, sid); in selinux_policy_genfs_sid()
2979 const char *fstype = sb->s_type->name; in security_fs_use() local
2996 if (strcmp(fstype, c->u.name) == 0) in security_fs_use()
3011 rc = __security_genfs_sid(policy, fstype, "/", in security_fs_use()