Home
last modified time | relevance | path

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

/linux/security/tomoyo/
H A Dmount.c86 struct file_system_type *fstype = NULL; in tomoyo_mount_acl()
98 /* Get fstype. */ in tomoyo_mount_acl()
127 fstype = get_fs_type(type); in tomoyo_mount_acl()
128 if (!fstype) { in tomoyo_mount_acl()
132 if (fstype->fs_flags & FS_REQUIRES_DEV) in tomoyo_mount_acl()
173 if (fstype) in tomoyo_mount_acl()
174 put_filesystem(fstype); in tomoyo_mount_acl()
84 struct file_system_type *fstype = NULL; tomoyo_mount_acl() local
/linux/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c182 bool test_unpriv_remount(const char *fstype, const char *mount_options, in test_unpriv_remount() argument
216 if (mount("testing", "/tmp", fstype, mount_flags, mount_options) != 0) { in test_unpriv_remount()
218 fstype, in test_unpriv_remount()
/linux/security/apparmor/
H A Dmount.c493 struct file_system_type *fstype; in aa_new_mount() local
495 fstype = get_fs_type(type); in aa_new_mount()
496 if (!fstype) in aa_new_mount()
498 binary = fstype->fs_flags & FS_BINARY_MOUNTDATA; in aa_new_mount()
499 requires_dev = fstype->fs_flags & FS_REQUIRES_DEV; in aa_new_mount()
500 put_filesystem(fstype); in aa_new_mount()
/linux/scripts/gdb/linux/
H A Dproc.py193 fstype = superblock['s_type']['name'].string()
200 pathname, fstype, rd, info_opts(FS_INFO, s_flags),
/linux/security/selinux/include/
H A Dsecurity.h357 int security_genfs_sid(const char *fstype, const char *path, u16 sclass,
360 int selinux_policy_genfs_sid(struct selinux_policy *policy, const char *fstype,
/linux/security/selinux/ss/
H A Dservices.c2768 const char *fstype, in __security_genfs_sid() argument
2788 cmp = strcmp(fstype, genfs->fstype); in __security_genfs_sid()
2828 int security_genfs_sid(const char *fstype, in security_genfs_sid() argument
2844 retval = __security_genfs_sid(policy, fstype, path, in security_genfs_sid()
2852 const char *fstype, in selinux_policy_genfs_sid() argument
2858 return __security_genfs_sid(policy, fstype, path, orig_sclass, sid); in selinux_policy_genfs_sid()
2873 const char *fstype = sb->s_type->name; in security_fs_use() local
2889 if (strcmp(fstype, c->u.name) == 0) in security_fs_use()
2904 rc = __security_genfs_sid(policy, fstype, "/", in security_fs_use()
H A Dpolicydb.c864 kfree(g->fstype); in policydb_destroy()
2467 rc = str_read(&newgenfs->fstype, GFP_KERNEL, fp, len); in genfs_read()
2474 if (strcmp(newgenfs->fstype, genfs->fstype) == 0) { in genfs_read()
2476 newgenfs->fstype); in genfs_read()
2479 if (strcmp(newgenfs->fstype, genfs->fstype) < 0) in genfs_read()
2530 genfs->fstype, c->u.name); in genfs_read()
2550 kfree(newgenfs->fstype); in genfs_read()
3813 len = strlen(genfs->fstype); in genfs_write()
3818 rc = put_entry(genfs->fstype, 1, len, fp); in genfs_write()
H A Dpolicydb.h174 char *name; /* name of initial SID, fs, netif, fstype, path */
208 char *fstype;
207 char *fstype; global() member