Home | History | Annotate | Download | only in policydb
      1 #ifndef _SEPOL_POLICYDB_POLCAPS_H_
      2 #define _SEPOL_POLICYDB_POLCAPS_H_
      3 
      4 /* Policy capabilities */
      5 enum {
      6 	POLICYDB_CAPABILITY_NETPEER,
      7 	POLICYDB_CAPABILITY_OPENPERM,
      8 	__POLICYDB_CAPABILITY_MAX
      9 };
     10 #define POLICYDB_CAPABILITY_MAX (__POLICYDB_CAPABILITY_MAX - 1)
     11 
     12 /* Convert a capability name to number. */
     13 extern int sepol_polcap_getnum(const char *name);
     14 
     15 /* Convert a capability number to name. */
     16 extern const char *sepol_polcap_getname(int capnum);
     17 
     18 #endif /* _SEPOL_POLICYDB_POLCAPS_H_ */
     19