cleanup in ss/services.c
PATCH 1/1 cleanup in ss/services.c
It is a cleanup patch to cut down a line within 80 columns.
Signed-off-by KaiGai Kohei <[email protected]>
--
security/selinux/ss/services.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
security/selinux/ss/services.c +3 -3
@@ -480,7 +480,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; }
@@ -499,8 +499,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 ); }/*
Signature · 7 lines
OSS Platform Development Division, NEC KaiGai Kohei <[email protected]> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 6 lines · KaiGai Kohei
It is a cleanup patch to cut down a line within 80 columns.
Signed-off-by KaiGai Kohei <[email protected]>--
security/selinux/ss/services.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
Applied togit://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next
Signature · 7 lines
James Morris <[email protected]> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.