All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@osdl.org>
To: James Morris <jmorris@redhat.com>
Cc: "David S. Miller" <davem@redhat.com>,
	akpm@osdl.org, linux-kernel@vger.kernel.org, sds@epoch.ncsc.mil,
	selinux@tycho.nsa.gov
Subject: Re: [SELINUX] Event notifications via Netlink
Date: Wed, 18 Feb 2004 14:43:46 -0800	[thread overview]
Message-ID: <20040218144346.B22989@build.pdx.osdl.net> (raw)
In-Reply-To: <Xine.LNX.4.44.0402181621390.28705-100000@thoron.boston.redhat.com>; from jmorris@redhat.com on Wed, Feb 18, 2004 at 04:22:51PM -0500

* James Morris (jmorris@redhat.com) wrote:
> +static int selnl_msglen(int msgtype)
> +	default:
> +		BUG();
> +static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data)
> +	default:
> +		BUG();

Is BUG() the best error here, or too draconian?

thanks,
-chris
-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net

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

WARNING: multiple messages have this Message-ID (diff)
From: Chris Wright <chrisw@osdl.org>
To: James Morris <jmorris@redhat.com>
Cc: "David S. Miller" <davem@redhat.com>,
	akpm@osdl.org, linux-kernel@vger.kernel.org, sds@epoch.ncsc.mil,
	selinux@tycho.nsa.gov
Subject: Re: [SELINUX] Event notifications via Netlink
Date: Wed, 18 Feb 2004 14:43:46 -0800	[thread overview]
Message-ID: <20040218144346.B22989@build.pdx.osdl.net> (raw)
In-Reply-To: <Xine.LNX.4.44.0402181621390.28705-100000@thoron.boston.redhat.com>; from jmorris@redhat.com on Wed, Feb 18, 2004 at 04:22:51PM -0500

* James Morris (jmorris@redhat.com) wrote:
> +static int selnl_msglen(int msgtype)
> +	default:
> +		BUG();
> +static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data)
> +	default:
> +		BUG();

Is BUG() the best error here, or too draconian?

thanks,
-chris
-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net

  reply	other threads:[~2004-02-18 22:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-18 16:52 [SELINUX] Event notifications via Netlink James Morris
2004-02-18 16:52 ` James Morris
2004-02-18 20:55 ` David S. Miller
2004-02-18 21:22   ` James Morris
2004-02-18 21:22     ` James Morris
2004-02-18 22:43     ` Chris Wright [this message]
2004-02-18 22:43       ` Chris Wright
2004-02-18 23:47       ` James Morris
2004-02-18 23:47         ` James Morris
2004-02-18 23:58         ` Chris Wright
2004-02-18 23:58           ` Chris Wright
2004-02-19  0:26     ` David S. Miller

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=20040218144346.B22989@build.pdx.osdl.net \
    --to=chrisw@osdl.org \
    --cc=akpm@osdl.org \
    --cc=davem@redhat.com \
    --cc=jmorris@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sds@epoch.ncsc.mil \
    --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.