Home
last modified time | relevance | path

Searched refs:kernel (Results 1 – 25 of 70) sorted by relevance

123

/system/sepolicy/public/
Dkernel.te1 # Life begins with the kernel.
2 type kernel, domain, mlstrustedsubject;
4 allow kernel self:capability sys_nice;
7 r_dir_file(kernel, rootfs)
8 r_dir_file(kernel, proc)
11 allow kernel selinuxfs:dir r_dir_perms;
12 allow kernel selinuxfs:file r_file_perms;
15 allow kernel file_contexts_file:file r_file_perms;
18 allow kernel rootfs:file relabelfrom;
19 allow kernel init_exec:file relabelto;
[all …]
Dperformanced.te11 # Performanced also shields unbound kernel threads. It scans every task in the
12 # root cpu set, but only affects the kernel threads.
13 r_dir_file(performanced, { appdomain bufferhubd kernel surfaceflinger })
15 allow performanced { appdomain bufferhubd kernel surfaceflinger }:process setsched;
Dupdate_engine.te20 dontaudit update_engine kernel:process setsched;
26 # Don't allow kernel module loading, just silence the logs.
27 dontaudit update_engine kernel:system module_request;
Dinit.te32 allow init kernel:fd use;
71 # Mount debugfs on /sys/kernel/debug.
194 # Disable tracing by writing to /sys/kernel/debug/tracing/tracing_on
244 # Any operation that can modify the kernel ring buffer, e.g. clear
246 allow init kernel:system syslog_mod;
253 # Write to /proc/sys/kernel/panic_on_oops.
322 # Ask the kernel for the new context on services to label their sockets.
323 allow init kernel:security compute_create;
336 # Send an SELinux userspace denial to the kernel audit subsystem,
349 # set scheduling parameters for a kernel domain task.
[all …]
Dmodprobe.te5 allow modprobe kernel:key search;
Dsu.te21 dontaudit su kernel:security *;
22 dontaudit su kernel:system *;
/system/extras/libpagemap/
Dpagemap_test.cpp24 pm_kernel_t* kernel; in TEST() local
25 ASSERT_EQ(0, pm_kernel_create(&kernel)); in TEST()
28 ASSERT_EQ(0, pm_process_create(kernel, getpid(), &process)); in TEST()
47 pm_kernel_destroy(kernel); in TEST()
/system/sepolicy/private/
Dgenfs_contexts20 genfscon proc /sys/kernel/core_pattern u:object_r:usermodehelper:s0
21 genfscon proc /sys/kernel/dmesg_restrict u:object_r:proc_security:s0
22 genfscon proc /sys/kernel/hotplug u:object_r:usermodehelper:s0
23 genfscon proc /sys/kernel/kptr_restrict u:object_r:proc_security:s0
24 genfscon proc /sys/kernel/modprobe u:object_r:usermodehelper:s0
25 genfscon proc /sys/kernel/modules_disabled u:object_r:proc_security:s0
26 genfscon proc /sys/kernel/perf_event_max_sample_rate u:object_r:proc_perf:s0
27 genfscon proc /sys/kernel/poweroff_cmd u:object_r:usermodehelper:s0
28 genfscon proc /sys/kernel/randomize_va_space u:object_r:proc_security:s0
29 genfscon proc /sys/kernel/usermodehelper u:object_r:usermodehelper:s0
Dfile_contexts21 # For kernel modules
461 /sys/kernel/uevent_helper -- u:object_r:usermodehelper:s0
469 /sys/kernel/debug/mmc0(/.*)? u:object_r:debugfs_mmc:s0
474 /sys/kernel(/debug)?/tracing/buffer_size_kb u:object_r:trac…
475 /sys/kernel(/debug)?/tracing/events/binder/binder_locked/enable u:object_r:trac…
476 /sys/kernel(/debug)?/tracing/events/binder/binder_lock/enable u:object_r:trac…
477 /sys/kernel(/debug)?/tracing/events/binder/binder_transaction/enable u:object_r:trac…
478 /sys/kernel(/debug)?/tracing/events/binder/binder_transaction_received/enable u:object_r:trac…
479 /sys/kernel(/debug)?/tracing/events/binder/binder_unlock/enable u:object_r:trac…
480 /sys/kernel(/debug)?/tracing/events/cpufreq_interactive/enable u:object_r:trac…
[all …]
Dkernel.te1 typeattribute kernel coredomain;
3 domain_auto_trans(kernel, init_exec, init)
Dinitial_sid_contexts1 sid kernel u:r:kernel:s0
2 sid security u:object_r:kernel:s0
/system/libvintf/test/
Dmain.cpp49 bool add(CompatibilityMatrix &cm, MatrixKernel &&kernel) { in add()
50 return cm.add(std::move(kernel)); in add()
637 auto testMatrix = [&] (MatrixKernel &&kernel) { in TEST_F() argument
639 add(cm, std::move(kernel)); in TEST_F()
648 MatrixKernel kernel(KernelVersion{4, 4, 1}, KernelConfigs(configs)); in TEST_F() local
649 CompatibilityMatrix cm = testMatrix(std::move(kernel)); in TEST_F()
654 MatrixKernel kernel(KernelVersion{3, 18, 22}, KernelConfigs(configs)); in TEST_F() local
655 CompatibilityMatrix cm = testMatrix(std::move(kernel)); in TEST_F()
660 MatrixKernel kernel(KernelVersion{3, 18, 22}, KernelConfigs(configs)); in TEST_F() local
661 CompatibilityMatrix cm = testMatrix(std::move(kernel)); in TEST_F()
[all …]
/system/core/logd/
DREADME.auditd5 audit kernel subsystem. The audit subsystem of the kernel
9 kernel config:
/system/core/libion/
DAndroid.bp9 "kernel-headers",
13 "kernel-headers",
/system/extras/tests/sdcard/
Dplot_sdcard.py88 self.kernel = ''
99 self.kernel = re.search('Linux version ([0-9.]+-[^ ]+)', line).group(1)
115 self.kernel, self.duration, self.command_line, self.sched)
224 (metadata.name, metadata.kernel, metadata.duration),
260 (metadata.name, metadata.kernel, metadata.duration),
283 (metadata.name, metadata.kernel, metadata.duration),
/system/extras/tests/kernel.config/
DAndroid.mk32 LOCAL_MODULE := kernel-config-unit-tests
52 LOCAL_CTS_TEST_PACKAGE := android.kernel.config
/system/core/fastboot/
Dbootimg_utils.cpp40 boot_img_hdr* mkbootimg(void* kernel, int64_t kernel_size, off_t kernel_offset, in mkbootimg() argument
72 memcpy(hdr->magic + page_size, kernel, kernel_size); in mkbootimg()
Dbootimg_utils.h37 boot_img_hdr* mkbootimg(void* kernel, int64_t kernel_size, off_t kernel_offset,
/system/update_engine/scripts/
Dbrillo_update_payload320 local kernel root
321 kernel=$(create_tempfile "kernel.bin.XXXXXX")
322 CLEANUP_FILES+=("${kernel}")
328 --kern_path "${kernel}" --root_path "${root}" \
343 eval ${partitions_array}[boot]=\""${kernel}"\"
/system/libvintf/
DCompatibilityMatrix.cpp31 bool CompatibilityMatrix::add(MatrixKernel &&kernel) { in add() argument
35 framework.mKernels.push_back(std::move(kernel)); in add()
/system/core/rootdir/
Dinit.rc19 write /proc/sys/kernel/sysrq 0
41 symlink /sys/kernel/debug /d
108 write /proc/sys/kernel/panic_on_oops 1
109 write /proc/sys/kernel/hung_task_timeout_secs 0
116 write /proc/sys/kernel/sched_tunable_scaling 0
117 write /proc/sys/kernel/sched_latency_ns 10000000
118 write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000
119 write /proc/sys/kernel/sched_child_runs_first 0
121 write /proc/sys/kernel/randomize_va_space 2
125 write /proc/sys/kernel/sched_rt_runtime_us 950000
[all …]
/system/extras/tests/mmc_tracepoints/
DREADME2 in the kernel. To turn on mmc tracing, do this:
19 The mmc_trace_reduce script will take the output from the kernel, and convert it
/system/chre/
DMakefile39 HEXAGON_CFLAGS += -I$(SLPI_PREFIX)/core/api/kernel/devcfg
40 HEXAGON_CFLAGS += -I$(SLPI_PREFIX)/core/api/kernel/qurt
/system/core/trusty/storage/proxy/
DAndroid.mk23 LOCAL_C_INCLUDES += bionic/libc/kernel/uapi
/system/sepolicy/vendor/
Dvendor_modprobe.te8 allow vendor_modprobe kernel:key search;

123