lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1222417774.22679.2.camel@localhost>
Date:	Fri, 26 Sep 2008 10:29:34 +0200
From:	Martin Schwidefsky <schwidefsky@...ibm.com>
To:	Rusty Russell <rusty@...tcorp.com.au>
Cc:	linux-kernel@...r.kernel.org, linux-s390@...r.kernel.org,
	lf_kernel_messages@...ts.linux-foundation.org,
	Greg KH <gregkh@...e.de>, Kay Sievers <kay.sievers@...y.org>,
	Joe Perches <joe@...ches.com>, Tim Hockin <thockin@...kin.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Michael Holzheu <holzheu@...ibm.com>,
	Gerrit Huizenga <gh@...ibm.com>,
	Randy Dunlap <randy.dunlap@...cle.com>,
	Jan Kara <jack@...e.cz>, Pavel Machek <pavel@....cz>,
	Sam Ravnborg <sam@...nborg.org>,
	Jochen Voß <jochen.voss@...glemail.com>,
	Kunai Takashi <kunai@...ux-foundation.jp>,
	Tim Bird <tim.bird@...sony.com>, Jan Blunck <jblunck@...e.de>,
	Rick Troth <rmt@...ita.net>, Utz Bacher <utz.bacher@...ibm.com>
Subject: Re: [patch 1/6] kmsg: tagged kernel messages.

On Fri, 2008-09-26 at 14:48 +1000, Rusty Russell wrote:
> On Friday 26 September 2008 02:28:28 Martin Schwidefsky wrote:
> > +#define kmsg_emerg(fmt, ...) \
> > +	kmsg_printk_hash(KERN_EMERG, fmt, ##__VA_ARGS__)
> > +#define kmsg_alert(fmt, ...) \
> > +	kmsg_printk_hash(KERN_ALERT, fmt, ##__VA_ARGS__)
> > +#define kmsg_crit(fmt, ...) \
> > +	kmsg_printk_hash(KERN_CRIT, fmt, ##__VA_ARGS__)
> > +#define kmsg_err(fmt, ...) \
> > +	kmsg_printk_hash(KERN_ERR, fmt, ##__VA_ARGS__)
> > +#define kmsg_warn(fmt, ...) \
> > +	kmsg_printk_hash(KERN_WARNING, fmt, ##__VA_ARGS__)
> > +#define kmsg_notice(fmt, ...) \
> > +	kmsg_printk_hash(KERN_NOTICE, fmt, ##__VA_ARGS__)
> > +#define kmsg_info(fmt, ...) \
> > +	kmsg_printk_hash(KERN_INFO, fmt, ##__VA_ARGS__)
> 
> Now I'm going to be an asshole and ask you to define when each of these levels 
> should be used.  Do we need all of them?

These are just the regular printk levels. If your old printk used a
particular level, have the kmsg_xxx printk use the same level. The
question about message severity and message documenation are
independent, aren't they?

-- 
blue skies,
  Martin.

"Reality continues to ruin my life." - Calvin.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ