Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1317867pxu; Sat, 5 Dec 2020 11:21:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJwzQQhSpUJbX4uZEPuuD95Tqtch4FBNDfw6C+h32dEog8MJwUU/VFXPEzMK39IJsHHqmX3W X-Received: by 2002:a17:906:7118:: with SMTP id x24mr12555767ejj.333.1607196098172; Sat, 05 Dec 2020 11:21:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607196098; cv=none; d=google.com; s=arc-20160816; b=wCl8KhS7g3DZf9wbMcT/cTI7CbzLFLwl6Opc5E3QrseQi7VkxEM6bXCXvWpOgPg2YR KS0bHh478eBynSSlAkiOgSU4Wq+hj+p52wQUm24DaWsmwfq7dLbBn1o0N0cJ2mtbXOkN 82F97Iy+D7QFO7XqQ/Ytc0G8A/lZVvAg3Uonl9JLLMn10FrW2fgzBcQszSES0bG/o5ZD pZUHd331YTkWr5Ze/mUbEgu2xJaKYwXS0Tl9LRxEnoyrSNXfpYzD9yaN5/VNfkQ+zcAB DfzDdMKzLvYJqYc4F9r69svoG8qNrdEXWbRt1grO7hdFlOeIOmFgyDp9r+ddFFJrdv36 TD7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:mime-version :dkim-signature; bh=vKYNJyYVXyF+nBGPgTZpNTlAvnr8n0UKXsJiKrwDjwg=; b=GxTZKEbJNiz+ncNdsVJdFs0eeSH7Eyir8uLFMk4RHotC2APrPNMPoBJUwd4YECGF5I j3R0ARG/fZ8/x+6r5vqqjCmSPqW5vIxD8dRfAUXmPQE+yGnjV/LRofmT7FJf66rnqbTR qutzpul9koQ2fE0bN7WrjY7PpYS17csIMpXc5O0xhny58/raYfzbMOfDbO4T5I21IP2s NwsdesR5r8hSWTMMXejI0mfIfMj+RavRSWvr5E29K89bNdvBA/tE1GqA+DgZ/YZB8M4Y Zp+riWjvI973S+EKs93JEBZ8cmaZY7XAqmQ2Zb9wrW2gd7DOzxT0NPVITspPjO8veRd2 PGFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mvista-com.20150623.gappssmtp.com header.s=20150623 header.b=VaTAeXQa; spf=pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn3si5116229edb.35.2020.12.05.11.21.32; Sat, 05 Dec 2020 11:21:38 -0800 (PST) Received-SPF: pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mvista-com.20150623.gappssmtp.com header.s=20150623 header.b=VaTAeXQa; spf=pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727213AbgLETUN (ORCPT + 16 others); Sat, 5 Dec 2020 14:20:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727218AbgLETUJ (ORCPT ); Sat, 5 Dec 2020 14:20:09 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29270C061A4F for ; Sat, 5 Dec 2020 11:19:27 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id k10so8130569wmi.3 for ; Sat, 05 Dec 2020 11:19:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mvista-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=vKYNJyYVXyF+nBGPgTZpNTlAvnr8n0UKXsJiKrwDjwg=; b=VaTAeXQawjlBUiDqEpCEbwU3QJ4Vi+Dbxk2+KB8PcFkQIj990SEDBdTbuArp2uCbt6 S4PBFP/3TyE/p9ZSHHs1suWac4uTOMqEheFmbL5zWHWd39nGi6usYW/MfVKfntsvT915 f/ZH6sECfX+OHUYNA4INVfdV6rIT5g58saa4bwhl0raBAfEW9d6ESg7DQToYYl2IKvlT nGYPBFqauVpQ+QMDBt7A6wJLwcpIp18SuWaKQmPJvfKhAXWSckv5uMR5pGK9vqEmGCmE /hy+9tC4up6GYQVPpQaAaGVd1aY/6qreIT4Kh64/FtaOr+Y6Jr4Jj5UIgZLff1lfsrjt Y3ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vKYNJyYVXyF+nBGPgTZpNTlAvnr8n0UKXsJiKrwDjwg=; b=l8wxAzTKirI3W68VW2LQs/h/8B6JES9MnrXKpW4oqJxowDxgkR+lkNT4RwYcIc37ti e+XchfTv2lqTxkI7VXHpvU20BMIDCow5p8nAfmGwjynFjaww0t26Z8YwA+Oc1+a/54sw po1KY1DtE4PHt6J4ciBoSyLlINBDjfUp3Z/oHDADXKCpTpaWbi5Atui2Bgr1TNJIF/qX BzcThdWN0OtRZBomcQwPKQZo4mo0LifXBcxICuyIgqE64PJtpyVyW9Uxfph/sFq53aF4 oGuUSY1X9hHx5fHb9v4b36dBNuaRH+2Hzu4xN/9jwc5495V5J/feXcRctgvmfKvVIdUc Vyeg== X-Gm-Message-State: AOAM532lPWtEkjpO8CUAxr+UPnztbiBm+xZVpsK5kq45bfnOAKezQCw7 ugn4WPIuKfhYh/UYJonMLN9uG/vKJ/vmtKAbT4Ne1YgjG0ikFQ== X-Received: by 2002:a1c:e342:: with SMTP id a63mr10756072wmh.64.1607195965308; Sat, 05 Dec 2020 11:19:25 -0800 (PST) MIME-Version: 1.0 From: Ashish Mishra Date: Sun, 6 Dec 2020 00:49:14 +0530 Message-ID: Subject: How is policy.31 created from modules under /usr/share/selinux To: selinux-refpolicy@vger.kernel.org, Paul Moore , SElinux list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org Hi All , Good Morning . I am following the SELINUX NOTEBOOK & trying the same at my end . - The refpolicy modules are copied at /usr/share/selinux/refpolicy i can see around 400+ modules there . But can senior member' s please help me understand how is the /etc/selinux/refpolicy/policy/policy.31 created using the modules available at /usr/share/selinux The command i followed : $ make install-src $ make conf $ make load ( tried even $ make install ) $ make install-headers - This can help me to debug an issue where i am trying to get selinux of my custom distro where all the make command are successfully executed but the policy.31 is not getting created - I can even see the "include" folder also getting created for make install-headers Any pointers will be helpful or please let me know if i am missing any aspect here . Thanks , Ashish.