* [PATCH] forget a blankspace before 'name'
@ 2009-05-23 10:10 Zhenwen Xu
2009-05-23 13:13 ` Eric Paris
0 siblings, 1 reply; 2+ messages in thread
From: Zhenwen Xu @ 2009-05-23 10:10 UTC (permalink / raw)
To: linux-kernel; +Cc: viro, eparis
here should add some space before "name="
Signed-off-by: Zhenwen Xu <helight.xu@gmail.com>
---
kernel/auditsc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index 7d6ac7c..aa0428e 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -1478,7 +1478,7 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *ts
case 0:
/* name was specified as a relative path and the
* directory component is the cwd */
- audit_log_d_path(ab, "name=", &context->pwd);
+ audit_log_d_path(ab, " name=", &context->pwd);
break;
default:
/* log the name's directory component */
--
1.5.6.5
--
--------------------------------
http://zhwen.org - Open and Free
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] forget a blankspace before 'name'
2009-05-23 10:10 [PATCH] forget a blankspace before 'name' Zhenwen Xu
@ 2009-05-23 13:13 ` Eric Paris
0 siblings, 0 replies; 2+ messages in thread
From: Eric Paris @ 2009-05-23 13:13 UTC (permalink / raw)
To: Zhenwen Xu; +Cc: linux-kernel, viro
On Sat, 2009-05-23 at 18:10 +0800, Zhenwen Xu wrote:
> here should add some space before "name="
NAK.
/* This is a helper-function to print the escaped d_path */
void audit_log_d_path(struct audit_buffer *ab, const char *prefix,
struct path *path)
{
char *p, *pathname;
if (prefix)
audit_log_format(ab, " %s", prefix);
Look there, a space before the prefix.
> Signed-off-by: Zhenwen Xu <helight.xu@gmail.com>
> ---
> kernel/auditsc.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/auditsc.c b/kernel/auditsc.c
> index 7d6ac7c..aa0428e 100644
> --- a/kernel/auditsc.c
> +++ b/kernel/auditsc.c
> @@ -1478,7 +1478,7 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *ts
> case 0:
> /* name was specified as a relative path and the
> * directory component is the cwd */
> - audit_log_d_path(ab, "name=", &context->pwd);
> + audit_log_d_path(ab, " name=", &context->pwd);
> break;
> default:
> /* log the name's directory component */
> --
> 1.5.6.5
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-23 13:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-23 10:10 [PATCH] forget a blankspace before 'name' Zhenwen Xu
2009-05-23 13:13 ` Eric Paris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox