#include <security.h>
|
| | Acl () throw () |
| |
| | Acl (const std::string &) throw () |
| | Creates an ACL from a string. More...
|
| |
| | Acl (const Acl &parent, uid_t uid, gid_t gid, mode_t cmode, mode_t *fmode) throw () |
| |
| int | has (uint8_t type) const throw () |
| |
| std::string | serialize (void) const throw () |
| |
| void | validate (void) const |
| |
◆ Acl() [1/3]
| dmlite::Acl::Acl |
( |
| ) |
|
| throw | ( | |
| ) | | |
◆ Acl() [2/3]
| dmlite::Acl::Acl |
( |
const std::string & |
| ) |
|
| throw | ( | |
| ) | | |
|
explicit |
Creates an ACL from a string.
◆ Acl() [3/3]
| dmlite::Acl::Acl |
( |
const Acl & |
parent, |
|
|
uid_t |
uid, |
|
|
gid_t |
gid, |
|
|
mode_t |
cmode, |
|
|
mode_t * |
fmode |
|
) |
| |
| throw | ( | |
| ) | | |
Creates a new ACL inheriting from parent.
- Parameters
-
| parent | The parent's ACL vector. |
| uid | The current user uid. |
| gid | The current user gid. |
| cmode | The creation mode. |
| fmode | The current file mode. It will be modified to fit the inheritance. |
◆ has()
| int dmlite::Acl::has |
( |
uint8_t |
type | ) |
const |
| throw | ( | |
| ) | | |
Returns the position if there is an ACL entry with the type 'type' -1 otherwise.
◆ serialize()
| std::string dmlite::Acl::serialize |
( |
void |
| ) |
const |
| throw | ( | |
| ) | | |
◆ validate()
| void dmlite::Acl::validate |
( |
void |
| ) |
const |
The documentation for this struct was generated from the following file: