#include <rsbac/types.h>
#include <rsbac/error.h>
#include <rsbac/helpers.h>
#include <rsbac/rc_types.h>
#include <rsbac/getname.h>
#include <rsbac/cap_getname.h>
#include <stdio.h>
#include <string.h>
#include <pwd.h>
Go to the source code of this file.
Functions | |
char * | inttostr (char *str, int i) |
char * | ulongtostr (char *str, u_long i) |
char * | longtostr (char *str, long i) |
char * | u64tostrmac (char *str, __u64 i) |
void | error_exit (int error) |
void | show_error (int error) |
int | rsbac_get_uid_name (rsbac_uid_t *uid, char *name, char *sourcename) |
int | rsbac_get_fullname (char *fullname, rsbac_uid_t uid) |
char * | get_user_name (rsbac_uid_t user, char *name) |
char * | u64tostrlog (char *str, __u64 i) |
__u64 | strtou64log (char *str, __u64 *i_p) |
char * | u64tostrrc (char *str, __u64 i) |
__u64 | strtou64rc (char *str, __u64 *i_p) |
char * | u64tostrrcr (char *str, __u64 i) |
__u64 | strtou64rcr (char *str, __u64 *i_p) |
__u64 | strtou64mac (char *str, __u64 *i_p) |
__u64 | strtou64acl (char *str, __u64 *i_p) |
char * | u64tostracl (char *str, __u64 i) |
char * | u32tostrcap (char *str, __u32 i) |
__u32 | strtou32cap (char *str, __u32 *i_p) |
|
Definition at line 166 of file helpers.c. References get_error_name(). |
|
Definition at line 240 of file helpers.c. References rsbac_uid_t. |
|
Definition at line 35 of file helpers.c. References NULL. |
|
Definition at line 105 of file helpers.c. References NULL. |
|
Definition at line 222 of file helpers.c. References RSBAC_EINVALIDPOINTER, and rsbac_uid_t. |
|
Definition at line 189 of file helpers.c. References RSBAC_EINVALIDVALUE, and rsbac_uid_t. Referenced by rsbac_get_uid(). |
|
Definition at line 178 of file helpers.c. References get_error_name(). |
|
Definition at line 497 of file helpers.c. References CAP_NONE. |
|
Definition at line 425 of file helpers.c. References ACLR_NONE. |
|
Definition at line 278 of file helpers.c. References R_NONE. |
|
Definition at line 398 of file helpers.c. References RSBAC_MAC_MAX_CAT, and RSBAC_MAC_NR_CATS. |
|
|
Definition at line 371 of file helpers.c. References RCR_NONE. |
|
|
|
|
Definition at line 142 of file helpers.c. References NULL, RSBAC_MAC_MAX_CAT, and RSBAC_MAC_NR_CATS. Referenced by auto_read_attr(), auto_read_write_attr(), auto_write_attr(), and rsbac_mac_set_curr_level(). |
|
Definition at line 305 of file helpers.c. References NULL. |
|
|
Definition at line 74 of file helpers.c. References NULL. |