/system/sepolicy/ |
D | file.te | 2 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 …]
|
D | su.te | 38 dontaudit su fs_type:filesystem *; 39 dontaudit su {fs_type dev_type file_type}:dir_file_class_set *;
|
D | mediaextractor.te | 22 neverallow mediaextractor { file_type fs_type }:file execute_no_trans;
|
D | mediacodec.te | 27 neverallow mediacodec { file_type fs_type }:file execute_no_trans;
|
D | blkid.te | 20 neverallow blkid { file_type fs_type -blkid_exec -shell_exec }:file entrypoint;
|
D | sgdisk.te | 22 neverallow sgdisk { file_type fs_type -sgdisk_exec }:file entrypoint;
|
D | blkid_untrusted.te | 36 neverallow blkid_untrusted { file_type fs_type -blkid_exec -shell_exec }:file entrypoint;
|
D | fsck_untrusted.te | 36 neverallow fsck_untrusted { file_type fs_type -fsck_exec }:file entrypoint;
|
D | cameraserver.te | 36 neverallow cameraserver { file_type fs_type }:file execute_no_trans;
|
D | toolbox.te | 26 neverallow toolbox { file_type fs_type -toolbox_exec}:file entrypoint;
|
D | fsck.te | 47 neverallow fsck { file_type fs_type -fsck_exec }:file entrypoint;
|
D | init.te | 87 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;
|
D | audioserver.te | 52 neverallow audioserver { file_type fs_type }:file execute_no_trans;
|
D | mediadrmserver.te | 63 neverallow mediadrmserver { file_type fs_type }:file execute_no_trans;
|
D | domain.te | 143 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;
|
D | device.te | 2 type device, dev_type, fs_type;
|
D | attributes | 26 attribute fs_type;
|
/system/core/fs_mgr/ |
D | fs_mgr.c | 96 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 …]
|
D | fs_mgr_format.c | 108 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()
|
D | fs_mgr_fstab.c | 310 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/ |
D | recovery_test.cpp | 187 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/ |
D | fs.cpp | 39 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()
|
D | fs.h | 9 const struct fs_generator* fs_get_generator(const std::string& fs_type);
|
/system/core/fs_mgr/include/ |
D | fs_mgr.h | 57 char *fs_type; member 97 const char *mount_point, const char *fs_type,
|
/system/vold/ |
D | TrimTask.cpp | 74 if (!strcmp(fstab->recs[i].fs_type, "emmc") || in addFromFstab() 75 !strcmp(fstab->recs[i].fs_type, "mtd")) { in addFromFstab()
|