libexplain  1.4.D001
Functions
libexplain/buffer/eperm/cap_sys_admin.c File Reference
#include <libexplain/buffer/dac.h>
#include <libexplain/buffer/eperm.h>
#include <libexplain/buffer/gettext.h>

Go to the source code of this file.

Functions

void explain_buffer_eperm_cap_sys_admin (explain_string_buffer_t *sb, const char *syscall_name)

Function Documentation

void explain_buffer_eperm_cap_sys_admin ( explain_string_buffer_t sb,
const char *  syscall_name 
)

The explain_buffer_eperm_cap_sys_admin function is used to print an explanation of a EPERM error, in the case where the CAP_SYS_ADMIN capability ids required.

Parameters:
sbThe string buffer to print into.
syscall_nameThe name of the offended system call.

Definition at line 25 of file cap_sys_admin.c.