lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-e2753293ac4bce8623650bb2d610b7e657bc869f@git.kernel.org>
Date:   Tue, 13 Sep 2016 05:46:49 -0700
From:   tip-bot for Dave Hansen <tipbot@...or.com>
To:     linux-tip-commits@...r.kernel.org
Cc:     arnd@...db.de, hpa@...or.com, mingo@...nel.org, tglx@...utronix.de,
        dave@...1.net, linux-kernel@...r.kernel.org, dave.hansen@...el.com,
        linux@...ck-us.net
Subject: [tip:mm/pkeys] x86/pkeys: Fix pkeys build breakage for some non-x86
 arches

Commit-ID:  e2753293ac4bce8623650bb2d610b7e657bc869f
Gitweb:     http://git.kernel.org/tip/e2753293ac4bce8623650bb2d610b7e657bc869f
Author:     Dave Hansen <dave.hansen@...el.com>
AuthorDate: Mon, 12 Sep 2016 13:38:42 -0700
Committer:  Thomas Gleixner <tglx@...utronix.de>
CommitDate: Tue, 13 Sep 2016 14:41:36 +0200

x86/pkeys: Fix pkeys build breakage for some non-x86 arches

Guenter Roeck reported breakage on the h8300 and c6x architectures (among
others) caused by the new memory protection keys syscalls.  This patch does
what Arnd suggested and adds them to kernel/sys_ni.c.

Fixes: a60f7b69d92c ("generic syscalls: Wire up memory protection keys syscalls")
Reported-and-tested-by: Guenter Roeck <linux@...ck-us.net>
Signed-off-by: Dave Hansen <dave.hansen@...el.com>
Acked-by: Arnd Bergmann <arnd@...db.de>
Cc: linux-arch@...r.kernel.org
Cc: Dave Hansen <dave@...1.net>
Cc: linux-api@...r.kernel.org
Link: http://lkml.kernel.org/r/20160912203842.48E7AC50@viggo.jf.intel.com
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
 kernel/sys_ni.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c
index 2c5e3a8..635482e 100644
--- a/kernel/sys_ni.c
+++ b/kernel/sys_ni.c
@@ -250,3 +250,8 @@ cond_syscall(sys_execveat);
 
 /* membarrier */
 cond_syscall(sys_membarrier);
+
+/* memory protection keys */
+cond_syscall(sys_pkey_mprotect);
+cond_syscall(sys_pkey_alloc);
+cond_syscall(sys_pkey_free);

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ