Home
last modified time | relevance | path

Searched refs:fs_type (Results 1 – 25 of 69) sorted by relevance

123

/system/sepolicy/prebuilts/api/26.0/public/
Dfile.te2 type labeledfs, fs_type;
3 type pipefs, fs_type;
4 type sockfs, fs_type;
5 type rootfs, fs_type;
6 type proc, fs_type;
8 type proc_security, fs_type;
9 type proc_drop_caches, fs_type;
10 type proc_overcommit_memory, fs_type;
12 type usermodehelper, fs_type, sysfs_type;
13 type qtaguid_proc, fs_type, mlstrustedobject;
[all …]
Dsu.te32 dontaudit su fs_type:filesystem *;
33 dontaudit su {fs_type dev_type file_type}:dir_file_class_set *;
Dmediadrmserver.te30 neverallow mediadrmserver { file_type fs_type }:file execute_no_trans;
Dsgdisk.te22 neverallow sgdisk { file_type fs_type -sgdisk_exec }:file entrypoint;
Dtoolbox.te24 neverallow toolbox { file_type fs_type -toolbox_exec}:file entrypoint;
Dhal_audio.te31 neverallow hal_audio { file_type fs_type }:file execute_no_trans;
/system/sepolicy/public/
Dfile.te2 type labeledfs, fs_type;
3 type pipefs, fs_type;
4 type sockfs, fs_type;
5 type rootfs, fs_type;
6 type proc, fs_type;
8 type proc_security, fs_type;
9 type proc_drop_caches, fs_type;
10 type proc_overcommit_memory, fs_type;
12 type usermodehelper, fs_type;
13 type sysfs_usermodehelper, fs_type, sysfs_type;
[all …]
Dsu.te32 dontaudit su fs_type:filesystem *;
33 dontaudit su {fs_type dev_type file_type}:dir_file_class_set *;
Dmediadrmserver.te28 neverallow mediadrmserver { file_type fs_type }:file execute_no_trans;
Dsgdisk.te22 neverallow sgdisk { file_type fs_type -sgdisk_exec }:file entrypoint;
Dhal_audio.te31 neverallow hal_audio { file_type fs_type }:file execute_no_trans;
/system/extras/tests/fstest/
Drecovery_test.cpp186 FsRecoveryTest() : fs_type(FS_UNKNOWN), blk_fd_(-1) {} in FsRecoveryTest()
189 fs_type = FS_UNKNOWN; in setCacheInfoFromFstab()
199 if (!strcmp(fstab->recs[i].fs_type, "ext4")) { in setCacheInfoFromFstab()
200 fs_type = FS_EXT4; in setCacheInfoFromFstab()
202 } else if (!strcmp(fstab->recs[i].fs_type, "f2fs")) { in setCacheInfoFromFstab()
203 fs_type = FS_F2FS; in setCacheInfoFromFstab()
210 return fs_type != FS_UNKNOWN; in setCacheInfoFromFstab()
273 Fs_Type fs_type; member in android::FsRecoveryTest
281 if (fs_type != FS_EXT4) { in TEST_F()
299 if (fs_type != FS_EXT4) { in TEST_F()
/system/core/fs_mgr/
Dfs_mgr.cpp122 static bool is_extfs(const std::string& fs_type) { in is_extfs() argument
123 return fs_type == "ext4" || fs_type == "ext3" || fs_type == "ext2"; in is_extfs()
134 static void check_fs(const char *blk_device, char *fs_type, char *target, int *fs_stat) in check_fs() argument
144 if (is_extfs(fs_type)) { in check_fs()
163 if (!strcmp(fs_type, "ext4")) { in check_fs()
167 ret = mount(blk_device, target, fs_type, tmpmnt_flags, tmpmnt_opts); in check_fs()
168 PINFO << __FUNCTION__ << "(): mount(" << blk_device << "," << target << "," << fs_type in check_fs()
220 } else if (!strcmp(fs_type, "f2fs")) { in check_fs()
410 if (is_extfs(rec->fs_type)) { in prepare_fs_for_mount()
431 check_fs(blk_device, rec->fs_type, rec->mount_point, &fs_stat); in prepare_fs_for_mount()
[all …]
Dfs_mgr_format.cpp101 << " as '" << fstab->fs_type << "'"; in fs_mgr_do_format()
103 if (!strncmp(fstab->fs_type, "f2fs", 4)) { in fs_mgr_do_format()
105 } else if (!strncmp(fstab->fs_type, "ext4", 4)) { in fs_mgr_do_format()
108 LERROR << "File system type '" << fstab->fs_type << "' is not supported"; in fs_mgr_do_format()
/system/core/fastboot/
Dfs.cpp176 const char* fs_type; //must match what fastboot reports for partition type member
189 const struct fs_generator* fs_get_generator(const std::string& fs_type) { in fs_get_generator() argument
191 if (fs_type == generators[i].fs_type) { in fs_get_generator()
Dfs.h9 const struct fs_generator* fs_get_generator(const std::string& fs_type);
/system/core/fs_mgr/include_fstab/fstab/
Dfstab.h47 char* fs_type; member
72 int fs_mgr_add_entry(struct fstab* fstab, const char* mount_point, const char* fs_type,
/system/sepolicy/private/
Dfile.te7 type config_gz, fs_type;
Dblkid.te22 neverallow blkid { file_type fs_type -blkid_exec -shell_exec }:file entrypoint;
Dblkid_untrusted.te37 neverallow blkid_untrusted { file_type fs_type -blkid_exec -shell_exec }:file entrypoint;
/system/sepolicy/prebuilts/api/26.0/private/
Dfile.te7 type config_gz, fs_type;
Dblkid.te22 neverallow blkid { file_type fs_type -blkid_exec -shell_exec }:file entrypoint;
Dblkid_untrusted.te37 neverallow blkid_untrusted { file_type fs_type -blkid_exec -shell_exec }:file entrypoint;
/system/vold/
DTrimTask.cpp74 if (!strcmp(fstab->recs[i].fs_type, "emmc") || in addFromFstab()
75 !strcmp(fstab->recs[i].fs_type, "mtd")) { in addFromFstab()
/system/libvintf/
DVintfObjectRecovery.cpp36 int result = mount(rec->blk_device, mount_point, rec->fs_type, rec->flags, rec->fs_options); in mountAt()

123