Re: [PATCH 1/3][NETLABEL]: Compilation for CONFIG_AUDIT=n case.

2008-02-13 Thread Paul Moore
On Wednesday 13 February 2008 1:35:44 am David Miller wrote: > From: Pavel Emelyanov <[EMAIL PROTECTED]> > Date: Thu, 07 Feb 2008 20:20:30 +0300 > > > The audit_log_start() will expand into an empty do { } while (0) > > construction and the audit_ctx becomes unused. > > > > The solution: push curre

Re: [PATCH 1/3][NETLABEL]: Compilation for CONFIG_AUDIT=n case.

2008-02-12 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Thu, 07 Feb 2008 20:20:30 +0300 > The audit_log_start() will expand into an empty do { } while (0) > construction and the audit_ctx becomes unused. > > The solution: push current->audit_context into audit_log_start() > directly, since it is not requ

[PATCH 1/3][NETLABEL]: Compilation for CONFIG_AUDIT=n case.

2008-02-07 Thread Pavel Emelyanov
The audit_log_start() will expand into an empty do { } while (0) construction and the audit_ctx becomes unused. The solution: push current->audit_context into audit_log_start() directly, since it is not required in any other place in the calling function. Signed-off-by: Pavel Emelyanov <[EMAIL P