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

Go to the source code of this file.

Functions

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

Function Documentation

void explain_buffer_eperm_sys_tty_config ( explain_string_buffer_t sb,
const char *  syscall_name 
)

The explain_buffer_eperm_sys_tty_config function may be used to print an explanation of an EPERM error, for syscalls that need CAP_SYS_TTY_CONFIG.

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

Definition at line 24 of file sys_tty_config.c.