diff options
| author | Len Brown <len.brown@intel.com> | 2012-06-04 00:35:19 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2012-06-04 00:35:19 -0400 |
| commit | 7e1bd6e38b1f30860ce25a014c6d6adfb0079f4a (patch) | |
| tree | 65c5898ba93007d4399150c7a127a670bcfbc30d /kernel/auditsc.c | |
| parent | 301f33fbcf4ced53b3de114846ecece5d6aafeeb (diff) | |
| parent | f8f5701bdaf9134b1f90e5044a82c66324d2073f (diff) | |
Merge branch 'upstream' into bugfix-video
Update bugfix-video branch to 2.5-rc1
so I don't have to again resolve the
conflict in these patches vs. upstream.
Conflicts:
drivers/gpu/drm/gma500/psb_drv.c
text conflict: add comment vs delete neighboring line
keep just this:
/* igd_opregion_init(&dev_priv->opregion_dev); */
/* acpi_video_register(); */
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel/auditsc.c')
| -rw-r--r-- | kernel/auditsc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index af1de0f34eae..4b96415527b8 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c | |||
| @@ -67,6 +67,7 @@ | |||
| 67 | #include <linux/syscalls.h> | 67 | #include <linux/syscalls.h> |
| 68 | #include <linux/capability.h> | 68 | #include <linux/capability.h> |
| 69 | #include <linux/fs_struct.h> | 69 | #include <linux/fs_struct.h> |
| 70 | #include <linux/compat.h> | ||
| 70 | 71 | ||
| 71 | #include "audit.h" | 72 | #include "audit.h" |
| 72 | 73 | ||
| @@ -2710,13 +2711,16 @@ void audit_core_dumps(long signr) | |||
| 2710 | audit_log_end(ab); | 2711 | audit_log_end(ab); |
| 2711 | } | 2712 | } |
| 2712 | 2713 | ||
| 2713 | void __audit_seccomp(unsigned long syscall) | 2714 | void __audit_seccomp(unsigned long syscall, long signr, int code) |
| 2714 | { | 2715 | { |
| 2715 | struct audit_buffer *ab; | 2716 | struct audit_buffer *ab; |
| 2716 | 2717 | ||
| 2717 | ab = audit_log_start(NULL, GFP_KERNEL, AUDIT_ANOM_ABEND); | 2718 | ab = audit_log_start(NULL, GFP_KERNEL, AUDIT_ANOM_ABEND); |
| 2718 | audit_log_abend(ab, "seccomp", SIGKILL); | 2719 | audit_log_abend(ab, "seccomp", signr); |
| 2719 | audit_log_format(ab, " syscall=%ld", syscall); | 2720 | audit_log_format(ab, " syscall=%ld", syscall); |
| 2721 | audit_log_format(ab, " compat=%d", is_compat_task()); | ||
| 2722 | audit_log_format(ab, " ip=0x%lx", KSTK_EIP(current)); | ||
| 2723 | audit_log_format(ab, " code=0x%x", code); | ||
| 2720 | audit_log_end(ab); | 2724 | audit_log_end(ab); |
| 2721 | } | 2725 | } |
| 2722 | 2726 | ||
