/bionic/libc/ |
D | SECCOMP_PRIORITY.TXT | 1 # This file is used to populate seccomp's allowlist policy in combination with SYSCALLS.TXT. 2 # Note that the resultant policy is applied only to zygote spawned processes. 6 # The syscalls below are prioritized above other syscalls when checking seccomp policy, in
|
D | SECCOMP_ALLOWLIST_SYSTEM.TXT | 1 # This file is used to populate seccomp's allowlist policy in combination with SYSCALLS.TXT. 2 # Note that the resultant policy is applied only to zygote spawned processes.
|
D | SECCOMP_BLOCKLIST_COMMON.TXT | 1 # This file is used to populate seccomp's allowlist policy in combination with SYSCALLS.TXT. 2 # Note that the resultant policy is applied only to zygote spawned processes.
|
D | SECCOMP_ALLOWLIST_APP.TXT | 1 # This file is used to populate seccomp's allowlist policy in combination with SYSCALLS.TXT. 2 # Note that the resultant policy is applied only to zygote spawned processes.
|
D | SECCOMP_BLOCKLIST_APP.TXT | 1 # This file is used to populate seccomp's allowlist policy in combination with SYSCALLS.TXT. 2 # Note that the resultant policy is applied only to zygote spawned processes.
|
D | SECCOMP_ALLOWLIST_COMMON.TXT | 1 # This file is used to populate seccomp's allowlist policy in combination with SYSCALLS.TXT. 2 # Note that the resultant policy is applied only to zygote spawned processes.
|
D | SYSCALLS.TXT | 284 int sched_setscheduler(pid_t pid, int policy, const struct sched_param* param) all 289 int sched_get_priority_max(int policy) all 290 int sched_get_priority_min(int policy) all
|
/bionic/libc/bionic/ |
D | pthread_getschedparam.cpp | 36 int pthread_getschedparam(pthread_t t, int* policy, sched_param* param) { in pthread_getschedparam() argument 43 *policy = sched_getscheduler(tid); in pthread_getschedparam()
|
D | pthread_setschedparam.cpp | 38 int pthread_setschedparam(pthread_t t, int policy, const sched_param* param) { in pthread_setschedparam() argument 44 return (sched_setscheduler(tid, policy, param) == -1) ? errno : 0; in pthread_setschedparam()
|
D | pthread_attr.cpp | 106 int pthread_attr_setschedpolicy(pthread_attr_t* attr, int policy) { in pthread_attr_setschedpolicy() argument 107 attr->sched_policy = policy; in pthread_attr_setschedpolicy() 112 int pthread_attr_getschedpolicy(const pthread_attr_t* attr, int* policy) { in pthread_attr_getschedpolicy() argument 113 *policy = attr->sched_policy; in pthread_attr_getschedpolicy()
|
D | pthread_create.cpp | 153 int policy; in __init_thread() local 157 policy = sched_getscheduler(0); in __init_thread() 158 need_set = ((policy & SCHED_RESET_ON_FORK) != 0); in __init_thread() 160 if (policy == -1) { in __init_thread() 172 policy = thread->attr.sched_policy; in __init_thread() 181 if (sched_setscheduler(thread->tid, policy, ¶m) == -1) { in __init_thread() 183 "pthread_create sched_setscheduler(%d, {%d}) call failed: %s", policy, in __init_thread()
|
D | spawn.cpp | 264 int posix_spawnattr_setschedpolicy(posix_spawnattr_t* attr, int policy) { in posix_spawnattr_setschedpolicy() argument 265 (*attr)->schedpolicy = policy; in posix_spawnattr_setschedpolicy() 269 int posix_spawnattr_getschedpolicy(const posix_spawnattr_t* attr, int* policy) { in posix_spawnattr_getschedpolicy() argument 270 *policy = (*attr)->schedpolicy; in posix_spawnattr_getschedpolicy()
|
/bionic/libc/tools/ |
D | Android.bp | 16 // Generate the C++ policy sources for app and system seccomp-bpf filters.
|
/bionic/libc/kernel/uapi/linux/ |
D | fscrypt.h | 69 } policy; member
|
D | xfrm.h | 373 struct xfrm_userpolicy_info policy; member
|
D | kvm.h | 1287 __u32 policy; member 1311 __u32 policy; member
|
/bionic/libc/kernel/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 64 int policy; member
|
/bionic/tests/ |
D | pthread_test.cpp | 613 int policy; in TEST_F() local 615 EXPECT_DEATH(pthread_getschedparam(dead_thread, &policy, ¶m), in TEST_F() 621 int policy; in TEST_F() local 623 EXPECT_EQ(ESRCH, pthread_getschedparam(null_thread, &policy, ¶m)); in TEST_F() 630 int policy = 0; in TEST_F() local 632 EXPECT_DEATH(pthread_setschedparam(dead_thread, policy, ¶m), in TEST_F() 638 int policy = 0; in TEST_F() local 640 EXPECT_EQ(ESRCH, pthread_setschedparam(null_thread, policy, ¶m)); in TEST_F()
|