From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Jason@zx2c4.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 118ec5ae for ; Tue, 28 Nov 2017 12:30:19 +0000 (UTC) Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 835cf7fe for ; Tue, 28 Nov 2017 12:30:19 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 0b33ac96 for ; Tue, 28 Nov 2017 12:30:19 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id cb6b123e (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Tue, 28 Nov 2017 12:30:18 +0000 (UTC) Received: by mail-oi0-f54.google.com with SMTP id a81so113828oii.13 for ; Tue, 28 Nov 2017 04:36:11 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <5A1D5741.21951.47BB55BB@pageexec.freemail.hu> References: <20171111080920.GA5705@localhost.localdomain> <5A0ACF98.2734.3D2AE425@pageexec.freemail.hu> <5A1D5741.21951.47BB55BB@pageexec.freemail.hu> From: "Jason A. Donenfeld" Date: Tue, 28 Nov 2017 13:36:10 +0100 Message-ID: Subject: Re: imer_setup() is not compatible with PaX's RAP To: pageexec@freemail.hu Content-Type: text/plain; charset="UTF-8" Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Nov 28, 2017 at 1:32 PM, PaX Team wrote: > targets of indirect calls must be marked by the RAP hash which the plugin > will do for code it sees but for asm you'll have to do it yourself, look at > the use of RAP_ENTRY to see how that works. Oh, terrific. So I can just do something horrible like: #ifdef RAP_PLUGIN #undef ENTRY #define ENTRY RAP_ENTRY #endif