xref: /xnu-10063.101.15/tests/cs_helpers.h (revision 94d3b452840153a99b38a3a9659680b2a006908e)
1*94d3b452SApple OSS Distributions /*
2*94d3b452SApple OSS Distributions  * Demotes the current task to a non-platform binary for testing purposes
3*94d3b452SApple OSS Distributions  *
4*94d3b452SApple OSS Distributions  * NOTE: platform-ness is tracked in many different places, and this API only
5*94d3b452SApple OSS Distributions  * affects particular bits in the kernel - double check that it does what you want before using
6*94d3b452SApple OSS Distributions  *
7*94d3b452SApple OSS Distributions  * Returns: 0 on success, nonzero on failure
8*94d3b452SApple OSS Distributions  */
9*94d3b452SApple OSS Distributions extern int
10*94d3b452SApple OSS Distributions remove_platform_binary(void);
11