From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Jason@zx2c4.com Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id c6f65706 for ; Sun, 23 Oct 2016 10:22:03 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 38c184e4 for ; Sun, 23 Oct 2016 10:22:03 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 68c14bd4 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Sun, 23 Oct 2016 10:22:03 +0000 (UTC) Received: by mail-lf0-f52.google.com with SMTP id f134so11240288lfg.2 for ; Sun, 23 Oct 2016 03:23:23 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <87wph0pm06.fsf@toke.dk> References: <87mvi0jxsb.fsf@toke.dk> <58096029.23859.5C451AE@pageexec.gmail.com> <5809CB98.15179.767FB18@pageexec.gmail.com> <87bmyet4dx.fsf@toke.dk> <87wph0pm06.fsf@toke.dk> From: "Jason A. Donenfeld" Date: Sun, 23 Oct 2016 19:23:20 +0900 Message-ID: To: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= Content-Type: text/plain; charset=UTF-8 Cc: Emese Revfy , Pipacs , Brad Spengler , WireGuard mailing list Subject: Re: [WireGuard] Error building against grsec-enabled kernel List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, I've switched to using the same strategy of tun.c, and simply resetting all the fields, even if this is semantically incorrect, as the rest of the kernel seems to do this in fact: https://git.zx2c4.com/WireGuard/commit/?id=95a869e45905766878cc4fee1a27a1c933786361 This should make WireGuard run fine on PaX. That, combined with the previous PaX-motivated commit, should make WireGuard work with Grsecurity kernels without any modification necessary. This work will be part of the next snapshot I tag. Jason