Home
last modified time | relevance | path

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

1234

/system/sepolicy/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 };
Dtzdatacheck.te6 allow tzdatacheck zoneinfo_data_file:file unlink;
Dneverallow_macros3 define(`no_w_file_perms', `{ append create link unlink relabelfrom rename setattr write }')
Dhal_fingerprint.te11 # allow HAL module to read/write/unlink contents of this dir
Dfingerprintd.te15 # allow HAL module to read/write/unlink contents of this dir
/system/vold/
DBenchmarkGen.h4247 res |= unlink("stub"); in BenchmarkDestroy()
4249 res |= unlink("file115"); in BenchmarkDestroy()
4250 res |= unlink("file125"); in BenchmarkDestroy()
4251 res |= unlink("file43"); in BenchmarkDestroy()
4252 res |= unlink("file2"); in BenchmarkDestroy()
4253 res |= unlink("file17"); in BenchmarkDestroy()
4254 res |= unlink("file126"); in BenchmarkDestroy()
4255 res |= unlink("file4"); in BenchmarkDestroy()
4256 res |= unlink("file175"); in BenchmarkDestroy()
4257 res |= unlink("file76"); in BenchmarkDestroy()
[all …]
Dsecdiscard.cpp39 bool unlink{true}; member
63 LOG(DEBUG) << "Securely discarding '" << target << "' unlink=" << options.unlink; in main()
67 if (options.unlink) { in main()
68 if (unlink(target.c_str()) != 0 && errno != ENOENT) { in main()
82 options.unlink = false; in read_command_line()
DVolumeManager.cpp301 unlink(kPathVirtualDisk); in updateVirtualDisk()
472 if (unlink(keyPath.c_str()) != 0) { in forgetPartition()
488 if (TEMP_FAILURE_RETRY(unlink(target.c_str()))) { in linkPrimary()
907 unlink(asecFileName); in createAsec()
914 unlink(asecFileName); in createAsec()
928 unlink(asecFileName); in createAsec()
945 unlink(asecFileName); in createAsec()
960 unlink(asecFileName); in createAsec()
976 unlink(asecFileName); in createAsec()
987 unlink(asecFileName); in createAsec()
[all …]
/system/core/base/include/android-base/
Dutf8.h77 int unlink(const char* name);
80 using ::unlink;
/system/core/libcutils/tests/
Dandroid_get_control_socket_test.cpp55 unlink(addr.sun_path); in TEST()
67 EXPECT_EQ(unlink(addr.sun_path), 0); in TEST()
/system/sepolicy/private/
Dapp.te414 { create write setattr relabelfrom relabelto append unlink link rename };
418 { create write setattr relabelfrom relabelto append unlink link rename };
422 { create write setattr relabelfrom relabelto append unlink link rename };
429 { create write setattr relabelfrom relabelto append unlink link rename };
433 { create write setattr relabelfrom relabelto append unlink link rename };
436 { create write setattr relabelfrom relabelto append unlink link rename };
439 { create write setattr relabelfrom relabelto append unlink link rename };
442 { create write setattr relabelfrom relabelto append unlink link rename };
445 { create write setattr relabelfrom relabelto append unlink link rename };
448 { create setattr relabelfrom relabelto append unlink link rename };
[all …]
Dmls55 # Also constrain other forms of manipulation, e.g. chmod/chown, unlink, rename, etc.
59 mlsconstrain { file lnk_file sock_file } { open setattr unlink link rename }
79 mlsconstrain { file lnk_file sock_file chr_file blk_file } { write setattr append unlink link renam…
90 mlsconstrain fifo_file { write setattr append unlink link rename }
/system/bt/osi/test/
Dwakelock_test.cc78 unlink(lock_path_.c_str()); in TearDown()
79 unlink(unlock_path_.c_str()); in TearDown()
/system/core/libnativebridge/tests/
DCodeCacheStatFail_test.cpp48 unlink(kCodeCache); in TEST_F()
DPreInitializeNativeBridge_test.cpp59 ASSERT_EQ(0, unlink("./cpuinfo")) << "Error unlinking temporary file."; in TEST_F()
/system/bt/service/ipc/
Dipc_handler_linux.cc41 if (!socket_path_.empty()) unlink(socket_path_.value().c_str()); in ~IPCHandlerLinux()
77 unlink(path.value().c_str()); in Run()
/system/bt/osi/src/socket_utils/
Dsocket_local_server.cc62 unlink(addr.sun_path);
/system/core/libcutils/
Dashmem-host.c48 unlink(template); in ashmem_create_region()
Dsocket_local_server_unix.c76 unlink(addr.sun_path);
/system/extras/f2fs_utils/
Dmake_f2fs_main.c89 unlink(filename); in main()
/system/core/adb/
Dsysdeps.h185 #undef unlink
186 #define unlink ___xxx_unlink macro
563 return unlink(path); in adb_unlink()
565 #undef unlink
566 #define unlink ___xxx_unlink macro
/system/core/base/
Dtest_utils.cpp89 unlink(path); in ~TemporaryFile()
/system/update_engine/payload_consumer/
Ddownload_action.cc73 if (unlink(path.value().c_str()) != 0) { in CloseP2PSharingFd()
212 if (unlink(path.value().c_str()) != 0) { in PerformAction()

1234