Re: [SELINUX] Event notifications via Netlink

From: Chris Wright
Date: Wed Feb 18 2004 - 17:47:15 EST


* James Morris (jmorris@xxxxxxxxxx) 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/