From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH] userdomain: no longer allow unprivileged users to read kernel symbols
Date: Fri, 4 Apr 2014 15:53:44 -0400 [thread overview]
Message-ID: <533F0DC8.90204@tresys.com> (raw)
In-Reply-To: <1395609622-12488-1-git-send-email-nicolas.iooss@m4x.org>
On 03/23/2014 05:20 PM, Nicolas Iooss wrote:
> Unprivileged users don't need to read kallsyms and /boot/System.map.
>
> This allow rule was introduced in the initial revision of userdomain.if in
> 2005, with commit b16c6b8c32a631a2e66265f6f60b664222760972:
>
> # cjp: why?
> bootloader_read_kernel_symbol_table($1_t)
> ---
> policy/modules/system/userdomain.if | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if
> index 73678bc..39e665d 100644
> --- a/policy/modules/system/userdomain.if
> +++ b/policy/modules/system/userdomain.if
> @@ -1005,8 +1005,6 @@ template(`userdom_unpriv_user_template', `
> corenet_tcp_bind_xserver_port($1_t)
>
> files_exec_usr_files($1_t)
> - # cjp: why?
> - files_read_kernel_symbol_table($1_t)
>
> ifndef(`enable_mls',`
> fs_exec_noxattr($1_t)
Merged.
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
prev parent reply other threads:[~2014-04-04 19:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-23 21:20 [refpolicy] [PATCH] userdomain: no longer allow unprivileged users to read kernel symbols Nicolas Iooss
2014-04-04 19:53 ` 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=533F0DC8.90204@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.