summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2017-03-07 05:25:49 -0500
committerAnthony G. Basile <blueness@gentoo.org>2017-03-07 05:25:49 -0500
commita571cade9990a876d9daa7e35a61f0844a11c41b (patch)
tree63a6a4007d7081a239903d6db782cd95e63969d5
parentgrsecurity-3.1-4.9.13-201702270729 (diff)
downloadhardened-patchset-20170305.tar.gz
hardened-patchset-20170305.tar.bz2
hardened-patchset-20170305.zip
grsecurity-3.1-4.9.13-20170305214120170305
-rw-r--r--4.9.13/0000_README2
-rw-r--r--4.9.13/4420_grsecurity-3.1-4.9.13-201703052141.patch (renamed from 4.9.13/4420_grsecurity-3.1-4.9.13-201702270729.patch)19
2 files changed, 17 insertions, 4 deletions
diff --git a/4.9.13/0000_README b/4.9.13/0000_README
index 733ff59..f323ffe 100644
--- a/4.9.13/0000_README
+++ b/4.9.13/0000_README
@@ -6,7 +6,7 @@ Patch: 1012_linux-4.9.13.patch
From: http://www.kernel.org
Desc: Linux 4.9.13
-Patch: 4420_grsecurity-3.1-4.9.13-201702270729.patch
+Patch: 4420_grsecurity-3.1-4.9.13-201703052141.patch
From: http://www.grsecurity.net
Desc: hardened-sources base patch from upstream grsecurity
diff --git a/4.9.13/4420_grsecurity-3.1-4.9.13-201702270729.patch b/4.9.13/4420_grsecurity-3.1-4.9.13-201703052141.patch
index c9d116e..66274b3 100644
--- a/4.9.13/4420_grsecurity-3.1-4.9.13-201702270729.patch
+++ b/4.9.13/4420_grsecurity-3.1-4.9.13-201703052141.patch
@@ -51464,6 +51464,19 @@ index f86c844..7fe4fde9 100644
+ .put_node = amdgpu_gtt_mgr_del,
+ .debug = amdgpu_gtt_mgr_debug
};
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
+index 8255034..43965e8 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
+@@ -31,7 +31,7 @@
+ #include <drm/amdgpu_drm.h>
+ #include "amdgpu.h"
+
+-#define AMDGPU_BO_INVALID_OFFSET LONG_MAX
++#define AMDGPU_BO_INVALID_OFFSET (LONG_MAX >> PAGE_SHIFT)
+
+ /**
+ * amdgpu_mem_type_to_domain - return domain corresponding to mem_type
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
index 968c426..aceb28c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
@@ -75243,7 +75256,7 @@ index 88a44a7..de358ce 100644
status = cpci_hp_register_controller(&generic_hpc);
diff --git a/drivers/pci/hotplug/cpcihp_zt5550.c b/drivers/pci/hotplug/cpcihp_zt5550.c
-index 5f49c3f..438f019 100644
+index 5f49c3f..18c4d10 100644
--- a/drivers/pci/hotplug/cpcihp_zt5550.c
+++ b/drivers/pci/hotplug/cpcihp_zt5550.c
@@ -59,7 +59,6 @@
@@ -75283,7 +75296,7 @@ index 5f49c3f..438f019 100644
+ const_cast(zt5550_hpc_ops.enable_irq) = zt5550_hc_enable_irq;
+ const_cast(zt5550_hpc_ops.disable_irq) = zt5550_hc_disable_irq;
+ const_cast(zt5550_hpc_ops.check_irq) = zt5550_hc_check_irq;
-+ pax_open_kernel();
++ pax_close_kernel();
} else {
info("using ENUM# polling mode");
}
@@ -170584,7 +170597,7 @@ index 6cbe5bd..04c4e00 100644
.sysctl_rmem = sysctl_sctp_rmem,
.sysctl_wmem = sysctl_sctp_wmem,
diff --git a/net/sctp/sysctl.c b/net/sctp/sysctl.c
-index daf8554..4ab495b 100644
+index daf8554..4ab495b0 100644
--- a/net/sctp/sysctl.c
+++ b/net/sctp/sysctl.c
@@ -324,7 +324,7 @@ static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write,