diff options
author | John Stultz <john.stultz@linaro.org> | 2013-03-14 13:26:14 -0700 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2013-03-14 13:26:14 -0700 |
commit | 92d9b527cd3dee78f50e948480bcc6934f72105d (patch) | |
tree | c90f0364ef6db547005017319fc0d9b7b6f82ee0 | |
parent | 8b487deacfa9dd9e165d91c8921975d565c000c4 (diff) |
selinux: binder: Fix COMMON_AUDIT_DATA_INIT compile issuetracking-linaro-android-3.9-llct-20130318.0tracking-linaro-android-3.9-llct-20130315.0
The COMMON_AUDIT_DATA_INIT macros have been removed, and are
now replaced with open coded ad.type initialization.
Thus, this patch updates the selinux_binder_transfer_file function
so it builds.
Signed-off-by: John Stultz <john.stultz@linaro.org>
-rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 26a060e34f9d..d55b46b83f7d 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -1830,7 +1830,7 @@ static int selinux_binder_transfer_file(struct task_struct *from, struct task_st struct selinux_audit_data sad = {0,}; int rc; - COMMON_AUDIT_DATA_INIT(&ad, PATH); + ad.type = LSM_AUDIT_DATA_PATH; ad.u.path = file->f_path; ad.selinux_audit_data = &sad; |