capability.h
Overview
Related Modules:
Description:
Provides functions and related data structures for obtaining and setting process capabilities.
Since:
1.0
Version:
1.0
Summary
Functions
capget (cap_user_header_t hdr_ptr, cap_user_data_t data_ptr) |
Obtains the capability information of a specified process based on the input parameters (compatible with the Linux API format). |
capset (cap_user_header_t hdr_ptr, const cap_user_data_t data_ptr) |
Sets the capability information for a specified process based on the input parameters (compatible with the Linux API format). |
ohos_capget (unsigned int *caps) |
Obtains the capability information of a specified process based on the input parameters. |
ohos_capset (unsigned int caps) |
Sets the capability information of a specified process based on the input parameters. |