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