diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2011-12-02 13:47:50 -0800 |
---|---|---|
committer | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2011-12-02 13:47:50 -0800 |
commit | 9e3bff9fa50dc62da89576492e63083961862a63 (patch) | |
tree | 09b6c2e03d123f323db4d782031798240f8be226 /xen/xsm/flask/hooks.c | |
parent | 3d7895b3bbe977e3abd2d4128e42c1daba5e3fa4 (diff) | |
download | xen-9e3bff9fa50dc62da89576492e63083961862a63.tar.gz xen-9e3bff9fa50dc62da89576492e63083961862a63.tar.bz2 xen-9e3bff9fa50dc62da89576492e63083961862a63.zip |
xsm: rename security_pirq_sid to security_irq_sid
Attempting to manage the PIRQ namespace is not useful as guests can
assign any mapping of IRQ to PIRQ (although the identity mapping is
the most common). Change the internal names to reflect this change.
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/xsm/flask/hooks.c')
-rw-r--r-- | xen/xsm/flask/hooks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/xsm/flask/hooks.c b/xen/xsm/flask/hooks.c index 1bea49869d..0feb0702ca 100644 --- a/xen/xsm/flask/hooks.c +++ b/xen/xsm/flask/hooks.c @@ -666,7 +666,7 @@ static int flask_irq_permission (struct domain *d, int pirq, uint8_t access) ssec = current->domain->ssid; tsec = d->ssid; - rc = security_pirq_sid(pirq, &rsid); + rc = security_irq_sid(pirq, &rsid); if ( rc ) return rc; @@ -1151,7 +1151,7 @@ static int flask_bind_pt_irq (struct domain *d, struct xen_domctl_bind_pt_irq *b irq = domain_pirq_to_irq(d, bind->machine_irq); - rc = security_pirq_sid(irq, &rsid); + rc = security_irq_sid(irq, &rsid); if ( rc ) return rc; |