summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-10-27 15:28:54 -0700
committerElliott Hughes <enh@google.com>2017-10-27 15:40:15 -0700
commit38f01e05ef7f7ef18a43339436fba645d123b838 (patch)
treee6dbb0977a34d052056e935d86bd3cdcc9473188 /libc/stdio/stdio.cpp
parentdfece7a3ee1b8a11abea3f55bf44df21ebc4bc79 (diff)
Preserve historical pthread_create scheduler behavior better.
At the cost of two flag bits for what POSIX thinks should be a boolean choice, plus somewhat confusing behavior from pthread_attr_getinheritsched depending on when you call it/what specific scheduler attributes you've set in the pthread_attr_t, we can emulate the old behavior exactly and prevent annoying SELinux denial spam caused by calls to sched_setscheduler. Bug: http://b/68391226 Test: adb logcat on boot contains no sys_nice avc denials Change-Id: I4f759c2c4fd1d80cceb0912d7da09d35902e2e5e
Diffstat (limited to 'libc/stdio/stdio.cpp')
0 files changed, 0 insertions, 0 deletions