Home
last modified time | relevance | path

Searched refs:unlink (Results 1 – 25 of 272) sorted by relevance

1234567891011

/system/bpf/libbpf_android/
DBpfLoadTest.cpp43 unlink(tp_prog_path); in SetUp()
44 unlink(tp_map_path); in SetUp()
61 unlink(tp_prog_path); in TearDown()
62 unlink(tp_map_path); in TearDown()
/system/sepolicy/prebuilts/api/27.0/public/
Dinstalld.te14 allow installd apk_data_file:lnk_file { create r_file_perms unlink };
17 allow installd apk_tmp_file:file { r_file_perms unlink };
48 allow installd system_data_file:lnk_file { create setattr unlink };
52 allow installd media_rw_data_file:file { getattr unlink };
61 allow installd sdcardfs:file { getattr unlink };
67 allow installd keychain_data_file:file {r_file_perms unlink};
84 allow installd unlabeled:notdevfile_class_set { getattr relabelfrom rename unlink setattr };
89 # Just need enough to relabel it and to unlink removed package files.
91 allow installd system_data_file:notdevfile_class_set { getattr relabelfrom unlink };
120 allow installd user_profile_data_file:file unlink;
[all …]
Dueventd.te20 allow ueventd dev_type:lnk_file { create unlink };
21 allow ueventd dev_type:chr_file { getattr create setattr unlink };
22 allow ueventd dev_type:blk_file { getattr relabelfrom relabelto create setattr unlink };
51 neverallow ueventd dev_type:blk_file ~{ getattr relabelfrom relabelto create setattr unlink };
54 neverallow ueventd { kmem_device port_device }:chr_file ~{ getattr create setattr unlink relabelto …
Dotapreopt_slot.te19 allow otapreopt_slot dalvikcache_data_file:file { getattr unlink };
20 allow otapreopt_slot dalvikcache_data_file:lnk_file { getattr read unlink };
/system/sepolicy/prebuilts/api/28.0/public/
Dinstalld.te14 allow installd apk_data_file:lnk_file { create r_file_perms unlink };
17 allow installd apk_tmp_file:file { r_file_perms unlink };
49 allow installd system_data_file:lnk_file { create getattr read setattr unlink };
53 allow installd media_rw_data_file:file { getattr unlink };
62 allow installd sdcardfs:file { getattr unlink };
68 allow installd keychain_data_file:file {r_file_perms unlink};
85 allow installd unlabeled:notdevfile_class_set { getattr relabelfrom rename unlink setattr };
90 # Just need enough to relabel it and to unlink removed package files.
92 allow installd system_data_file:notdevfile_class_set { getattr relabelfrom unlink };
121 allow installd user_profile_data_file:file unlink;
[all …]
Dueventd.te20 allow ueventd dev_type:lnk_file { create unlink };
21 allow ueventd dev_type:chr_file { getattr create setattr unlink };
22 allow ueventd dev_type:blk_file { getattr relabelfrom relabelto create setattr unlink };
54 neverallow ueventd dev_type:blk_file ~{ getattr relabelfrom relabelto create setattr unlink };
57 neverallow ueventd { kmem_device port_device }:chr_file ~{ getattr create setattr unlink relabelto …
Dotapreopt_slot.te19 allow otapreopt_slot dalvikcache_data_file:file { getattr unlink };
20 allow otapreopt_slot dalvikcache_data_file:lnk_file { getattr read unlink };
/system/sepolicy/prebuilts/api/26.0/public/
Dinstalld.te14 allow installd apk_data_file:lnk_file { create r_file_perms unlink };
17 allow installd apk_tmp_file:file { r_file_perms unlink };
48 allow installd system_data_file:lnk_file { create setattr unlink };
52 allow installd media_rw_data_file:file { getattr unlink };
61 allow installd sdcardfs:file { getattr unlink };
67 allow installd keychain_data_file:file {r_file_perms unlink};
84 allow installd unlabeled:notdevfile_class_set { getattr relabelfrom rename unlink setattr };
89 # Just need enough to relabel it and to unlink removed package files.
91 allow installd system_data_file:notdevfile_class_set { getattr relabelfrom unlink };
120 allow installd user_profile_data_file:file unlink;
[all …]
Dueventd.te22 allow ueventd dev_type:lnk_file { create unlink };
23 allow ueventd dev_type:chr_file { getattr create setattr unlink };
24 allow ueventd dev_type:blk_file { getattr relabelfrom relabelto create setattr unlink };
53 neverallow ueventd dev_type:blk_file ~{ getattr relabelfrom relabelto create setattr unlink };
56 neverallow ueventd { kmem_device port_device }:chr_file ~{ getattr create setattr unlink relabelto …
Dotapreopt_slot.te19 allow otapreopt_slot dalvikcache_data_file:file { getattr unlink };
20 allow otapreopt_slot dalvikcache_data_file:lnk_file { getattr read unlink };
/system/sepolicy/prebuilts/api/29.0/public/
Dinstalld.te14 allow installd apk_data_file:lnk_file { create r_file_perms unlink };
24 allow installd apk_tmp_file:file { r_file_perms unlink };
58 allow installd system_data_file:lnk_file { create getattr read setattr unlink };
62 allow installd media_rw_data_file:file { getattr unlink };
71 allow installd sdcard_type:file { getattr unlink };
77 allow installd keychain_data_file:file {r_file_perms unlink};
94 allow installd unlabeled:notdevfile_class_set { getattr relabelfrom rename unlink setattr };
99 # Just need enough to relabel it and to unlink removed package files.
101 allow installd system_data_file:notdevfile_class_set { getattr relabelfrom unlink };
132 allow installd user_profile_data_file:file unlink;
[all …]
Dueventd.te21 allow ueventd dev_type:lnk_file { create unlink };
22 allow ueventd dev_type:chr_file { getattr create setattr unlink };
23 allow ueventd dev_type:blk_file { getattr relabelfrom relabelto create setattr unlink };
74 neverallow ueventd dev_type:blk_file ~{ getattr relabelfrom relabelto create setattr unlink };
77 neverallow ueventd port_device:chr_file ~{ getattr create setattr unlink relabelto };
/system/vold/
Dsecdiscard.cpp40 bool unlink{true}; member
87 LOG(DEBUG) << "Securely discarding '" << target << "' unlink=" << options.unlink; in main()
91 if (options.unlink) { in main()
92 if (unlink(target.c_str()) != 0 && errno != ENOENT) { in main()
107 options.unlink = false; in read_command_line()
DBenchmarkGen.h4281 res |= unlink("stub"); in BenchmarkDestroy()
4283 res |= unlink("file115"); in BenchmarkDestroy()
4284 res |= unlink("file125"); in BenchmarkDestroy()
4285 res |= unlink("file43"); in BenchmarkDestroy()
4286 res |= unlink("file2"); in BenchmarkDestroy()
4287 res |= unlink("file17"); in BenchmarkDestroy()
4288 res |= unlink("file126"); in BenchmarkDestroy()
4289 res |= unlink("file4"); in BenchmarkDestroy()
4290 res |= unlink("file175"); in BenchmarkDestroy()
4291 res |= unlink("file76"); in BenchmarkDestroy()
[all …]
/system/sepolicy/prebuilts/api/30.0/public/
Dinstalld.te14 allow installd apk_data_file:lnk_file { create r_file_perms unlink };
24 allow installd apk_tmp_file:file { r_file_perms unlink };
58 allow installd system_data_file:lnk_file { create getattr read setattr unlink };
65 allow installd media_rw_data_file:file { getattr unlink };
74 allow installd sdcard_type:file { getattr unlink };
83 allow installd keychain_data_file:file {r_file_perms unlink};
101 allow installd unlabeled:notdevfile_class_set { getattr relabelfrom rename unlink setattr };
106 # Just need enough to relabel it and to unlink removed package files.
108 allow installd system_data_file:notdevfile_class_set { getattr relabelfrom unlink };
143 allow installd user_profile_data_file:file unlink;
[all …]
Dueventd.te21 allow ueventd dev_type:lnk_file { create unlink };
22 allow ueventd dev_type:chr_file { getattr create setattr unlink };
23 allow ueventd dev_type:blk_file { getattr relabelfrom relabelto create setattr unlink };
74 neverallow ueventd dev_type:blk_file ~{ getattr relabelfrom relabelto create setattr unlink };
77 neverallow ueventd port_device:chr_file ~{ getattr create setattr unlink relabelto };
/system/sepolicy/public/
Dinstalld.te14 allow installd apk_data_file:lnk_file { create r_file_perms unlink };
24 allow installd apk_tmp_file:file { r_file_perms unlink };
58 allow installd system_data_file:lnk_file { create getattr read setattr unlink };
65 allow installd media_rw_data_file:file { getattr unlink };
74 allow installd sdcard_type:file { getattr unlink };
83 allow installd keychain_data_file:file {r_file_perms unlink};
101 allow installd unlabeled:notdevfile_class_set { getattr relabelfrom rename unlink setattr };
106 # Just need enough to relabel it and to unlink removed package files.
108 allow installd system_data_file:notdevfile_class_set { getattr relabelfrom unlink };
143 allow installd user_profile_data_file:file unlink;
[all …]
Dueventd.te21 allow ueventd dev_type:lnk_file { create unlink };
22 allow ueventd dev_type:chr_file { getattr create setattr unlink };
23 allow ueventd dev_type:blk_file { getattr relabelfrom relabelto create setattr unlink };
70 neverallow ueventd dev_type:blk_file ~{ getattr relabelfrom relabelto create setattr unlink };
73 neverallow ueventd port_device:chr_file ~{ getattr create setattr unlink relabelto };
/system/libbase/include/android-base/
Dutf8.h94 int unlink(const char* name);
99 using ::unlink;
/system/core/libcutils/
Dandroid_get_control_socket_test.cpp55 unlink(addr.sun_path); in TEST()
67 EXPECT_EQ(unlink(addr.sun_path), 0); in TEST()
/system/sepolicy/prebuilts/api/28.0/
Dplat_pub_versioned.cil3071 …data_file_28_0 (file (ioctl read write create getattr setattr lock append map unlink rename open)))
3072 …_file_28_0 (lnk_file (ioctl read write create getattr setattr lock append map unlink rename open)))
3073 …file_28_0 (sock_file (ioctl read write create getattr setattr lock append map unlink rename open)))
3074 …file_28_0 (fifo_file (ioctl read write create getattr setattr lock append map unlink rename open)))
3121 …data_file_28_0 (file (ioctl read write create getattr setattr lock append map unlink rename open)))
3192 …_0 sdcard_type (file (ioctl read write create getattr setattr lock append map unlink rename open)))
3194 …data_file_28_0 (file (ioctl read write create getattr setattr lock append map unlink rename open)))
3304 (neverallow appdomain base_typeattr_52_28_0 (file (write create setattr relabelfrom append unlink l…
3305 …r_52_28_0 (file (ioctl read write create setattr lock relabelfrom append unlink link rename open)))
3309 (neverallow appdomain rootfs_28_0 (file (write create setattr relabelfrom relabelto append unlink l…
[all …]
/system/sepolicy/prebuilts/api/29.0/private/
Dmls55 # Also constrain other forms of manipulation, e.g. chmod/chown, unlink, rename, etc.
59 mlsconstrain { file sock_file } { open setattr unlink link rename }
62 mlsconstrain { lnk_file } { open setattr unlink link rename read }
66 mlsconstrain { lnk_file } { open setattr unlink link rename read }
86 mlsconstrain { file lnk_file sock_file chr_file blk_file } { write setattr append unlink link renam…
97 mlsconstrain fifo_file { write setattr append unlink link rename }
/system/sepolicy/private/
Dmls55 # Also constrain other forms of manipulation, e.g. chmod/chown, unlink, rename, etc.
59 mlsconstrain { file sock_file } { open setattr unlink link rename }
62 mlsconstrain { lnk_file } { open setattr unlink link rename read }
66 mlsconstrain { lnk_file } { open setattr unlink link rename read }
86 mlsconstrain { file lnk_file sock_file chr_file blk_file } { write setattr append unlink link renam…
97 mlsconstrain fifo_file { write setattr append unlink link rename }
/system/sepolicy/prebuilts/api/30.0/private/
Dmls55 # Also constrain other forms of manipulation, e.g. chmod/chown, unlink, rename, etc.
59 mlsconstrain { file sock_file } { open setattr unlink link rename }
62 mlsconstrain { lnk_file } { open setattr unlink link rename read }
66 mlsconstrain { lnk_file } { open setattr unlink link rename read }
86 mlsconstrain { file lnk_file sock_file chr_file blk_file } { write setattr append unlink link renam…
97 mlsconstrain fifo_file { write setattr append unlink link rename }
/system/core/fs_mgr/tests/
Dfile_wait_test.cpp36 void TearDown() override { unlink(test_file_.c_str()); } in TearDown()
82 unlink(test_file_.c_str()); in TEST_F()

1234567891011