libexplain  1.4.D001
Functions
libexplain/buffer/eperm/mknod.c File Reference
#include <libexplain/buffer/dac.h>
#include <libexplain/buffer/eperm.h>
#include <libexplain/buffer/file_type.h>
#include <libexplain/buffer/gettext.h>
#include <libexplain/buffer/mount_point.h>
#include <libexplain/capability.h>
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

void explain_buffer_eperm_mknod (explain_string_buffer_t *sb, const char *pathname, const char *pathname_caption, int mode)

Function Documentation

void explain_buffer_eperm_mknod ( explain_string_buffer_t sb,
const char *  pathname,
const char *  pathname_caption,
int  mode 
)

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:
sbThe string buffer to print into.
pathnameThe path of the attempted node creation.
pathname_captionThe name of the syscall argument containinbg the path of the attempted node creation.
modeThe S_IFMT bits describe what sort of node was attempted.

Definition at line 29 of file mknod.c.