- pledge promisesprocedure
Restricts the current process to the capabilities specified by promises, which should be a string.
On success, 0 is returned. On error, -1 is returned and errno should be consulted.
Refer to pledge(2) for more information.
Restricts the current process to the capabilities specified by promises, which should be a string.
On success, 0 is returned. On error, -1 is returned and errno should be consulted.
Refer to pledge(2) for more information.