From mboxrd@z Thu Jan 1 00:00:00 1970 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,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS 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 35635C3713C for ; Mon, 21 Jan 2019 22:47:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7F5922089F for ; Mon, 21 Jan 2019 22:47:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=coker.com.au header.i=@coker.com.au header.b="wvgj44H2" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727166AbfAUWrO (ORCPT ); Mon, 21 Jan 2019 17:47:14 -0500 Received: from smtp.sws.net.au ([46.4.88.250]:59604 "EHLO smtp.sws.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726244AbfAUWrO (ORCPT ); Mon, 21 Jan 2019 17:47:14 -0500 Received: from liv.localnet (localhost [127.0.0.1]) by smtp.sws.net.au (Postfix) with ESMTP id C37D5F443 for ; Tue, 22 Jan 2019 09:47:11 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coker.com.au; s=2008; t=1548110832; bh=mZvEkeFryB3mvSr++ccgRX48+vk0jwyx92xRlTeTrtI=; l=1132; h=From:To:Subject:Date:From; b=wvgj44H2NOZN67gJMripd/yq7Wp4/0uSVjb6mO4fUkErQye3GKkOB+df1M+pRW2tG +6v62/0lp8i6Q9Vuxy4fuh7yuGpyxLOGonnGoxaOYi8+LAX9rHLu3EYkOQJIQs/BRy 30zw72QTQ1bGuoDeG55HcrGsUqQ1ql/M5Wa/xnE0= From: Russell Coker To: "selinux-refpolicy@vger.kernel.org" Subject: nnp_transition Date: Tue, 22 Jan 2019 09:47:04 +1100 Message-ID: <6525171.sqPiMeOL83@liv> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org 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? type=PROCTITLE msg=audit(22/01/19 07:08:31.692:1104) : proctitle=/usr/bin/dpkg --print-foreign-architectures type=SYSCALL msg=audit(22/01/19 07:08:31.692:1104) : arch=x86_64 syscall=execve success=yes exit=0 a0=0x5611b27bd0e0 a1=0x5611b27c1590 a2=0x7fff0e8f51f0 a3=0x1 items=0 ppid=18604 pid=18605 auid=root uid=_apt gid=nogroup euid=_apt suid=_apt fsuid=_apt egid=nogroup sgid=nogroup fsgid=nogroup tty=pts2 ses=9 comm=dpkg exe=/usr/bin/dpkg subj=unconfined_u:unconfined_r:dpkg_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(22/01/19 07:08:31.692:1104) : avc: granted { nnp_transition } for pid=18605 comm=apt-config scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:dpkg_t:s0-s0:c0.c1023 tclass=process2 -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/