[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200808122102.15794.ioe-lkml@rameria.de>
Date: Tue, 12 Aug 2008 21:02:14 +0200
From: Ingo Oeser <ioe-lkml@...eria.de>
To: David Howells <dhowells@...hat.com>
Cc: sfr@...b.auug.org.au, jmorris@...ei.org, hch@...radead.org,
davem@...emloft.net, sfrench@...ibm.com,
linux-kernel@...r.kernel.org, linux-security-module@...r.kernel.org
Subject: Re: [PATCH 2/2] CRED: Introduce credential access wrappers
Hi David,
On Tuesday 12 August 2008, David Howells wrote:
> Wrappers are introduced into a new header (linux/cred.h) for UID/GID,
> EUID/EGID, SUID/SGID, FSUID/FSGID, cap_effective and current's subscribed
> user_struct.
Why macros? When introducing APIs using trivial inlines makes sure that
the conversion is correct, type correct and side effect free for the callers.
Macros cannot ensure this without pain.
Please respin this patch with inlines. If that needs header changes,
your CRED subsytem might need that, too.
Best Regards
Ingo Oeser
--
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