From: "David Windsor" <dwindsor@tresys.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [RFC][PATCH 01/01] SELinux: add VM entrypoint object class/permission
Date: Fri, 20 Jul 2007 17:51:50 -0400 [thread overview]
Message-ID: <C2C6A6B6.3692%dwindsor@tresys.com> (raw)
In-Reply-To: <C2C68607.366F%dwindsor@tresys.com>
This patchset modifies libselinux to include the vm object class and the
entrypoint permission for use with the userspace qemu SELinux code.
Index: src/selinux/libselinux/include/selinux/av_permissions.h
===================================================================
--- src.orig/selinux/libselinux/include/selinux/av_permissions.h
2007-07-14 23:55:36.000000000 -0400
+++ src/selinux/libselinux/include/selinux/av_permissions.h 2007-07-15
00:18:59.000000000 -0400
@@ -897,3 +897,4 @@
#define KEY__CREATE 0x00000040UL
#define CONTEXT__TRANSLATE 0x00000001UL
#define CONTEXT__CONTAINS 0x00000002UL
+#define VM__ENTRYPOINT 0x00000001UL
Index: src/selinux/libselinux/include/selinux/flask.h
===================================================================
--- src.orig/selinux/libselinux/include/selinux/flask.h 2007-07-14
23:55:36.000000000 -0400
+++ src/selinux/libselinux/include/selinux/flask.h 2007-07-15
00:55:14.000000000 -0400
@@ -64,6 +64,7 @@
#define SECCLASS_PACKET 57
#define SECCLASS_KEY 58
#define SECCLASS_CONTEXT 59
+#define SECCLASS_VM 60
/*
* Security identifier indices for initial entities
Index: src/selinux/libselinux/src/class_to_string.h
===================================================================
--- src.orig/selinux/libselinux/src/class_to_string.h 2007-07-14
23:55:36.000000000 -0400
+++ src/selinux/libselinux/src/class_to_string.h 2007-07-15
00:18:59.000000000 -0400
@@ -62,3 +62,4 @@
S_("packet")
S_("key")
S_("context")
+ S_("vm")
Index: src/selinux/libselinux/src/av_perm_to_string.h
===================================================================
--- src.orig/selinux/libselinux/src/av_perm_to_string.h 2007-07-14
23:55:36.000000000 -0400
+++ src/selinux/libselinux/src/av_perm_to_string.h 2007-07-15
00:57:10.000000000 -0400
@@ -267,3 +267,4 @@
S_(SECCLASS_KEY, KEY__CREATE, "create")
S_(SECCLASS_CONTEXT, CONTEXT__TRANSLATE, "translate")
S_(SECCLASS_CONTEXT, CONTEXT__CONTAINS, "contains")
+ S_(SECCLASS_VM, VM__ENTRYPOINT, "entrypoint")
parent reply other threads:[~2007-07-20 22:12 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <C2C68607.366F%dwindsor@tresys.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C2C6A6B6.3692%dwindsor@tresys.com \
--to=dwindsor@tresys.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).