Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FFD1C282C3 for ; Tue, 22 Jan 2019 08:35:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 48A9A20823 for ; Tue, 22 Jan 2019 08:35:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JQKeeyES" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727093AbfAVIfT (ORCPT ); Tue, 22 Jan 2019 03:35:19 -0500 Received: from mail-ed1-f52.google.com ([209.85.208.52]:34070 "EHLO mail-ed1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727062AbfAVIfS (ORCPT ); Tue, 22 Jan 2019 03:35:18 -0500 Received: by mail-ed1-f52.google.com with SMTP id b3so18691670ede.1 for ; Tue, 22 Jan 2019 00:35:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=gm2YZlZWcEcWO6UcmTRoWq48oSpSCokTGlIV7jFXYSo=; b=JQKeeyESMs3kIvRLX5SnhrL6LEpHD8HyboHpwzvClO08kyunlfva99jSJ/g29q7t9O Qar1FQ9AwmXnbj9zOvqjlOzvwheFn0biZysnfz/NBphOQ0/ru/XfB1T0ntrAnKk5ARVr kGs+ut+hz9oTOlEzY4CJcheDmdp0SZ7gM3Z6tOh15DcFc+IGR2v2UiXnDa7wCnBtGOa8 R/doc61jXPAeW08QX47HVW/g9+vFUqCxeEZNwPv7485H8RwJHGA/Q5UQUOHxZauCJGYw jzcaxQgKn5jJLOEwL/ew5pf0PDO0dkjb9kt94IBJJKY/dMfq8jc0jWCBsL/SBShIw520 jPSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=gm2YZlZWcEcWO6UcmTRoWq48oSpSCokTGlIV7jFXYSo=; b=de0SlovqhQwz+7DTnQxnej91KyOeOerqKGlsaE+PywsNYm67liFYZZ5nehPFkkYc65 U6UgZX4+BojDR9big5p3xXZII7CDb2cIMk/M7Q8b1g/f05+x6AKVoLOMwNaPIwRpMkm+ nsmp72r75t3CVLRfo0YwIn8eRlkmdDzHBupKDESyVx5Hop7EdGn4zPPcLZBwzH1hf2Y5 ih1TVZvolIWCvftdldk4dvBQNxyIl4dsuwLXaP7HVtp0f1caOs+7M1cvLO2sGGesz+cC +Ht1KCAhGghnb8mMtBZSsH4qtgO59h3KMUloTq25jqUM/gXsIbggENPBp3g+qA6mz97a kv1A== X-Gm-Message-State: AJcUukcJSEdh0+vNVpBwGe7vwKDnQU0E6txOt4sOvM47zH8EzuDQnc5O NlVoq1T5SOfFnYIB7LnH+6GhbytJ X-Google-Smtp-Source: ALg8bN7B0x26IdxIvtMVUeYTcyHIEIUILv3JCzJLpkwXFvDd8ZZHB3nrwpl/B7iIwJ0Q0ynFE8jCOQ== X-Received: by 2002:a17:906:9a2:: with SMTP id q2-v6mr26908901eje.247.1548146117192; Tue, 22 Jan 2019 00:35:17 -0800 (PST) Received: from brutus ([2001:985:d55d::438]) by smtp.gmail.com with ESMTPSA id b19-v6sm5355737ejp.77.2019.01.22.00.35.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Jan 2019 00:35:16 -0800 (PST) From: Dominick Grift To: Russell Coker Cc: "selinux-refpolicy\@vger.kernel.org" Subject: Re: nnp_transition References: <6525171.sqPiMeOL83@liv> <87fttlyuv7.fsf@gmail.com> <8870278.Oar1g5JlLj@liv> Date: Tue, 22 Jan 2019 09:35:16 +0100 In-Reply-To: <8870278.Oar1g5JlLj@liv> (Russell Coker's message of "Tue, 22 Jan 2019 19:33:53 +1100") Message-ID: <87bm49ytrv.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org Russell Coker writes: > On Tuesday, 22 January 2019 7:11:40 PM AEDT Dominick Grift wrote: >> > Getting close to a Debian release so I have to sort out the nnp_transition >> > rules. How do I work out what's going on here? Do I just assume that as >> > dpkg_t has generally less access than unconfined_t it's ok? Is it worth >> > investigating why something in apt is setting NNP? >> >> Not worth looking into if you ask me (this is just the tip of the mountain). >> You no longer have to worry about type bounds if you enable the polcap >> (which i think is the default) > > What do you mean by "enable the polcap"? [root@brutus ~]# seinfo --polcap | grep nnp nnp_nosuid_transition -- Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02 https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02 Dominick Grift