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 04/13] SELinux: netnode.c whitespace, syntax, and static declaraction cleanups
Date: Fri, 18 Apr 2008 17:38:25 -0400	[thread overview]
Message-ID: <12085547143090-git-send-email-eparis@redhat.com> (raw)
In-Reply-To: <12085547142711-git-send-email-eparis@redhat.com>

From: Eric Paris <eparis@redhat.com>

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

whitespace at end of lines
spaces followed by tabs
spaces used instead of tabs
spacing around parenthesis
locateion of { around struct and else clauses
location of * in pointer declarations
removal of initialization of static data to keep it in the right section
useless {} in if statemetns
useless checking for NULL before kfree
fixing of the indentation depth of switch statements
and any number of other things I forgot to mention

Signed-off-by: Eric Paris <eparis@redhat.com>

---
 security/selinux/netnode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/security/selinux/netnode.c b/security/selinux/netnode.c
index f3c526f..2edc4c5 100644
--- a/security/selinux/netnode.c
+++ b/security/selinux/netnode.c
@@ -344,7 +344,7 @@ static __init int sel_netnode_init(void)
 		INIT_LIST_HEAD(&sel_netnode_hash[iter]);
 
 	ret = avc_add_callback(sel_netnode_avc_callback, AVC_CALLBACK_RESET,
-	                       SECSID_NULL, SECSID_NULL, SECCLASS_NULL, 0);
+			       SECSID_NULL, SECSID_NULL, SECCLASS_NULL, 0);
 	if (ret != 0)
 		panic("avc_add_callback() failed, error %d\n", ret);
 
-- 
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-18 21:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-18 21:38 [PATCH 01/13] SELinux: netif.c whitespace, syntax, and static declaraction cleanups eparis
2008-04-18 21:38 ` [PATCH 02/13] SELinux: netlabel.c " eparis
2008-04-18 21:38   ` [PATCH 03/13] SELinux: netlink.c " eparis
2008-04-18 21:38     ` eparis [this message]
2008-04-18 21:38       ` [PATCH 05/13] SELinux: nlmsgtab.c " eparis
2008-04-18 21:38         ` [PATCH 06/13] SELinux: xfrm.c " eparis
2008-04-18 21:38           ` [PATCH 07/13] SELinux: avtab.c " eparis
2008-04-18 21:38             ` [PATCH 08/13] SELinux: conditional.c " eparis
2008-04-18 21:38               ` [PATCH 09/13] SELinux: ebitmap.c " eparis
2008-04-18 21:38                 ` [PATCH 10/13] SELinux: hashtab.c " eparis
2008-04-18 21:38                   ` [PATCH 11/13] SELinux: mls.c " eparis
2008-04-18 21:38                     ` [PATCH 12/13] SELinux: services.c " eparis
2008-04-18 21:38                       ` [PATCH 13/13] SELinux: sidtab.c " eparis
2008-04-21 12:26 ` [PATCH 01/13] SELinux: netif.c " Paul Moore
2008-04-21 12:55   ` Eric Paris
2008-04-21 13:10     ` Paul Moore

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=12085547143090-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.