Skip to contentSkip to conversation

flask: Allow initial domain to use XENPF_get_symbol

PATCH In review Konrad Rzeszutek Wilk 4 participants 5 messages Oct 5, 2015 – Oct 6, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 flask: Allow initial domain to use XENPF_get_symbol

It looks to be missing in the policy file for the initial domain. Eventually we may want to extend this access to non-dom0 domains but for now it certainly dom0-only.

---
 tools/flask/policy/policy/modules/xen/xen.te | 1 +
 1 file changed, 1 insertion(+)
tools/flask/policy/policy/modules/xen/xen.te +1 -0
index 5e94ee3..d35ae22 100644
@@ -71,6 +71,7 @@ allow dom0_t xen_t:xen2 {
 };
 allow dom0_t xen_t:xen2 {
     pmu_ctrl
+    get_symbol
 };
 allow dom0_t xen_t:mmu memorymap;
 
Signature · 1 line
2.1.0
#2 lore raw

Daniel De Graaf writes ("Re: [PATCH] flask: Allow initial domain to use XENPF_get_symbol"):

Quoted 9 lines · Konrad Rzeszutek Wilk
Quoted 6 lines

It looks to be missing in the policy file for the initial domain. Eventually we may want to extend this access to non-dom0 domains but for now it certainly dom0-only.

Jan, do you want to commit this ?

Thanks,
Ian.

#3 lore raw
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 06.10.15 at 16:52, <[email protected]> wrote:

Daniel De Graaf writes ("Re: [PATCH] flask: Allow initial domain to use XENPF_get_symbol"):

Quoted 5 lines · Konrad Rzeszutek Wilk
Quoted 4 lines

It looks to be missing in the policy file for the initial domain. Eventually we may want to extend this access to non-dom0 domains but for now it certainly dom0-only.

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Jan, do you want to commit this ?

Sure, I could do so, but Konrad could also do so all by himself now that the ack is in place.

Jan

#4 lore raw
Quoted 12 lines · Jan Beulich
Quoted 2 lines
Quoted 1 line
Quoted 1 line · On 06.10.15 at 16:52, <[email protected]> wrote:

Daniel De Graaf writes ("Re: [PATCH] flask: Allow initial domain to

use

Quoted 9 lines

XENPF_get_symbol"):

Quoted 8 lines · Konrad Rzeszutek Wilk
Quoted 6 lines

It looks to be missing in the policy file for the initial domain. Eventually we may want to extend this access to non-dom0 domains but for now it certainly dom0-only.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Jan, do you want to commit this ?

Sure, I could do so, but Konrad could also do so all by himself now that the ack is in place.

Right. I was thinking to do it later today if nobody beats me to it.

Quoted 2 lines

Jan