ptrace: Fix ABI change for priv-esc fix

This commit is contained in:
Ben Hutchings 2016-01-02 16:27:28 +00:00
parent 9a3c406688
commit e148000b24
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,19 @@
From: Ben Hutchings <ben@decadent.org.uk>
Date: Sun, 27 Dec 2015 21:11:09 +0000
Subject: ptrace: Fix ABI change for priv-esc fix
Forwarded: not-needed
Hide the new #include from genksyms.
---
--- a/kernel/ptrace.c
+++ b/kernel/ptrace.c
@@ -20,7 +20,9 @@
#include <linux/uio.h>
#include <linux/audit.h>
#include <linux/pid_namespace.h>
+#ifndef __GENKSYMS__
#include <linux/user_namespace.h>
+#endif
#include <linux/syscalls.h>
#include <linux/uaccess.h>
#include <linux/regset.h>

View File

@ -126,6 +126,7 @@ bugfix/all/xen-pciback-do-not-install-an-irq-handler-for-msi-in.patch
bugfix/all/xen-pciback-for-xen_pci_op_disable_msi-x-only-disabl.patch
bugfix/all/xen-pciback-don-t-allow-msi-x-ops-if-pci_command_mem.patch
bugfix/all/ptrace-being-capable-wrt-a-process-requires-mapped-uids-gids.patch
debian/ptrace-fix-abi-change-for-priv-esc-fix.patch
bugfix/all/keys-fix-race-between-read-and-revoke.patch
bugfix/x86/KVM-x86-Reload-pit-counters-for-all-channels-when-re.patch
bugfix/all/drm-nouveau-pmu-do-not-assume-a-pmu-is-present.patch