libexplain  1.4.D001
Defines | Functions
libexplain/capability/chown.c File Reference
#include <libexplain/ac/sys/capability.h>
#include <libexplain/capability.h>

Go to the source code of this file.

Defines

#define CAP_CHOWN   42

Functions

int explain_capability_chown (void)

Define Documentation

#define CAP_CHOWN   42

Definition at line 25 of file chown.c.


Function Documentation

int explain_capability_chown ( void  )

In a system with the [_POSIX_CHOWN_RESTRICTED] option defined, this overrides the restriction of changing file ownership and group ownership.

Returns:
int; non-zero (true) if have the capability, zero (false) if not

Definition at line 30 of file chown.c.