Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1060649ybv; Thu, 13 Feb 2020 15:02:59 -0800 (PST) X-Google-Smtp-Source: APXvYqyo0uEZmEmskI7xD1rRLH56uOB3ViD4DETmrLIZLNZnEbgQo5e7HHZ7mjFiIWy5w1M5EWlP X-Received: by 2002:aca:d484:: with SMTP id l126mr4427756oig.114.1581634979574; Thu, 13 Feb 2020 15:02:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581634979; cv=none; d=google.com; s=arc-20160816; b=cGzNUOKGp41zW+Wejf+9x/MJF16zaw5nYCeu7qYH2eIAJvx6lSEdulDR8VOJaHMutr Y1u/Rj2buAcXA3lt4PnGQTK4YQfO5Oe6V1ytz31OrcN29R/WW4fo+4r9ES9+U4zsyV/b n6WJru4+zFXLVj909cFt5pekq49okXbAPFcI8eUrbgKw9zGY4e7T0jwO3QvVFCSdXbOu q5H33M+ajyNZtCw14hzeVp5eVqNGCFefqep1Nn9N/0VQVB1vw62Mf9JeE8m1I+HX3bX+ dYchSfjB23fVPth0deNdeS54t0oN3hY457BCG35tGNwuscH3641PdstFDs5MVEaZTrYl suhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=yUyZDsu+hO6lygGo4rMG4rSjy+EFMNYzYHIsqw/Bxd4=; b=bq+DCP/7NQiJe3iMEONfYHjOePKc6xSBiU5sefj0Fit+x3jWtK8Y5xKdUYe4kCYRx9 eRF7K22wHYQuJL1e0/0oKWShXkXaJVYtp/M/6OcmbLuPoNfs8qMOPkAcpNIFUlGxF0V8 rUFcvS5c/q/s1aY2tmC5K9ONjn9oIclbs2lppuG0hJGLpI41Ld6r/SFrUW9XfJck8z0j bPUoUj73OkX210HMv+G1HQ1l3HR7qFO2HR2zoNwysuaTrG1dynSZEav2PWXK/4jc+30n wUwDqxO8bgYqpejSC2KvcNu9Z1gGajSrnGI0hFM7qQG0Ejn4EVAW12+eWgraTzECniCO bd+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=mZSbRcoy; 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 v3si1876134otn.140.2020.02.13.15.02.46; Thu, 13 Feb 2020 15:02:59 -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; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=mZSbRcoy; 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 S1727722AbgBMXC0 (ORCPT + 99 others); Thu, 13 Feb 2020 18:02:26 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:34182 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727519AbgBMXC0 (ORCPT ); Thu, 13 Feb 2020 18:02:26 -0500 Received: by mail-ed1-f66.google.com with SMTP id r18so8915295edl.1 for ; Thu, 13 Feb 2020 15:02:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yUyZDsu+hO6lygGo4rMG4rSjy+EFMNYzYHIsqw/Bxd4=; b=mZSbRcoyvfbZ/lrDql3ZchQ0AQQEHs40mr6wVd7HurLsSVCt1im+XbNhERmoiOa90a Tja4MrCMxwjlyp3vB/V4vNjOJu49FUv60q7Z+JZH+8lxMQC13LKIk7J7KJl96Kf1S5Vu kW2oI7MvFff9OIkWgPx4aYxKLqFtsF/lhc3djy6CV7+uCBVm2T7BMoSqtE2Y6m94w0XG zT888gBszogYFLGc/Qya3hrnFgTStZOpbcb1hUu40Jh+CZrHaJWhI8hs2neph6uE3Wgr fUIkFtsol++DEHwi+t2SAMQ37cCfoKKB57YzBPGyKhe9RudvAZLj2uAn8GPA31ofnYPj VcYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yUyZDsu+hO6lygGo4rMG4rSjy+EFMNYzYHIsqw/Bxd4=; b=pmXLitl/vlah9+sUxGbBgjNgoAf61m3152MecXIVJjPHqWADPEAtgKQ/TIv21mFXDJ cyXX8s3Wj2rV/SYrnLakNmPh5dQlhqNaeiZGIs6Ucg/IW+Ks84WGN527cjM8FnVZWtmd UonigXkEHMSGg3EIBDH2hrkOFAWjmBCStgZDDsGMUoGavhEKjBYaSQQ0fyp3o3aSfPxK 2h8hHCTp978ECgZPMoCU2Cvmyuh2wiixs4X3dL6BOCPLfqZ9vTBqaw7EKNLaNL/sdWO/ Zj9aIS6Kp6rpP7IYPL1f5fqxTvS6CNQ+mTkv0gobq8z2n6gJ+q5pMFFYsJDG7MI7wh7o KZJw== X-Gm-Message-State: APjAAAXrDNeGzNRYB/ybq9X+kYICBNQ2mDQaG4ts9+HV3uc2TNuOmI3s IN1cW81PfkqDEV6N+7d8KiZHqSlPXhM46HhAU7by X-Received: by 2002:a17:906:7c47:: with SMTP id g7mr69108ejp.281.1581634942693; Thu, 13 Feb 2020 15:02:22 -0800 (PST) MIME-Version: 1.0 References: <20200212103548.266f81fd@canb.auug.org.au> <1d0b80d272a8e8c4a7b322d2d2bcc483d9e41a28.camel@btinternet.com> In-Reply-To: <1d0b80d272a8e8c4a7b322d2d2bcc483d9e41a28.camel@btinternet.com> From: Paul Moore Date: Thu, 13 Feb 2020 18:02:11 -0500 Message-ID: Subject: Re: linux-next: manual merge of the selinux tree with the keys tree To: David Howells Cc: Richard Haines , Stephen Rothwell , Stephen Smalley , Linux Next Mailing List , Linux Kernel Mailing List , =?UTF-8?Q?Christian_G=C3=B6ttsche?= Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 12, 2020 at 7:03 AM Richard Haines wrote: > On Wed, 2020-02-12 at 10:35 +1100, Stephen Rothwell wrote: > > Hi all, > > > > Today's linux-next merge of the selinux tree got conflicts in: > > > > security/selinux/include/security.h > > security/selinux/ss/services.c > > > > between commit: > > > > 87b14da5b76a ("security/selinux: Add support for new key > > permissions") > > > > from the keys tree and commit: > > > > 7470d0d13fb6 ("selinux: allow kernfs symlinks to inherit parent > > directory context") > > > > from the selinux tree. > > > > I fixed it up (see below) and can carry the fix as necessary. This > > is now fixed as far as linux-next is concerned, but any non trivial > > conflicts should be mentioned to your upstream maintainer when your > > tree > > is submitted for merging. You may also want to consider cooperating > > with the maintainer of the conflicting tree to minimise any > > particularly > > complex conflicts. > > > > I think 87b14da5b76a ("security/selinux: Add support for new key > permissions") should be revoked and resubmitted via selinux as it was > never ack'ed there and produced before 7470d0d13fb6 ("selinux: allow > kernfs symlinks to inherit parent directory context"), that has been > ack'ed. > > Because of this the policy capability ids are out of sync with what has > been committed in userspace libsepol. > > Plus as Paul mentioned there is an outstanding query on the permission > loop that David needs to answer. David, I see that this patch is still getting pulled into linux-next, could you please revert it from your keys tree? -- paul moore www.paul-moore.com