diff options
| author | 2016-01-12 11:01:12 +0100 | |
|---|---|---|
| committer | 2016-01-12 11:01:12 +0100 | |
| commit | 1f16f116b01c110db20ab808562c8b8bc3ee3d6e (patch) | |
| tree | 44db563f64cf5f8d62af8f99a61e2b248c44ea3a /security/selinux | |
| parent | clocksource/drivers/fsl_ftm_timer: Fix CLKSRC_MMIO dependency (diff) | |
| parent | clocksource/drivers/vt8500: Increase the minimum delta (diff) | |
| download | wireguard-linux-1f16f116b01c110db20ab808562c8b8bc3ee3d6e.tar.xz wireguard-linux-1f16f116b01c110db20ab808562c8b8bc3ee3d6e.zip  | |
Merge branches 'clockevents/4.4-fixes' and 'clockevents/4.5-fixes' of http://git.linaro.org/people/daniel.lezcano/linux into timers/urgent
Pull in fixes from Daniel Lezcano:
 - Fix the vt8500 timer leading to a system lock up when dealing with too
   small delta (Roman Volkov)
 - Select the CLKSRC_MMIO when the fsl_ftm_timer is enabled with COMPILE_TEST
   (Daniel Lezcano)
 - Prevent to compile timers using the 'iomem' API when the architecture has
   not HAS_IOMEM set (Richard Weinberger)
Diffstat (limited to '')
| -rw-r--r-- | security/selinux/ss/conditional.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/ss/conditional.c b/security/selinux/ss/conditional.c index 18643bf9894d..456e1a9bcfde 100644 --- a/security/selinux/ss/conditional.c +++ b/security/selinux/ss/conditional.c @@ -638,7 +638,7 @@ void cond_compute_av(struct avtab *ctab, struct avtab_key *key,  {  	struct avtab_node *node; -	if (!ctab || !key || !avd || !xperms) +	if (!ctab || !key || !avd)  		return;  	for (node = avtab_search_node(ctab, key); node; @@ -657,7 +657,7 @@ void cond_compute_av(struct avtab *ctab, struct avtab_key *key,  		if ((u16)(AVTAB_AUDITALLOW|AVTAB_ENABLED) ==  		    (node->key.specified & (AVTAB_AUDITALLOW|AVTAB_ENABLED)))  			avd->auditallow |= node->datum.u.data; -		if ((node->key.specified & AVTAB_ENABLED) && +		if (xperms && (node->key.specified & AVTAB_ENABLED) &&  				(node->key.specified & AVTAB_XPERMS))  			services_compute_xperms_drivers(xperms, node);  	}  | 
