From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH] kernel: implement sysctl_vm_overcommit_t for /proc/sys/vm/overcommit_memory
Date: Thu, 10 Dec 2015 15:47:12 -0500 [thread overview]
Message-ID: <5669E4D0.2080302@tresys.com> (raw)
In-Reply-To: <1449763707-7084-1-git-send-email-dac.override@gmail.com>
On 12/10/2015 11:08 AM, Dominick Grift wrote:
> Whoever requires this type first gets to create the interfaces to operate on this object
>
> Signed-off-by: Dominick Grift <dac.override@gmail.com>
> ---
> policy/modules/kernel/kernel.te | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/policy/modules/kernel/kernel.te b/policy/modules/kernel/kernel.te
> index 309f3e0..28f84ff 100644
> --- a/policy/modules/kernel/kernel.te
> +++ b/policy/modules/kernel/kernel.te
> @@ -153,6 +153,9 @@ genfscon proc /sys/net/unix gen_context(system_u:object_r:sysctl_net_unix_t,s0)
> type sysctl_vm_t, sysctl_type;
> genfscon proc /sys/vm gen_context(system_u:object_r:sysctl_vm_t,s0)
>
> +type sysctl_vm_overcommit_t, sysctl_type;
> +genfscon proc /sys/vm/overcommit_memory gen_context(system_u:object_r:sysctl_vm_overcommit_t,s0)
> +
> # /proc/sys/dev directory and files
> type sysctl_dev_t, sysctl_type;
> genfscon proc /sys/dev gen_context(system_u:object_r:sysctl_dev_t,s0)
Merged.
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
prev parent reply other threads:[~2015-12-10 20:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-10 16:08 [refpolicy] [PATCH] kernel: implement sysctl_vm_overcommit_t for /proc/sys/vm/overcommit_memory Dominick Grift
2015-12-10 16:10 ` Dominick Grift
2015-12-10 20:47 ` Christopher J. PeBenito [this message]
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=5669E4D0.2080302@tresys.com \
--to=cpebenito@tresys.com \
--cc=refpolicy@oss.tresys.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.