From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 32/34]: patch to allow mount use kernel file descriptors
Date: Tue, 01 Mar 2011 14:10:56 -0500 [thread overview]
Message-ID: <4D6D44C0.5090700@tresys.com> (raw)
In-Reply-To: <1298920576.3123.12.camel@tesla.lan>
On 02/28/11 14:16, Guido Trentalancia wrote:
> On Mon, 28/02/2011 at 10.05 -0500, Christopher J. PeBenito wrote:
>> On 02/16/11 01:42, Guido Trentalancia wrote:
>>> This patch allows mount to use kernel file descriptors.
>>>
>>> diff -pruN refpolicy-git-15022011-test/policy/modules/system/mount.te refpolicy-git-15022011-test-new/policy/modules/system/mount.te
>>> --- refpolicy-git-15022011-test/policy/modules/system/mount.te 2011-02-16 02:34:33.253189215 +0100
>>> +++ refpolicy-git-15022011-test-new/policy/modules/system/mount.te 2011-02-16 03:54:18.732023725 +0100
>>> @@ -51,6 +51,7 @@ can_exec(mount_t, mount_exec_t)
>>>
>>> files_tmp_filetrans(mount_t, mount_tmp_t, { file dir })
>>>
>>> +kernel_use_fds(mount_t)
>>> kernel_read_system_state(mount_t)
>>> kernel_read_kernel_sysctls(mount_t)
>>> kernel_dontaudit_getattr_core_if(mount_t)
>>
>> How did you come across this?
>
> type=1400 audit(1295758153.958:3): avc: denied { use } for pid=1429
> comm="mount" path="/dev/pts/0" dev=devpts ino=3
> scontext=system_u:system_r:mount_t:s0
> tcontext=system_u:system_r:kernel_t:s0 tclass=fd
Can you provide more detail? What was happening on the system?
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
next prev parent reply other threads:[~2011-03-01 19:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 6:42 [refpolicy] [PATCH 32/34]: patch to allow mount use kernel file descriptors Guido Trentalancia
2011-02-28 15:05 ` Christopher J. PeBenito
2011-02-28 19:16 ` Guido Trentalancia
2011-03-01 19:10 ` Christopher J. PeBenito [this message]
2011-03-01 21:08 ` Guido Trentalancia
2011-03-02 19:07 ` Daniel J Walsh
2011-03-02 19:47 ` Guido Trentalancia
2011-03-03 13:39 ` Christopher J. PeBenito
2011-03-03 13:49 ` Daniel J Walsh
2011-03-04 6:54 ` Russell Coker
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=4D6D44C0.5090700@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.