search for: low_ioport

Displaying 2 results from an estimated 2 matches for "low_ioport".

2011 Nov 21
0
[PATCH] xsm/flask: fix resource list range checks
...security_iterate_fn fn, void *data) +{ + struct ocontext *c; + int rc = 0; + + POLICY_RDLOCK; + + c = policydb.ocontexts[OCON_IOPORT]; + while (c && c->u.ioport.high_ioport < start) + c = c->next; + + while (c && c->u.ioport.low_ioport <= end) { + if (!c->sid[0]) + { + rc = sidtab_context_to_sid(&sidtab, &c->context[0], &c->sid[0]); + if ( rc ) + goto out; + } + if (start < c->u.ioport.low_ioport) { + /* found a gap */ +...
2012 Jan 31
26
[PATCH 00/10] FLASK updates: MSI interrupts, cleanups
This patch set adds XSM security labels to useful debugging output locations, and fixes some assumptions that all interrupts behaved like GSI interrupts (which had useful non-dynamic IDs). It also cleans up the policy build process and adds an example of how to use the user field in the security context. Debug output: [PATCH 01/10] xsm: Add security labels to event-channel dump [PATCH 02/10] xsm: