/usr/include/rsbac/rc_getname.h is in librsbac-dev 1.4.0-repack-0ubuntu6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | /******************************** */
/* Rule Set Based Access Control */
/* Author and (c) 1999: Amon Ott */
/* Getname functions for RC parts */
/* Last modified: 18/Jan/99 */
/******************************** */
#ifndef __RSBAC_RC_GETNAME_H
#define __RSBAC_RC_GETNAME_H
#include <rsbac/rc_types.h>
#ifndef NULL
#define NULL ((void *) 0)
#endif
char *get_rc_target_name(char *name, enum rsbac_rc_target_t value);
enum rsbac_rc_target_t get_rc_target_nr(const char *name);
char *get_rc_admin_name(char *name, enum rsbac_rc_admin_type_t value);
enum rsbac_rc_admin_type_t get_rc_admin_nr(const char *name);
char *get_rc_scd_type_name(char *name, enum rsbac_rc_scd_type_t value);
enum rsbac_rc_scd_type_t get_rc_scd_type_nr(const char *name);
char *get_rc_item_name(char *name, enum rsbac_rc_item_t value);
enum rsbac_rc_item_t get_rc_item_nr(const char *name);
#ifndef __KERNEL__
char *get_rc_item_param(char *name, enum rsbac_rc_item_t value);
#endif
char *get_rc_special_right_name(char *name,
enum rsbac_rc_special_rights_t value);
#ifndef __KERNEL__
enum rsbac_rc_special_rights_t get_rc_special_right_nr(const char *name);
#endif
#endif
|