[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201102071355.55978.arnd@arndb.de>
Date: Mon, 7 Feb 2011 13:55:55 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Paul Bolle <pebolle@...cali.nl>
Cc: linux-kernel@...r.kernel.org, Kees Cook <kees.cook@...onical.com>,
David Woodhouse <dwmw2@...radead.org>
Subject: Re: [PATCH] Export linux/syslog.h
On Monday 07 February 2011, Paul Bolle wrote:
> Userspace programs (like util-linux' dmesg) still use magic numbers for
> the klogctl function (glibc's interface to the syslog system call).
> Exporting linux/syslog.h makes the more descriptive named constants
> available as a single reference for these values.
>
> Signed-off-by: Paul Bolle <pebolle@...cali.nl>
> Signed-off-by: Kees Cook <kees.cook@...onical.com>
It sounds reasonable to make this a proper ABI in general.
The comment in the header file currently starts with "Syslog internals".
If you want to export it, you should probably change that, too.
Further, the man page currently documents the raw numbers and should
be changed as well with the new constants.
Arnd
--
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