Go to the source code of this file.
Functions |
void | explain_buffer_eperm_setgid (explain_string_buffer_t *sb) |
void | explain_buffer_eperm_accept (explain_string_buffer_t *sb) |
void | explain_buffer_eperm_kill (explain_string_buffer_t *sb) |
void | explain_buffer_eperm_sys_time (explain_string_buffer_t *sb, const char *syscall_name) |
void | explain_buffer_eperm_sys_tty_config (explain_string_buffer_t *sb, const char *syscall_name) |
void | explain_buffer_eperm_net_admin (explain_string_buffer_t *sb, const char *syscall_name) |
void | explain_buffer_eperm_mknod (explain_string_buffer_t *sb, const char *pathname, const char *pathname_caption, int mode) |
void | explain_buffer_eperm_unlink (explain_string_buffer_t *sb, const char *pathname, const char *pathname_caption, const char *syscall_name) |
void | explain_buffer_eperm_vague (explain_string_buffer_t *sb, const char *syscall_name) |
void | explain_buffer_eperm_cap_sys_admin (explain_string_buffer_t *sb, const char *syscall_name) |
Function Documentation
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:
-
sb | The string buffer to print into. |
syscall_name | The name of the offended system call. |
Definition at line 25 of file cap_sys_admin.c.
The explain_buffer_eperm_mknod function is use to print an explanation of a EPERM error, in the case where the file system is incapable of making a node of the type specified.
- Parameters:
-
sb | The string buffer to print into. |
pathname | The path of the attempted node creation. |
pathname_caption | The name of the syscall argument containinbg the path of the attempted node creation. |
mode | The S_IFMT bits describe what sort of node was attempted. |
Definition at line 29 of file mknod.c.
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:
-
sb | The string buffer to print into. |
syscall_name | The name of the offending system call. |
Definition at line 25 of file net_admin.c.
The explain_buffer_eperm-setgid function may be used to print an explanation of an EPERM error, for getgid or getgroups system calls.
- Parameters:
-
sb | The string buffer to print into. |
Definition at line 25 of file eperm.c.
The explain_buffer_eperm_sys_time function may be used to print an explanation of an EPERM error, for syscalls that need CAP_SYS_TIME.
- Parameters:
-
sb | The string buffer to print into. |
syscall_name | The name of the offending system call. |
Definition at line 24 of file sys_time.c.
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:
-
sb | The string buffer to print into. |
syscall_name | The name of the offending system call. |
Definition at line 24 of file sys_tty_config.c.
The explain_buffer_eperm_unlink functions is used to print an explanation of a EPERM error, in the case where the sticky bit has been set.
- Parameters:
-
sb | The string buffer to print into. |
pathname | The path of the attempted node creation. |
pathname_caption | The name of the syscall argument containinbg the path of the attempted node creation. |
syscall_name | The name of the offended system call. |
Definition at line 31 of file unlink.c.
The explain_buffer_eperm_unlink functions is used to print an explanation of a EPERM error, in the case where the circumstances are a bit vague or non-specific.
- Parameters:
-
sb | The string buffer to print into. |
syscall_name | The name of the offended system call. |
Definition at line 24 of file vague.c.