Rosenthal/rosenthal/packages/patches/linux-hardened-xanmod-adaption.patch
Hilton Chain 60da81067c
rosenthal: linux: Update source to 6.0.11.
* rosenthal/packages/linux.scm (%linux-version,linux-xanmod-patch)
(linux-hardened-patch,linux-hardened-source): Update to 6.0.11.
(linux-hardened-patch-for-xanmod): Use a fixed file name.
* rosenthal/packages/patches/linux-hardened-xanmod-adaption.patch: Updated
accordingly.
2022-12-09 12:20:50 +08:00

28 lines
854 B
Diff

diff --git a/linux-hardened.patch b/linux-hardened.patch
index 9e4c6a0..e5e0c5a 100644
--- a/linux-hardened.patch
+++ b/linux-hardened.patch
@@ -1545,22 +1545,6 @@ index 205d605cacc5b..26c15bed8f7b4 100644
int proc_dointvec_jiffies(struct ctl_table *table, int write,
void *buffer, size_t *lenp, loff_t *ppos)
{
-@@ -1649,6 +1687,15 @@ static struct ctl_table kern_table[] = {
- .mode = 0644,
- .proc_handler = proc_dointvec,
- },
-+#ifdef CONFIG_USER_NS
-+ {
-+ .procname = "unprivileged_userns_clone",
-+ .data = &unprivileged_userns_clone,
-+ .maxlen = sizeof(int),
-+ .mode = 0644,
-+ .proc_handler = proc_dointvec,
-+ },
-+#endif
- #ifdef CONFIG_PROC_SYSCTL
- {
- .procname = "tainted",
@@ -2498,6 +2545,7 @@ EXPORT_SYMBOL(proc_douintvec);
EXPORT_SYMBOL(proc_dointvec_jiffies);
EXPORT_SYMBOL(proc_dointvec_minmax);