libexplain  1.4.D001
Functions
libexplain/buffer/does_not_have_inode_modify_permission.h File Reference
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

void explain_buffer_does_not_have_inode_modify_permission (explain_string_buffer_t *sb, const char *comp, const struct stat *comp_st, const char *caption, const char *dir, const struct stat *dir_st, const struct explain_have_identity_t *hip)
void explain_buffer_does_not_have_inode_modify_permission1 (explain_string_buffer_t *sb, const char *pathname, const struct stat *pathname_st, const char *caption, const struct explain_have_identity_t *hip)
void explain_buffer_does_not_have_inode_modify_permission_fd (explain_string_buffer_t *sb, int fildes, const char *fildes_caption)
void explain_buffer_does_not_have_inode_modify_permission_fd_st (explain_string_buffer_t *sb, const struct stat *fildes_st, const char *fildes_caption, const struct explain_have_identity_t *hip)

Function Documentation

void explain_buffer_does_not_have_inode_modify_permission ( explain_string_buffer_t sb,
const char *  comp,
const struct stat *  comp_st,
const char *  caption,
const char *  dir,
const struct stat *  dir_st,
const struct explain_have_identity_t hip 
)

The explain_buffer_does_not_have_inode_modify_permission function may be used to provide an explanation in the case where a process does not have sufficent permissions to modify an inode.

Parameters:
sbThe string buffer to print into.
compThe name of the problematic component
comp_stThe file status of the problemtic component
captionThe name of the problematic system call argument
dirThe pathname of the directory containing the problematic component
dir_stThe file status of the directory containing the problematic component
hipThe process ID for this operation.
void explain_buffer_does_not_have_inode_modify_permission1 ( explain_string_buffer_t sb,
const char *  pathname,
const struct stat *  pathname_st,
const char *  caption,
const struct explain_have_identity_t hip 
)

The explain_buffer_does_not_have_inode_modify_permission1 function may be used to provide an explanation in the case where a process does not have sufficent permissions to modify an inode.

Parameters:
sbThe string buffer to print into.
pathnameThe pathname of the problematic component
pathname_stThe file status of the problematic component
captionThe name of the problematic system call argument
hipThe process ID for this operation.
void explain_buffer_does_not_have_inode_modify_permission_fd ( explain_string_buffer_t sb,
int  fildes,
const char *  fildes_caption 
)

The explain_buffer_does_not_have_inode_modify_permission_fd function may be used to provide an explanation in the case where a process does not have sufficent permissions to modify an inode, as given by a file descriptor.

Parameters:
sbThe string buffer to print into.
fildesThe problematic file descriptor
fildes_captionThe name of the problematic system call argument

Definition at line 106 of file does_not_have_inode_modify_permission.c.

void explain_buffer_does_not_have_inode_modify_permission_fd_st ( explain_string_buffer_t sb,
const struct stat *  fildes_st,
const char *  fildes_caption,
const struct explain_have_identity_t hip 
)

The explain_buffer_does_not_have_inode_modify_permission_fd_st function may be used to provide an explanation in the case where a process does not have sufficent permissions to modify an inode, as given by a file descriptor.

Parameters:
sbThe string buffer to print into.
fildes_stThe file status of the problematic file descriptor
fildes_captionThe name of the problematic system call argument
hipThe process ID for this operation.