All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 0/2] Give access to /proc/sys/vm/overcommit_memory to all domains
@ 2014-08-02 18:35 Vincent Brillault
  2014-08-02 18:35 ` [refpolicy] [PATCH 1/2] Allow all domains to read /proc/sys/vm/overcommit_memory Vincent Brillault
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Vincent Brillault @ 2014-08-02 18:35 UTC (permalink / raw)
  To: refpolicy

Dear all,

Since a "recent" change in glibc (https://sourceware.org/git/?p=glibc.git;a=commit;h=9fab36eb583c0e585e83a01253299afed9ea9a11), a lot of different domains try to read /proc/sys/vm/overcommit_memory.
This generates a lot of AVC like the following:
allow * sysctl_vm_t:dir search;
allow * sysctl_vm_t:file { read open };

This access seems to be useless unless /proc/sys/vm/overcommit_memory contains '2', so the denials probably don't hurt, but I see no reason not to allow this access.
More details can be found on https://bugzilla.redhat.com/show_bug.cgi?id=872729
The first patch is directly taken from the fedora policy, I only rebased it (and added a comment)

Cheers,
Vincent Brillault

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-08-14 19:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-02 18:35 [refpolicy] [PATCH 0/2] Give access to /proc/sys/vm/overcommit_memory to all domains Vincent Brillault
2014-08-02 18:35 ` [refpolicy] [PATCH 1/2] Allow all domains to read /proc/sys/vm/overcommit_memory Vincent Brillault
2014-08-02 18:35 ` [refpolicy] [PATCH 2/2] Extend kernel_search_*_overcommit_sysctl search Vincent Brillault
2014-08-02 18:47 ` [refpolicy] [PATCH v2 0/2] Give access to /proc/sys/vm/overcommit_memory to all domains Vincent Brillault
2014-08-02 18:47   ` [refpolicy] [PATCH v2 1/2] Allow all domains to read /proc/sys/vm/overcommit_memory Vincent Brillault
2014-08-14 19:29     ` Christopher J. PeBenito
2014-08-14 19:47       ` Dominick Grift
2014-08-14 19:59         ` Christopher J. PeBenito
2014-08-02 18:47   ` [refpolicy] [PATCH v2 2/2] Extend kernel_search_*_overcommit_sysctl search Vincent Brillault

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.