/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 | 283 int sched_setscheduler(pid_t pid, int policy, const struct sched_param* param) all 288 int sched_get_priority_max(int policy) all 289 int sched_get_priority_min(int policy) all
|
D | Android.bp | 2296 // Generate the C++ policy sources for app and system seccomp-bpf filters.
|
/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_create.cpp | 151 int policy; in __init_thread() local 155 policy = sched_getscheduler(0); in __init_thread() 156 need_set = ((policy & SCHED_RESET_ON_FORK) != 0); in __init_thread() 158 if (policy == -1) { in __init_thread() 170 policy = thread->attr.sched_policy; in __init_thread() 179 if (sched_setscheduler(thread->tid, policy, ¶m) == -1) { in __init_thread() 181 "pthread_create sched_setscheduler(%d, {%d}) call failed: %s", policy, in __init_thread()
|
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 | 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/kernel/uapi/linux/ |
D | fscrypt.h | 72 } policy; member
|
D | xfrm.h | 372 struct xfrm_userpolicy_info policy; member
|
D | kvm.h | 1181 __u32 policy; member 1205 __u32 policy; member
|
/bionic/libc/kernel/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 64 int policy; member
|
/bionic/tests/ |
D | pthread_test.cpp | 614 int policy; in TEST_F() local 616 EXPECT_DEATH(pthread_getschedparam(dead_thread, &policy, ¶m), in TEST_F() 622 int policy; in TEST_F() local 624 EXPECT_EQ(ESRCH, pthread_getschedparam(null_thread, &policy, ¶m)); in TEST_F() 631 int policy = 0; in TEST_F() local 633 EXPECT_DEATH(pthread_setschedparam(dead_thread, policy, ¶m), in TEST_F() 639 int policy = 0; in TEST_F() local 641 EXPECT_EQ(ESRCH, pthread_setschedparam(null_thread, policy, ¶m)); in TEST_F()
|