Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3493447imm; Sun, 16 Sep 2018 20:19:46 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbfB5yuBfEVn15yNNF7+sYxKr4Nj+R4cTceQrXL4nsZXIEeifijcM95Q4tmQpS6EWfuTw5T X-Received: by 2002:a62:1a8f:: with SMTP id a137-v6mr23921837pfa.190.1537154385960; Sun, 16 Sep 2018 20:19:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537154385; cv=none; d=google.com; s=arc-20160816; b=dAND05tITfU9A1Zulpnvo/kLEYDnWGAp7zRUeQjwmJZKbYULn8OzOf3DtJy4PmSdyt fZjXiNjMcaPx4FvPBoHH1wK4x2v2HY8va5wUJ+eTJeoQU+jkjOy3Ge14z/SpQw/fjMMK h2+eHR4oZU0XUZgSCXcP8XqKNTLw7s/LZCHzr3WP9PCgCZVQeUoZK88zPdMtSJPcEO/6 vkxkNirO5hr0KANIh2NxUOTz8xAAKdrEVIZtfkg9rvxxYdNjs5BxNJKDpLaLt8r8Tf46 kw32NWycNkGsxPwvThVrUR4ooVfJS7khpZv2856iSkZoaRwImLnFPzT6W0wgSX2RuN+q y/wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=+Mznj0+jKoB5y3VBxBxXh133SDBQ/rsyXtLKcL27qu8=; b=Az2HxBbngefA7/1snmwPwcwhJOwzs6Ng/tr+pB/cO381+oMV5ppaUj8kLb9OieniB8 zvLnP2LMDCKKQOY8EK9S9VJFwiPR91CEZV7im8rViyKa/mUCRh48bJyNez9bCjSHgEph D3kErPfJLi5YRqbTlERP2X8MUGJ+Q4nE5fgAAwFhm62tHpP6q0VXAs5tp27O/G1tDGLg H8feOhi8NCwXObCfjy4nxIhgU3QPHvPmVUtNEF7xIMqlsNEXn3MdDYrUNhlq0650RVoL rr2hmU1V1HgY+UNPXY751WF/H/2TN/EtPb0zOHqqYpCQ8rZe9HuYI/HknVazwGLj5uVU +1pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=WwRPN3VQ; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c10-v6si13623246pla.450.2018.09.16.20.19.30; Sun, 16 Sep 2018 20:19:45 -0700 (PDT) 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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=WwRPN3VQ; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730511AbeIQIaZ (ORCPT + 99 others); Mon, 17 Sep 2018 04:30:25 -0400 Received: from mail-eopbgr690116.outbound.protection.outlook.com ([40.107.69.116]:54124 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730455AbeIQIaY (ORCPT ); Mon, 17 Sep 2018 04:30:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+Mznj0+jKoB5y3VBxBxXh133SDBQ/rsyXtLKcL27qu8=; b=WwRPN3VQiIZv2iFHiF6fWR1FHEaIn2KKbEl+2BKkiaxwYaWzkvzIc0gtbyMKQyonXzCg1dlTtOyYjS/2y4CPLsFjbegIvQ68udzzF1+kL+ScmZI6m3VAG3axtbA7ABLslJI4D5ZU7H44Y9VjbNPewXWAskG5uzx79lStaeigQFA= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0133.namprd21.prod.outlook.com (10.173.189.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.11; Mon, 17 Sep 2018 03:05:00 +0000 Received: from CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::54e2:88e0:b622:b36]) by CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::54e2:88e0:b622:b36%5]) with mapi id 15.20.1185.003; Mon, 17 Sep 2018 03:05:00 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: =?utf-8?B?T25kcmVqIE1vc27DocSNZWs=?= , Paul Moore , Sasha Levin Subject: [PATCH AUTOSEL 4.14 75/87] audit: Fix extended comparison of GID/EGID Thread-Topic: [PATCH AUTOSEL 4.14 75/87] audit: Fix extended comparison of GID/EGID Thread-Index: AQHUTjL4tZGJx/fgREWRFUUUUXRY7A== Date: Mon, 17 Sep 2018 03:03:12 +0000 Message-ID: <20180917030220.245686-75-alexander.levin@microsoft.com> References: <20180917030220.245686-1-alexander.levin@microsoft.com> In-Reply-To: <20180917030220.245686-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY4PR21MB0133;6:Gn/9oFfljnu6880VSQRMtxvNc7i8WLgfRrcXtxFVbmQZLSt8lzIDWalvCyodhA0X2vEM/pZB9cBAMZa7K2K1SiYose+MTj/zmKWubw0y3zVq3GZP9lW7Td9P+nNyt+5Qe1cGjs49rNoGCU8B5i/uXGmSR7Joz2rY4U1fgBDAifTyCbWNY8irTjoymAYjf46zJqp6iRHTGpFU52/wq0zhQFA+1gAdX56P6X/9UhnjFDBYgyL/92JzihqIS3Kico2s/M3jfbHG03yuq339IQG1uXBFhCWQizsHJsTRdXN6Ya27zOLY7DoeP11VO72Ahty5XBjAkySrPipZ5Op8s5RsilqAd6plTDbWkRzHxiP1KkC8c5qkIHfPavX5nvJlJ2dk3qP+2Jg+w7DZHnaOVSkS4w33gMmB5Y4WMVKVEdOXHKCYWOF0osltCLgu8nJetQbI/N12q7nqcAte0xzP4O0Pkg==;5:iCchvw5C1xzSgcdQHQI1u5mlrvT9LmQOSNd/eOf8AuOIQ6wr1E3eM224INEUPsu7t1RAc2aSqpw8ATXw87JL47T6d5LPS9lNzonSAfeSpC36Om49MW+0TEbIHe9LlURcklAwN4dBWXsiterwyzOvleVwRsHomIruaTCqgSpJGd8=;7:nwjjUKA44VJm8ffOEtQTz0XD7zWRT00wrYnkUw3cv+yE8yRWEzGk1TmXus6wf3Ky5zVDNoPkBbj05I5RrVaYLapwyeIE0+LTUT+cWEgfl2qgg2lQBMDnXvTkIKiwTMoquViXTxTxSvs3WHFpd1KikfkQ/1Emhk7cig+tBLYxkfLMfMOKRppDzTDPHf1WFWpf3d3AMOp203ky9CaRMBsS0MKVv835NUtQVDxrUtd972JS9urEkcXL4n+Ml+IW9Tf1 x-ms-office365-filtering-correlation-id: f032baab-87fe-42b6-ed98-08d61c4a5b4a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7193020);SRVR:CY4PR21MB0133; x-ms-traffictypediagnostic: CY4PR21MB0133: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820)(28532068793085)(89211679590171); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3231355)(944501410)(52105095)(2018427008)(3002001)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(201708071742011)(7699050)(76991041);SRVR:CY4PR21MB0133;BCL:0;PCL:0;RULEID:;SRVR:CY4PR21MB0133; x-forefront-prvs: 0798146F16 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(136003)(396003)(39860400002)(376002)(346002)(189003)(199004)(102836004)(53936002)(8676002)(486006)(476003)(3846002)(6116002)(76176011)(10290500003)(97736004)(217873002)(256004)(5660300001)(107886003)(6506007)(478600001)(110136005)(2501003)(10090500001)(305945005)(7736002)(446003)(11346002)(36756003)(2906002)(1076002)(22452003)(5250100002)(2616005)(26005)(316002)(106356001)(25786009)(68736007)(86362001)(14454004)(966005)(72206003)(105586002)(99286004)(6486002)(6306002)(6436002)(6512007)(86612001)(6666003)(81166006)(81156014)(186003)(2900100001)(54906003)(8936002)(4326008)(66066001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR21MB0133;H:CY4PR21MB0776.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 2kvn7ZB0eAWcltrc9OpVQrwZDKfxd76uspIRD3wXIhYPwaKXmOa4Qx0K+SC9Z3MH6DFjVVaw7SUJ4dao37LCTccnCRRQ/rhYOFFh3s2EjA9lgcjZ2cX6XDXamrwOPSWUHV2epNwxZtN9WF0IaLCFu9K94V2p2DABIC5yFZgKwFsvaqvHWeDMle/slAWfJ992mWmvx5p+cb96Lu3J5/aK/JLBAg/HD0OPAC40YhSUANuA+97cmttW/f1VA5qaSfchG0OautTD/Zcp29ydDp6QV3a6Dpaee5RyHcrNkqNDmaASuPM5r2yW9MjORL4ywQ0NkJY/mxiv1WKj6dRzuZmqKOkcoXMfdpYNl7f66JEoVug= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: f032baab-87fe-42b6-ed98-08d61c4a5b4a X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2018 03:03:12.6965 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0133 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogT25kcmVqIE1vc27DocSNZWsgPG9tb3NuYWNlQHJlZGhhdC5jb20+DQoNClsgVXBzdHJl YW0gY29tbWl0IGFmODVkMTc3MmUzMWZlZDM0MTY1YTFiM2RlY2VmMzQwY2Y0MDgwYzAgXQ0KDQpU aGUgYXVkaXRfZmlsdGVyX3J1bGVzKCkgZnVuY3Rpb24gaW4gYXVkaXRzYy5jIHVzZWQgdGhlIGlu X1tlXWdyb3VwX3AoKQ0KZnVuY3Rpb25zIHRvIGNoZWNrIEdJRC9FR0lEIG1hdGNoLCBidXQgdGhl c2UgZnVuY3Rpb25zIHVzZSB0aGUgY3VycmVudA0KdGFzaydzIGNyZWRlbnRpYWxzLCB3aGlsZSB0 aGUgY29tcGFyaXNvbiBzaG91bGQgdXNlIHRoZSBjcmVkZW50aWFscyBvZg0KdGhlIHRhc2sgZ2l2 ZW4gdG8gYXVkaXRfZmlsdGVyX3J1bGVzKCkgYXMgYSBwYXJhbWV0ZXIgKHRzayk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