Home
last modified time | relevance | path

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

12

/system/sepolicy/
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;
10 type proc_drop_caches, fs_type;
12 type usermodehelper, fs_type, sysfs_type;
13 type qtaguid_proc, fs_type, mlstrustedobject;
14 type proc_bluetooth_writable, fs_type;
[all …]
Dsu.te38 dontaudit su fs_type:filesystem *;
39 dontaudit su {fs_type dev_type file_type}:dir_file_class_set *;
Dmediaextractor.te22 neverallow mediaextractor { file_type fs_type }:file execute_no_trans;
Dmediacodec.te27 neverallow mediacodec { file_type fs_type }:file execute_no_trans;
Dblkid.te20 neverallow blkid { file_type fs_type -blkid_exec -shell_exec }:file entrypoint;
Dsgdisk.te22 neverallow sgdisk { file_type fs_type -sgdisk_exec }:file entrypoint;
Dblkid_untrusted.te36 neverallow blkid_untrusted { file_type fs_type -blkid_exec -shell_exec }:file entrypoint;
Dfsck_untrusted.te36 neverallow fsck_untrusted { file_type fs_type -fsck_exec }:file entrypoint;
Dcameraserver.te36 neverallow cameraserver { file_type fs_type }:file execute_no_trans;
Dtoolbox.te26 neverallow toolbox { file_type fs_type -toolbox_exec}:file entrypoint;
Dfsck.te47 neverallow fsck { file_type fs_type -fsck_exec }:file entrypoint;
Dinit.te87 allow init fs_type:filesystem ~relabelto;
120 allow init { fs_type -contextmount_type -sdcard_type -rootfs }:file { open read setattr };
121 allow init { fs_type -contextmount_type -sdcard_type -rootfs }:dir { open read setattr search };
300 neverallow init { file_type fs_type -init_exec }:file entrypoint;
307 neverallow init { file_type fs_type }:file execute_no_trans;
Daudioserver.te52 neverallow audioserver { file_type fs_type }:file execute_no_trans;
Dmediadrmserver.te63 neverallow mediadrmserver { file_type fs_type }:file execute_no_trans;
Ddomain.te143 allow domain fs_type:filesystem getattr;
144 allow domain fs_type:dir getattr;
268 neverallow { domain -kernel -init -recovery -vold -zygote -update_engine } { fs_type -sdcard_type }…
288 } { fs_type -rootfs }:file execute;
328 neverallow * {fs_type -contextmount_type}:filesystem relabelto;
417 neverallow * { file_type fs_type dev_type }:{ lnk_file fifo_file sock_file } mounton;
Ddevice.te2 type device, dev_type, fs_type;
Dattributes26 attribute fs_type;
/system/core/fs_mgr/
Dfs_mgr.c96 static void check_fs(char *blk_device, char *fs_type, char *target) in check_fs() argument
110 if (!strcmp(fs_type, "ext2") || !strcmp(fs_type, "ext3") || !strcmp(fs_type, "ext4")) { in check_fs()
125 if (!strcmp(fs_type, "ext4")) { in check_fs()
129 ret = mount(blk_device, target, fs_type, tmpmnt_flags, tmpmnt_opts); in check_fs()
131 __func__, blk_device, target, fs_type, ret, strerror(errno)); in check_fs()
166 } else if (!strcmp(fs_type, "f2fs")) { in check_fs()
238 ret = mount(source, target, rec->fs_type, mountflags, rec->fs_options); in __mount()
240 INFO("%s(source=%s,target=%s,type=%s)=%d\n", __func__, source, target, rec->fs_type, ret); in __mount()
332 … fstab->recs[i].mount_point, i, fstab->recs[i].fs_type, fstab->recs[*attempted_idx].fs_type); in mount_with_alternatives()
337 check_fs(fstab->recs[i].blk_device, fstab->recs[i].fs_type, in mount_with_alternatives()
[all …]
Dfs_mgr_format.c108 ERROR("%s: Format %s as '%s'.\n", __func__, fstab->blk_device, fstab->fs_type); in fs_mgr_do_format()
110 if (!strncmp(fstab->fs_type, "f2fs", 4)) { in fs_mgr_do_format()
112 } else if (!strncmp(fstab->fs_type, "ext4", 4)) { in fs_mgr_do_format()
115 ERROR("File system type '%s' is not supported\n", fstab->fs_type); in fs_mgr_do_format()
Dfs_mgr_fstab.c310 fstab->recs[cnt].fs_type = strdup(p); in fs_mgr_read_fstab()
371 free(fstab->recs[i].fs_type); in fs_mgr_free_fstab()
389 const char *mount_point, const char *fs_type, in fs_mgr_add_entry() argument
405 new_fstab_recs[n].fs_type = strdup(fs_type); in fs_mgr_add_entry()
/system/extras/tests/fstest/
Drecovery_test.cpp187 FsRecoveryTest() : fs_type(FS_UNKNOWN), blk_fd_(-1) {} in FsRecoveryTest()
190 fs_type = FS_UNKNOWN; in setCacheInfoFromFstab()
204 if (!strcmp(fstab->recs[i].fs_type, "ext4")) { in setCacheInfoFromFstab()
205 fs_type = FS_EXT4; in setCacheInfoFromFstab()
207 } else if (!strcmp(fstab->recs[i].fs_type, "f2fs")) { in setCacheInfoFromFstab()
208 fs_type = FS_F2FS; in setCacheInfoFromFstab()
215 return fs_type != FS_UNKNOWN; in setCacheInfoFromFstab()
278 Fs_Type fs_type; member in android::FsRecoveryTest
286 if (fs_type != FS_EXT4) { in TEST_F()
304 if (fs_type != FS_EXT4) { in TEST_F()
/system/core/fastboot/
Dfs.cpp39 const char* fs_type; //must match what fastboot reports for partition type member
51 const struct fs_generator* fs_get_generator(const std::string& fs_type) { in fs_get_generator() argument
53 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/
Dfs_mgr.h57 char *fs_type; member
97 const char *mount_point, const char *fs_type,
/system/vold/
DTrimTask.cpp74 if (!strcmp(fstab->recs[i].fs_type, "emmc") || in addFromFstab()
75 !strcmp(fstab->recs[i].fs_type, "mtd")) { in addFromFstab()

12