From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933803AbcCIR6o (ORCPT ); Wed, 9 Mar 2016 12:58:44 -0500 Received: from mail-oi0-f43.google.com ([209.85.218.43]:32935 "EHLO mail-oi0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753423AbcCIR6h (ORCPT ); Wed, 9 Mar 2016 12:58:37 -0500 MIME-Version: 1.0 In-Reply-To: <06079088639eddd756e2092b735ce4a682081308.1457486598.git.luto@kernel.org> References: <06079088639eddd756e2092b735ce4a682081308.1457486598.git.luto@kernel.org> From: Andy Lutomirski Date: Wed, 9 Mar 2016 09:58:16 -0800 Message-ID: Subject: Re: [RFC PATCH] x86/vdso/32: Add AT_SYSINFO cancellation helpers To: Andy Lutomirski Cc: X86 ML , "linux-kernel@vger.kernel.org" , Borislav Petkov , "musl@lists.openwall.com" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 8, 2016 at 5:24 PM, Andy Lutomirski wrote: > musl implements system call cancellation in an unusual but clever way. > When a thread issues a cancellable syscall, musl issues the syscall > through a special thunk that looks roughly like this: > FWIW, this patch fails disastrously on 64-bit kernels. I fixed it, but it needs kbuild changes. I'll send those out to the maintainers. --Andy