提交 caabbdc0 编写于 作者: K KaiGai Kohei 提交者: James Morris

cleanup in ss/services.c

It is a cleanup patch to cut down a line within 80 columns.
Signed-off-by: NKaiGai Kohei <kaigai@ak.jp.nec.com>
--
 security/selinux/ss/services.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
Signed-off-by: NJames Morris <jmorris@namei.org>
上级 991ec02c
...@@ -479,7 +479,7 @@ static int context_struct_compute_av(struct context *scontext, ...@@ -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,8 +498,8 @@ static int context_struct_compute_av(struct context *scontext, ...@@ -498,8 +498,8 @@ 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);
} }
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册