All of lore.kernel.org
 help / color / mirror / Atom feed
From: eparis@redhat.com
To: selinux@tycho.nsa.gov
Cc: sds@tycho.nsa.gov, jmorris@namei.org, Eric Paris <eparis@redhat.com>
Subject: [PATCH] SELinux: mls_types.h whitespace, syntax, and other cleanups
Date: Tue, 22 Apr 2008 17:46:16 -0400	[thread overview]
Message-ID: <12089007783524-git-send-email-eparis@redhat.com> (raw)
In-Reply-To: <12089007782044-git-send-email-eparis@redhat.com>

From: Eric Paris <eparis@redhat.com>

This patch changes mls_types.h to fix whitespace and syntax issues.  Things that
are fixed may include (does not not have to include)

spaces used instead of tabs

Signed-off-by: Eric Paris <eparis@redhat.com>
---
 security/selinux/ss/mls_types.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/selinux/ss/mls_types.h b/security/selinux/ss/mls_types.h
index 0c692d5..b6e943a 100644
--- a/security/selinux/ss/mls_types.h
+++ b/security/selinux/ss/mls_types.h
@@ -31,7 +31,7 @@ static inline int mls_level_eq(struct mls_level *l1, struct mls_level *l2)
 		return 1;
 
 	return ((l1->sens == l2->sens) &&
-	        ebitmap_cmp(&l1->cat, &l2->cat));
+		ebitmap_cmp(&l1->cat, &l2->cat));
 }
 
 static inline int mls_level_dom(struct mls_level *l1, struct mls_level *l2)
@@ -40,7 +40,7 @@ static inline int mls_level_dom(struct mls_level *l1, struct mls_level *l2)
 		return 1;
 
 	return ((l1->sens >= l2->sens) &&
-	        ebitmap_contains(&l1->cat, &l2->cat));
+		ebitmap_contains(&l1->cat, &l2->cat));
 }
 
 #define mls_level_incomp(l1, l2) \
-- 
1.5.2.1


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2008-04-22 21:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-22 21:46 [PATCH] SELinux: avc_ss.h whitespace, syntax, and other cleanups eparis
2008-04-22 21:46 ` [PATCH] SELinux: netlabel.h " eparis
2008-04-22 21:46   ` [PATCH] SELinux: objsec.h " eparis
2008-04-22 21:46     ` [PATCH] SELinux: selinux/include/security.h " eparis
2008-04-22 21:46       ` [PATCH] SELinux: ss/conditional.h " eparis
2008-04-22 21:46         ` [PATCH] SELinux: context.h " eparis
2008-04-22 21:46           ` [PATCH] SELinux: hashtab.h " eparis
2008-04-22 21:46             ` [PATCH] SELinux: mls.h " eparis
2008-04-22 21:46               ` eparis [this message]
2008-04-22 21:46                 ` [PATCH] SELinux: policydb.h " eparis
2008-04-22 21:46                   ` [PATCH] SELinux: include/security.h " eparis
2008-04-23  5:52                     ` James Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12089007783524-git-send-email-eparis@redhat.com \
    --to=eparis@redhat.com \
    --cc=jmorris@namei.org \
    --cc=sds@tycho.nsa.gov \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.