Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit caabbdc0 authored by KaiGai Kohei's avatar KaiGai Kohei Committed by James Morris
Browse files

cleanup in ss/services.c



It is a cleanup patch to cut down a line within 80 columns.

Signed-off-by: default avatarKaiGai Kohei <kaigai@ak.jp.nec.com>
--
 security/selinux/ss/services.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 991ec02c
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -479,7 +479,7 @@ static int context_struct_compute_av(struct context *scontext,
		if ((constraint->permissions & (avd->allowed)) &&
		if ((constraint->permissions & (avd->allowed)) &&
		    !constraint_expr_eval(scontext, tcontext, NULL,
		    !constraint_expr_eval(scontext, tcontext, NULL,
					  constraint->expr)) {
					  constraint->expr)) {
			avd->allowed = (avd->allowed) & ~(constraint->permissions);
			avd->allowed &= ~(constraint->permissions);
		}
		}
		constraint = constraint->next;
		constraint = constraint->next;
	}
	}
@@ -498,7 +498,7 @@ static int context_struct_compute_av(struct context *scontext,
				break;
				break;
		}
		}
		if (!ra)
		if (!ra)
			avd->allowed = (avd->allowed) & ~(PROCESS__TRANSITION |
			avd->allowed &= ~(PROCESS__TRANSITION |
					  PROCESS__DYNTRANSITION);
					  PROCESS__DYNTRANSITION);
	}
	}