libexplain  1.4.D001
Functions
libexplain/buffer/eperm/net_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_net_admin (explain_string_buffer_t *sb, const char *syscall_name)

Function Documentation

void explain_buffer_eperm_net_admin ( explain_string_buffer_t sb,
const char *  syscall_name 
)

The explain_buffer_eperm_net_admin function may be used to print an explanation of an EPERM error, for syscalls that need CAP_NET_ADMIN capability.

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

Definition at line 25 of file net_admin.c.