Received: by 10.223.185.116 with SMTP id b49csp3487982wrg; Mon, 5 Mar 2018 23:13:10 -0800 (PST) X-Google-Smtp-Source: AG47ELtY/pUdrRgPOdj4C1bohEIrtOZToJZW+kulV4ztjZeYDcHPjZMAvwLjsDkvvnXCayaca60m X-Received: by 10.99.116.69 with SMTP id e5mr14667025pgn.437.1520320390781; Mon, 05 Mar 2018 23:13:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520320390; cv=none; d=google.com; s=arc-20160816; b=WtMaU4NpKCgGT5q50mBk4RlDJSKZwxqISxghPe5piMRaGckaO4Od5JMyUqQOI3WWNZ jUBi7wf/Lr2V1oc9DGcdpashMEoKbRhZEtzZvNy8eONRlDimdfxyjH02+xz2k+7S3iS1 /LmouUK7UmabMijBlpkkzl3CL59d+k14VTZZbTV7Ye7AJWb/VS2al35HZMHrtYDprY2x IkoSkJDt10iAlZAlCNIylv+cYAswDIn/Z3VyJZQplifNvdvR0ZNIBkaN7nynKLv2f4bt bPCN8g3xNGhZetcFH6H7cj1hb8FW3sc3ID+shN50U4VyT/QvBqnVD8R2ev+F+TQpoJ70 0JOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:mime-version:user-agent :message-id:date:cc:to:from:arc-authentication-results; bh=+EADeR3hbaeIWwp069yAHCHw+TAcJ52oTa7g5XUuHAo=; b=ToQXHbuUpgZha/u3CxiihE9vAx5mT5kXe2moykeT1+u5WdHkZm9ECuprsviAZY/FD/ MUC70AAkqQRz+OQ7T4ndZmOuYRqeZC7kmcwhZZDahbAdJjXCzacbWsqDeo17QlfRIKpJ EJMwDjnNmk5/UtIHVnFaOqxRXx84GdTDHivX003VXhpRUqosG/WAesowYhKWuYDZKGpH fcOmrfTmwjORKAQ22UfHXF4em7Lm7MIUt6kOTO+IBuEfzX72Qp8PLDaCGK7yCSQba9Rk UK/RbVDRBvHafpFhibaORoBebLWW9VGDw+HP4jlPGsDU+fR4LSwAbz92UcXaCac7Y81y +2zA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si10741288plo.230.2018.03.05.23.12.56; Mon, 05 Mar 2018 23:13:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750837AbeCFHME (ORCPT + 99 others); Tue, 6 Mar 2018 02:12:04 -0500 Received: from out02.mta.xmission.com ([166.70.13.232]:55676 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750727AbeCFHMD (ORCPT ); Tue, 6 Mar 2018 02:12:03 -0500 Received: from in01.mta.xmission.com ([166.70.13.51]) by out02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1et6lR-0006mR-LT; Tue, 06 Mar 2018 00:11:57 -0700 Received: from 174-19-85-160.omah.qwest.net ([174.19.85.160] helo=x220.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1et6lC-0000DE-7J; Tue, 06 Mar 2018 00:11:57 -0700 From: ebiederm@xmission.com (Eric W. Biederman) To: Linus Torvalds Cc: , kernel test robot Date: Tue, 06 Mar 2018 01:11:03 -0600 Message-ID: <87woypy8zc.fsf@xmission.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1et6lC-0000DE-7J;;;mid=<87woypy8zc.fsf@xmission.com>;;;hst=in01.mta.xmission.com;;;ip=174.19.85.160;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX18ahY7TXcJrmDGu8J2M0JzG8TmdfEbm/xE= X-SA-Exim-Connect-IP: 174.19.85.160 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa07.xmission.com X-Spam-Level: ** X-Spam-Status: No, score=2.1 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,TVD_RCVD_IP,T_TooManySym_01,XMSubMetaSxObfu_03, XMSubMetaSx_00 autolearn=disabled version=3.4.1 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 TVD_RCVD_IP Message was received from an IP address * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.4974] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa07 1397; Body=1 Fuz1=1 Fuz2=1] * 1.2 XMSubMetaSxObfu_03 Obfuscated Sexy Noun-People * 0.0 T_TooManySym_01 4+ unique symbols in subject * 1.0 XMSubMetaSx_00 1+ Sexy Words X-Spam-DCC: XMission; sa07 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: **;Linus Torvalds X-Spam-Relay-Country: X-Spam-Timing: total 15017 ms - load_scoreonly_sql: 0.03 (0.0%), signal_user_changed: 2.4 (0.0%), b_tie_ro: 1.66 (0.0%), parse: 0.63 (0.0%), extract_message_metadata: 2.4 (0.0%), get_uri_detail_list: 0.88 (0.0%), tests_pri_-1000: 2.8 (0.0%), tests_pri_-950: 1.22 (0.0%), tests_pri_-900: 0.95 (0.0%), tests_pri_-400: 15 (0.1%), check_bayes: 15 (0.1%), b_tokenize: 4.2 (0.0%), b_tok_get_all: 4.8 (0.0%), b_comp_prob: 1.59 (0.0%), b_tok_touch_all: 2.3 (0.0%), b_finish: 0.58 (0.0%), tests_pri_0: 99 (0.7%), check_dkim_signature: 0.39 (0.0%), check_dkim_adsp: 3.9 (0.0%), tests_pri_500: 14885 (99.1%), poll_dns_idle: 14879 (99.1%), rewrite_mail: 0.00 (0.0%) Subject: [GIT PULL] siginfo fix for v4.16-rc5 X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus, Please pull the siginfo-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git siginfo-linus HEAD: f6a015498dcaee72f80283cb7873d88deb07129c signal/x86: Include the field offsets in the build time checks The kbuild test robot found that I accidentally moved si_pkey when I was cleaning up siginfo_t. A short followed by an int with the int having 8 byte alignment. Sheesh siginfo_t is a weird structure. I have now corrected it and added build time checks that with a little luck will catch any similar future mistakes. The build time checks were sufficient for me to verify the bug and to verify my fix. So they are at least useful this once. Eric W. Biederman (2): signal: Correct the offset of si_pkey in struct siginfo signal/x86: Include the field offsets in the build time checks arch/x86/kernel/signal_compat.c | 65 ++++++++++++++++++++++++++++++++++++++ include/linux/compat.h | 4 +-- include/uapi/asm-generic/siginfo.h | 4 +-- 3 files changed, 69 insertions(+), 4 deletions(-)