/usr/include/rsbac/pm_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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | /******************************** */
/* Rule Set Based Access Control */
/* Author and (c) 1999: Amon Ott */
/* Getname functions for PM parts */
/* Last modified: 08/Feb/99 */
/******************************** */
#ifndef __RSBAC_PM_GETNAME_H
#define __RSBAC_PM_GETNAME_H
#include <rsbac/types.h>
#ifndef NULL
#define NULL ((void *) 0)
#endif
#include <rsbac/helpers.h>
#include <rsbac/error.h>
char * get_pm_list_name(char *,
enum rsbac_pm_list_t);
enum rsbac_pm_list_t get_pm_list_nr(const char *);
char * get_pm_all_list_name(char *,
enum rsbac_pm_all_list_t);
enum rsbac_pm_all_list_t get_pm_all_list_nr(const char *);
char * get_pm_role_name(char *,
enum rsbac_pm_role_t);
enum rsbac_pm_role_t get_pm_role_nr(const char *);
char * get_pm_process_type_name(char *,
enum rsbac_pm_process_type_t);
enum rsbac_pm_process_type_t get_pm_process_type_nr(const char *);
char * get_pm_object_type_name(char *,
enum rsbac_pm_object_type_t);
enum rsbac_pm_object_type_t get_pm_object_type_nr(const char *);
#ifdef __KERNEL__
char * get_pm_set_name(char *,
enum rsbac_pm_set_t);
enum rsbac_pm_set_t get_pm_set_nr(const char *);
char * get_pm_target_name(char *,
enum rsbac_pm_target_t);
enum rsbac_pm_target_t get_pm_target_nr(const char *);
char * get_pm_data_name(char *,
enum rsbac_pm_data_t);
enum rsbac_pm_data_t get_pm_data_nr(const char *);
#endif
char * get_pm_function_type_name(char *,
enum rsbac_pm_function_type_t);
enum rsbac_pm_function_type_t get_pm_function_type_nr(const char *);
#ifndef __KERNEL__
char * get_pm_function_param(char *,
enum rsbac_pm_function_type_t);
char * get_pm_tkt_function_param(char *,
enum rsbac_pm_tkt_function_type_t);
#endif
char * get_pm_tkt_function_type_name(char *,
enum rsbac_pm_tkt_function_type_t);
enum rsbac_pm_tkt_function_type_t
get_pm_tkt_function_type_nr(const char *);
#endif
|