HomePhabricator

Support OpenBSD in common interceptors

Authored by krytarowski on Mar 3 2018, 6:13 AM.

Description

Support OpenBSD in common interceptors

Summary:
Extract INIT_PTHREAD_ATTR_GET_SCHED from INIT_PTHREAD_ATTR_GET,
as the former is not supported on OpenBSD.

Supported interceptors
getdetachstate, getguardsize, getscope, getstacksize, getgrouplist and getstack
Unsupported
getschedparam, getgroupmembership and getschedpolicy

Patch by David CARLIER

Reviewers: krytarowski, vitalybuka

Reviewed By: vitalybuka

Subscribers: fedor.sergeev, srhines, kubamracek, mgorny, llvm-commits, #sanitizers

Differential Revision: https://reviews.llvm.org/D44035

llvm-svn: 326653

Details

Committed
krytarowskiMar 3 2018, 6:13 AM
Reviewer
vitalybuka
Differential Revision
D44035: Support OpenBSD in common interceptors
Parents
rG51965f877b69: Disable tests of -fsanitize on OpenBSD
Branches
Unknown
Tags
Unknown