forget a blankspace before 'name'
PATCH 1/1 forget a blankspace before 'name'
here should add some space before "name="
Signed-off-by Zhenwen Xu <[email protected]>
--- kernel/auditsc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/auditsc.c +1 -1
@@ -1478,7 +1478,7 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *tscase 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 */
Signature · 5 lines
1.5.6.5 -- -------------------------------- http://zhwen.org - Open and Free
Quoted 1 line · Zhenwen Xu
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.
Quoted 21 lines
Signed-off-by Zhenwen Xu <[email protected]>--- kernel/auditsc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)kernel/auditsc.c +1
-1@@ -1478,7 +1478,7 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *tscase 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 */ Signature · 1 line
1.5.6.5