services.h (597473720f4dc69749542bfcfed4a927a43d935e) | services.h (66f8e2f03c02e812002f8e9e465681cc62edda5b) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Implementation of the security services. 4 * 5 * Author : Stephen Smalley, <sds@tycho.nsa.gov> 6 */ 7#ifndef _SS_SERVICES_H_ 8#define _SS_SERVICES_H_ 9 10#include "policydb.h" | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Implementation of the security services. 4 * 5 * Author : Stephen Smalley, <sds@tycho.nsa.gov> 6 */ 7#ifndef _SS_SERVICES_H_ 8#define _SS_SERVICES_H_ 9 10#include "policydb.h" |
11#include "sidtab.h" | 11#include "context.h" |
12 13/* Mapping for a single class */ 14struct selinux_mapping { 15 u16 value; /* policy value for class */ 16 unsigned int num_perms; /* number of permissions in class */ 17 u32 perms[sizeof(u32) * 8]; /* policy values for permissions */ 18}; 19 --- 14 unchanged lines hidden (view full) --- 34}; 35 36void services_compute_xperms_drivers(struct extended_perms *xperms, 37 struct avtab_node *node); 38 39void services_compute_xperms_decision(struct extended_perms_decision *xpermd, 40 struct avtab_node *node); 41 | 12 13/* Mapping for a single class */ 14struct selinux_mapping { 15 u16 value; /* policy value for class */ 16 unsigned int num_perms; /* number of permissions in class */ 17 u32 perms[sizeof(u32) * 8]; /* policy values for permissions */ 18}; 19 --- 14 unchanged lines hidden (view full) --- 34}; 35 36void services_compute_xperms_drivers(struct extended_perms *xperms, 37 struct avtab_node *node); 38 39void services_compute_xperms_decision(struct extended_perms_decision *xpermd, 40 struct avtab_node *node); 41 |
42int context_add_hash(struct policydb *policydb, struct context *context); 43 |
|
42#endif /* _SS_SERVICES_H_ */ | 44#endif /* _SS_SERVICES_H_ */ |