lkml.org 
[lkml]   [2021]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH v7 06/16] uapi|audit: add trust audit message definitions
Date
From: Deven Bowers <deven.desai@linux.microsoft.com>

Introduce new definitions to audit.h centered around trust
decisions and policy loading and activation, as an extension
of the mandatory access control fields.

Signed-off-by: Deven Bowers <deven.desai@linux.microsoft.com>
---

Relevant changes since v6:
* Change audit records to MAC region (14XX) from
Integrity region (18XX), as IPE is an effectively a MAC system
around trust versus an extension to the integrity subsystem.
* Generalize the #defines to support the class of trust-based
Access-Control LSMs.

---
include/uapi/linux/audit.h | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h
index daa481729e9b..3a83b3605896 100644
--- a/include/uapi/linux/audit.h
+++ b/include/uapi/linux/audit.h
@@ -139,6 +139,10 @@
#define AUDIT_MAC_UNLBL_STCDEL 1417 /* NetLabel: del a static label */
#define AUDIT_MAC_CALIPSO_ADD 1418 /* NetLabel: add CALIPSO DOI entry */
#define AUDIT_MAC_CALIPSO_DEL 1419 /* NetLabel: del CALIPSO DOI entry */
+#define AUDIT_TRUST_RESULT 1420 /* IPE Denial or Grant */
+#define AUDIT_TRUST_POLICY_LOAD 1421 /* IPE Policy Load */
+#define AUDIT_TRUST_POLICY_ACTIVATE 1422 /* IPE Policy Activate */
+#define AUDIT_TRUST_STATUS 1423 /* IPE enforcing,permissive */

#define AUDIT_FIRST_KERN_ANOM_MSG 1700
#define AUDIT_LAST_KERN_ANOM_MSG 1799
--
2.33.0
\
 
 \ /
  Last update: 2021-10-13 21:08    [W:0.398 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site