Skip to content

Commit

Permalink
cleanup in ss/services.c
Browse files Browse the repository at this point in the history
It is a cleanup patch to cut down a line within 80 columns.

Signed-off-by: KaiGai Kohei <kaigai@ak.jp.nec.com>
--
 security/selinux/ss/services.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
Signed-off-by: James Morris <jmorris@namei.org>
  • Loading branch information
KaiGai Kohei authored and James Morris committed Jun 18, 2009
1 parent 991ec02 commit caabbdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions security/selinux/ss/services.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ static int context_struct_compute_av(struct context *scontext,
if ((constraint->permissions & (avd->allowed)) &&
!constraint_expr_eval(scontext, tcontext, NULL,
constraint->expr)) {
avd->allowed = (avd->allowed) & ~(constraint->permissions);
avd->allowed &= ~(constraint->permissions);
}
constraint = constraint->next;
}
Expand All @@ -498,8 +498,8 @@ static int context_struct_compute_av(struct context *scontext,
break;
}
if (!ra)
avd->allowed = (avd->allowed) & ~(PROCESS__TRANSITION |
PROCESS__DYNTRANSITION);
avd->allowed &= ~(PROCESS__TRANSITION |
PROCESS__DYNTRANSITION);
}

/*
Expand Down

0 comments on commit caabbdc

Please sign in to comment.