[Utopic][SRU] UBUNTU: SAUCE: (no-up) trace: fix trace_open_exec() invocation
Luis Henriques
luis.henriques at canonical.com
Mon May 11 15:43:51 UTC 2015
Commit f9ec64c008e7 ("UBUNTU: SAUCE: (no-up) trace: add trace events for
open(), exec() and uselib() (for v3.7+)") invoques trace_open_exec() with
a wrong argument type: 'struct filename *' instead of 'char *'.
This bug was introduced in Utopic when forward-porting this patch from
Trusty.
Fixes: f9ec64c008e7 ("UBUNTU: SAUCE: (no-up) trace: add trace events for open(), exec() and uselib() (for v3.7+)")
BugLink: https://bugs.launchpad.net/bugs/1453848
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
---
fs/exec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/exec.c b/fs/exec.c
index 4e65c244e4b4..794d9acbba57 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -777,7 +777,7 @@ static struct file *do_open_exec(struct filename *name)
fsnotify_open(file);
- trace_open_exec(name);
+ trace_open_exec(name->name);
err = deny_write_access(file);
if (err)
More information about the kernel-team
mailing list