avc.c (292dd876ee765c478b27c93cc51e93a558ed58bf) | avc.c (99f6d61bda82d09b2d94414d413d39f66a0b7da2) |
---|---|
1/* 2 * Implementation of the kernel access vector cache (AVC). 3 * 4 * Authors: Stephen Smalley, <sds@epoch.ncsc.mil> 5 * James Morris <jmorris@redhat.com> 6 * 7 * Update: KaiGai, Kohei <kaigai@ak.jp.nec.com> 8 * Replaced the avc_lock spinlock by RCU. --- 29 unchanged lines hidden (view full) --- 38 u32 value; 39 const char *name; 40} av_perm_to_string[] = { 41#define S_(c, v, s) { c, v, s }, 42#include "av_perm_to_string.h" 43#undef S_ 44}; 45 | 1/* 2 * Implementation of the kernel access vector cache (AVC). 3 * 4 * Authors: Stephen Smalley, <sds@epoch.ncsc.mil> 5 * James Morris <jmorris@redhat.com> 6 * 7 * Update: KaiGai, Kohei <kaigai@ak.jp.nec.com> 8 * Replaced the avc_lock spinlock by RCU. --- 29 unchanged lines hidden (view full) --- 38 u32 value; 39 const char *name; 40} av_perm_to_string[] = { 41#define S_(c, v, s) { c, v, s }, 42#include "av_perm_to_string.h" 43#undef S_ 44}; 45 |
46#ifdef CONFIG_AUDIT | |
47static const char *class_to_string[] = { 48#define S_(s) s, 49#include "class_to_string.h" 50#undef S_ 51}; | 46static const char *class_to_string[] = { 47#define S_(s) s, 48#include "class_to_string.h" 49#undef S_ 50}; |
52#endif | |
53 54#define TB_(s) static const char * s [] = { 55#define TE_(s) }; 56#define S_(s) s, 57#include "common_perm_to_string.h" 58#undef TB_ 59#undef TE_ 60#undef S_ --- 856 unchanged lines hidden --- | 51 52#define TB_(s) static const char * s [] = { 53#define TE_(s) }; 54#define S_(s) s, 55#include "common_perm_to_string.h" 56#undef TB_ 57#undef TE_ 58#undef S_ --- 856 unchanged lines hidden --- |