Register a feature whitelist. Attempting to call any operations which are not whitelisted will result in an error.
Note: Can only be called once to prevent other code from bypassing the whitelist.
On success, returns 0. On error, -errno is returned.
Note: Available from Linux 5.10
See Implementation
Register a feature whitelist. Attempting to call any operations which are not whitelisted will result in an error.
Note: Can only be called once to prevent other code from bypassing the whitelist.