Define a relabelto permission in the SELinux packet class (fwd)
Subsystems (2)
RFC 6/8 Define a relabelto permission in the SELinux packet class (fwd)
---------- Forwarded message ----------
Date: Sun, 7 May 2006 11:38:08 -0400 (EDT)
From: James Morris <[email protected]>
To: [email protected]
Cc: [email protected], [email protected],
Stephen Smalley <[email protected]>, Daniel J Walsh <[email protected]>
Subject: [RFC][SECMARK 06/08] Define a relabelto permission in the SELinux
packet class
This patch defines a new permission ('relabelto') in the new SELinux packet object class, to be used when setting SECMARK rules for labeling packets.
Signed-off-by James Morris <[email protected]>
---
security/selinux/include/av_perm_to_string.h | 1 + security/selinux/include/av_permissions.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
security/selinux/include/av_permissions.h +1 -1
@@ -935,4 +935,4 @@#define PACKET__SEND 0x00000001UL#define PACKET__RECV 0x00000002UL - +#define PACKET__RELABELTO 0x00000004UL
security/selinux/include/av_perm_to_string.h +1 -0
@@ -241,3 +241,4 @@ S_(SECCLASS_ASSOCIATION, ASSOCIATION__SETCONTEXT, "setcontext") S_(SECCLASS_PACKET, PACKET__SEND, "send") S_(SECCLASS_PACKET, PACKET__RECV, "recv") +S_ (SECCLASS_PACKET ,PACKET__RELABELTO ,"relabelto" )