Home
last modified time | relevance | path

Searched refs:init (Results 1 – 25 of 129) sorted by relevance

123456

/system/sepolicy/
Dinit.te1 # init is its own domain.
2 type init, domain, domain_deprecated, mlstrustedsubject;
3 tmpfs_domain(init)
5 # The init domain is entered by execing init.
8 # /dev/__null__ node created by init.
9 allow init tmpfs:chr_file create_file_perms;
12 # init direct restorecon calls.
15 allow init { device socket_device }:dir relabelto;
17 allow init properties_device:dir relabelto;
18 allow init properties_serial:file { write relabelto };
[all …]
Ddomain.te3 # Allow reaping by init.
4 allow domain init:process sigchld;
34 allow domain init:fd use;
42 allow { domain -init } su:binder { call transfer };
43 allow { domain -init } su:fd use;
93 allow domain init:key search;
150 # Do not allow any domain other than init or recovery to create unlabeled files.
151 neverallow { domain -init -recovery } unlabeled:dir_file_class_set create;
168 -init
178 -init
[all …]
Dkernel.te15 # Allow init relabel itself.
19 allow kernel init:process share;
28 # Initial setenforce by init prior to switching to init domain.
33 # Write to /proc/1/oom_adj prior to switching to init domain.
38 # As part of rebooting, init writes "u" to /proc/sysrq-trigger to
48 # Set checkreqprot by init.rc prior to switching to init domain.
66 domain_auto_trans(kernel, init_exec, init)
88 # - You failed to setcon u:r:init:s0 in your init.rc and thus your init
90 # some other program. Fix your init.rc file.
91 # - You are running an exploit which switched to the init task credentials
Dtoolbox.te1 # Any toolbox command run by init.
9 # /dev/__null__ created by init prior to policy load,
23 # Only allow entry from init via the toolbox binary.
24 neverallow { domain -init } toolbox:process transition;
Dueventd.te1 # ueventd seclabel is specified in init.rc since
12 allow ueventd init:process sigchld;
40 # https://android-review.googlesource.com/#/c/133120/6/init/devices.cpp@941
41 # No writing to the property socket, connecting to init, or setting properties.
43 neverallow ueventd init:unix_stream_socket connectto;
Dfsck.te1 # Any fsck program run by init
7 # /dev/__null__ created by init prior to policy load,
44 # Only allow entry from init or vold via fsck binaries
45 neverallow { domain -init -vold } fsck:process transition;
Dsdcardd.te38 # The sdcard daemon should no longer be started from init
39 neverallow init sdcardd_exec:file execute;
40 neverallow init sdcardd:process { transition dyntransition };
Dkeystore.te29 neverallow { domain -keystore -init } keystore_data_file:dir *;
30 neverallow { domain -keystore -init } keystore_data_file:notdevfile_class_set *;
/system/core/include/cutils/
Dthreads.h107 int init; member
115 if (!lock->init) { in mutex_lock()
116 lock->init = 1; in mutex_lock()
118 lock->init = 2; in mutex_lock()
119 } else while (lock->init != 2) in mutex_lock()
132 lock->init = 2; in mutex_init()
137 if (lock->init) { in mutex_destroy()
138 lock->init = 0; in mutex_destroy()
/system/core/base/
Dtest_utils.cpp76 init(GetSystemTempDir()); in TemporaryFile()
84 void TemporaryFile::init(const std::string& tmp_dir) { in init() function in TemporaryFile
91 init(GetSystemTempDir()); in TemporaryDir()
98 bool TemporaryDir::init(const std::string& tmp_dir) { in init() function in TemporaryDir
/system/core/rootdir/
DAndroid.mk7 LOCAL_MODULE := init.rc
18 LOCAL_MODULE := init-debug.rc
22 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/init
44 LOCAL_MODULE := init.environ.rc
87 $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/init.environ.rc.in $(bcp_dep)
/system/core/init/
Dreadme.txt29 The init language is used in plaintext files that take the .rc file
33 /init.rc is the primary .rc file and is loaded by the init executable
35 set up of the system. It imports /init.${ro.hardware}.rc which is the
38 During the mount_all command, the init executable loads all of the
39 files contained within the /{system,vendor,odm}/etc/init/ directories.
49 1) /system/etc/init/ is for core system items such as
51 2) /vendor/etc/init/ is for SoC vendor items such as actions or
53 3) /odm/etc/init/ is for device manufacturer items such as
59 corresponding init .rc file, located in the /etc/init/
62 init .rc file should additionally contain any actions associated with
[all …]
DAndroid.mk67 init.cpp \
75 LOCAL_MODULE:= init
108 ln -sf ../init $(TARGET_ROOT_OUT)/sbin/ueventd; \
109 ln -sf ../init $(TARGET_ROOT_OUT)/sbin/watchdogd
/system/core/logcat/tests/
Dlogcat_benchmark.cpp43 void init(const char *buffer) in TEST() function in TEST::timestamp
54 init(buffer); in TEST()
92 last.init(buffer); in TEST()
105 last.init(buffer); in TEST()
/system/bt/profile/src/
Dmanager.c39 static future_t *init(void) { in init() function
62 .init = init,
/system/bt/hci/test/
Dlow_power_manager_test.cpp35 init,
84 DURING(init) AT_CALL(0) {
112 reset_for(init);
113 manager->init(thread);
/system/bt/device/src/classic/
Dpeer.c48 static future_t *init(void) { in init() function
74 .init = init,
/system/core/base/include/android-base/
Dtest_utils.h33 void init(const std::string& tmp_dir);
46 bool init(const std::string& tmp_dir);
/system/bt/main/
Dstack_config.c42 static future_t *init() { in init() function
70 .init = init,
/system/bt/utils/src/
Dbt_utils.c58 static future_t *init(void) { in init() function
80 .init = init,
/system/core/libsysutils/src/
DFrameworkListener.cpp34 init(socketName, withSeq); in FrameworkListener()
39 init(socketName, false); in FrameworkListener()
44 init(NULL, false); in FrameworkListener()
47 void FrameworkListener::init(const char *socketName UNUSED, bool withSeq) { in init() function in FrameworkListener
/system/core/include/mincrypt/
Dhash-internal.h39 void (* const init)(struct HASH_CTX*); member
53 #define HASH_init(ctx) (ctx)->f->init(ctx)
/system/core/bootstat/
Dbootstat.rc10 # property:init.svc.bootanim=running: The boot animation is running
11 on post-fs-data && property:init.svc.bootanim=running
20 on property:init.svc.bootanim=stopped && property:vold.decrypt=trigger_restart_framework
/system/core/healthd/
Dhealthd.cpp105 .init = healthd_mode_android_init,
112 .init = healthd_mode_charger_init,
119 .init = healthd_mode_nop_init,
321 healthd_mode_ops->init(&healthd_config); in healthd_init()
325 gBatteryMonitor->init(&healthd_config); in healthd_init()
/system/core/
DCleanSpec.mk51 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.rc)
52 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.rc)

123456