From patchwork Fri Jul 31 20:40:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1339591 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Q/JzhRqt; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BJK1n48d8z9sRW for ; Sat, 1 Aug 2020 06:41:16 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 52CCC20455; Fri, 31 Jul 2020 20:41:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JXIj2PHRAajq; Fri, 31 Jul 2020 20:41:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 75DB0204B5; Fri, 31 Jul 2020 20:41:09 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 409F31BF4DB for ; Fri, 31 Jul 2020 20:41:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 22DE988378 for ; Fri, 31 Jul 2020 20:41:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h2unWO3Ld0yT for ; Fri, 31 Jul 2020 20:41:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by whitealder.osuosl.org (Postfix) with ESMTPS id E231E88376 for ; Fri, 31 Jul 2020 20:41:06 +0000 (UTC) Received: by mail-pg1-f195.google.com with SMTP id k27so16641787pgm.2 for ; Fri, 31 Jul 2020 13:41:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oH5u8CFcMR0aTtXSSbyRQe5xCcYReuD1wNIqB9wbtM0=; b=Q/JzhRqtsWpRto4TvYGosboPrKJI/mTpv/dytfC59Zt3PiCY4IIfj1mAytvQkEFChO sBob556x0AceC3pNmRZNWkxvYNPmbXNTaFm/Ve14dEoYm0e6i4oUT+ox81Nsxs4Mby+h l+PdFUGkn4tcBOQoJqwQDj6nJKT2luzhfqDC5NY0BcIUB1LbGJEEk3jD/YVVOJwlG2Lz SKIzrykt5ENW3XJpQVM6/U+m6UMR29yeCu0Efiougs9QLY/VMe+zIxWnchZMDAiekzW7 xN9noqg2Cv9S2hhLkfNKYb8okW28yezRth1V68+0XftuB4s317a9O0jIryk278vuWmFX 39+w== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oH5u8CFcMR0aTtXSSbyRQe5xCcYReuD1wNIqB9wbtM0=; b=ixot4SqeBw3s1mC2f5lgD0E+eqiKZSYLCeBT5Iqdrq/2LHhZ5dsusMmIW8W8dnKDxX RHC7CH1/PByH7RIM6jUIJB7V70R2PwmUaSaoB5hTYgV7wyhEQbbIB7bonRrATIh6511w PxwqvLZGsFHuOsTTUqeWdORjrg0hqkFKp5TnpQXgADPgW+cxE6tC7i9VIfiJXwE9udjM zWDL49kVq8mFt9MjScRDOeENNn3WM9jf/EDtntHETOawXNN0E1mEqwqKnrFwx9aLzCc4 N7WGL9ZTSdtTmvsFw8brzAPXa9yYIQyVP4RGYsYC/vYv6IREOn4pp36OFtvoWLvpFSei PTBw== X-Gm-Message-State: AOAM532Shyx5tuzI3h9kc/7NcYc13PL2r0UvEbfaR81ZF7pxN+plPLmr 3YgZShrnK7eTYEhFHfF/DbFuQFiTmGw= X-Google-Smtp-Source: ABdhPJzgE0zH30YjiQRvtbBxYev3RCjjAejeGZ3+RMybKkAiPmXoKznXXNhU6FlGTYKUI6h+PtITLQ== X-Received: by 2002:a65:67d9:: with SMTP id b25mr5420557pgs.311.1596228066276; Fri, 31 Jul 2020 13:41:06 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id j20sm2899368pjy.51.2020.07.31.13.41.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 13:41:05 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Fri, 31 Jul 2020 13:40:52 -0700 Message-Id: <20200731204100.1171427-2-aduskett@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200731204100.1171427-1-aduskett@gmail.com> References: <20200731204100.1171427-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/9] package/libselinux: set the config_lsm kernel config option to selinux X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber , Marcus Folkesson , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett Currently, the libselinux package sets the CONFIG_DEFAULT_SECURITY_SELINUX kernel option. However, as of kernels >= 5.1, this option is superseded in favor of the CONFIG_LSM option, a comma-separated list of LSMs the kernel should initialize in order. As the previous behavior of this package sets the kernel's default and only LSM to initialize to SELinux, it is safe to set this string to just selinux. If the user wants additional LSM's, they may do so with a custom kernel config. Signed-off-by: Adam Duskett --- package/libselinux/libselinux.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index f7397141d5..521dbaaba8 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -111,6 +111,7 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY) $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK) $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SELINUX) + $(call KCONFIG_SET_OPT,CONFIG_LSM,"selinux") endef $(eval $(generic-package)) From patchwork Fri Jul 31 20:40:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1339592 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=dDsguvBP; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BJK1q3P3zz9sRW for ; Sat, 1 Aug 2020 06:41:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2A102887BE; Fri, 31 Jul 2020 20:41:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LrVdltln2Fdc; Fri, 31 Jul 2020 20:41:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A9653887CA; Fri, 31 Jul 2020 20:41:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id CEF151BF4DB for ; Fri, 31 Jul 2020 20:41:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CB1E2887CA for ; Fri, 31 Jul 2020 20:41:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F3ibggPJcm9f for ; Fri, 31 Jul 2020 20:41:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pj1-f68.google.com (mail-pj1-f68.google.com [209.85.216.68]) by hemlock.osuosl.org (Postfix) with ESMTPS id E5DA5887BE for ; Fri, 31 Jul 2020 20:41:07 +0000 (UTC) Received: by mail-pj1-f68.google.com with SMTP id t15so8382992pjq.5 for ; Fri, 31 Jul 2020 13:41:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hAnjsykzQWiY6AMUQXBS7lq8bgF0/NlesXbMEsls59M=; b=dDsguvBPs17RudexifkqejO8frlaBHYyAVbVWKsJIpo2Lhrl4Rm+7+v2DOG2E65LBD s8d+FQKjzNlj0YSOc9R4IG2+1gqKdE5nG2MvUWcVLHVI3u7gHQv1m/8ZWLEiqM91Ia2a zYEekBJNbrLQ7uUWBDtnBZhhUe0kNx1Qe5Ios3StOiAky/y4vEAk8u01EzN/KC4FbZhO eAXandwX0qB4POr2i71zqZRjvgTwueCtq4xKtI9qZEZrHU1ZKnP7YL8cv/e9lCW7nhHq feW52VgPxU4ELIySD1coHRj6awHEr4rlh98TAQNeP2ZYFkcWbdLk71RQnJtcWpSgmiJM +3NQ== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hAnjsykzQWiY6AMUQXBS7lq8bgF0/NlesXbMEsls59M=; b=n63JE2bNKcNxn4wTkdedY7HJkYclh942pEaYrL/m5nGXBkUZ59ApwvYRV+AgX6H1Vg wJ4FLzaY1//KzESviNiccL5S1shodeayAXjHYyvRilCrNswwrBSyACOvBRIMDnfeILp4 nDDX039TASQmQEV3rxLxcYJUndX2NMPXaI80sGKvHiO+6H+dpIuxZ0PgX22kLWZ5A45a WRqQPfFZcEufyCKfBNwn2e5vEwJ2tnAmYUM25MiHdRmoFzC840Q7CNg37WPWAn4KFCAS tMfZAu5PhDgAtQDJCJPFtZYPQ1ZIB6ErCOMbCse+bZK/25p14i7EPJ4o1dmQKKjlYRDQ s+Cw== X-Gm-Message-State: AOAM531uKLYdQEGPXcMa4V3RNUKohBxo+N0CyUY+Rp/0XZcSNhrmTsqn o22hT4GqVhggnhJbPanP5EwlcggsuaU= X-Google-Smtp-Source: ABdhPJxXqhWldXu6haX85nnXmIYFX/5AzkXjlq/DxhgfCoDu2P67cebXDg/ADB3/awqBSB9ILOHFbQ== X-Received: by 2002:a17:90a:498b:: with SMTP id d11mr5600898pjh.179.1596228067257; Fri, 31 Jul 2020 13:41:07 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id j20sm2899368pjy.51.2020.07.31.13.41.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 13:41:06 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Fri, 31 Jul 2020 13:40:53 -0700 Message-Id: <20200731204100.1171427-3-aduskett@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200731204100.1171427-1-aduskett@gmail.com> References: <20200731204100.1171427-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/9] package/libselinux: enable kernel selinux support for erofs images X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber , Marcus Folkesson , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett If BR2_TARGET_ROOTFS_EROFS is selected, enable the following kernel options: - CONFIG_EROFS_FS_XATTR - CONFIG_EROFS_FS_SECURITY Signed-off-by: Adam Duskett --- package/libselinux/libselinux.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index 521dbaaba8..b8f9c3b55a 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -112,6 +112,9 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK) $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SELINUX) $(call KCONFIG_SET_OPT,CONFIG_LSM,"selinux") + $(if $(BR2_TARGET_ROOTFS_EROFS), + $(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_XATTR) + $(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_SECURITY)) endef $(eval $(generic-package)) From patchwork Fri Jul 31 20:40:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1339593 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Uo/48DEl; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BJK1r5bsLz9sRW for ; Sat, 1 Aug 2020 06:41:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7037D869C9; Fri, 31 Jul 2020 20:41:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nzJpK6CW30aa; Fri, 31 Jul 2020 20:41:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id E41C286A47; Fri, 31 Jul 2020 20:41:17 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 969E51BF4DB for ; Fri, 31 Jul 2020 20:41:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 799DD20519 for ; Fri, 31 Jul 2020 20:41:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3+PxzC7x0ZoB for ; Fri, 31 Jul 2020 20:41:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by silver.osuosl.org (Postfix) with ESMTPS id 1C46A20455 for ; Fri, 31 Jul 2020 20:41:09 +0000 (UTC) Received: by mail-pl1-f193.google.com with SMTP id w19so4981578plq.3 for ; Fri, 31 Jul 2020 13:41:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jNZGCyRg3jwDm5jKcuXMtGumKmp0cFH61v8YhPuKu6Q=; b=Uo/48DEldYWPf27sk/Onck5RfdWlfUD2BKD9vABz44lb2rEE94+zLTxMF9zAgJ+Eba 2Xqbbi90fvzSO913vgQ6osy+mQB+OmpJugHJV3ujYRTd9hOeq6ow3Uo08N5IEzYHG0qs mKs1hJ7GKImJ2+F9+bNRDaGPDmlcSepA/wQeSMxxVROGtfPdd+8dXOOk0mPlMPjor/Qn n/1YlZ1LQ9eAq63spoleSqV99+5aFEd6Ji/HGpgtRvSIfYGFsru+T53MLV77x9eBFGBj MHOGPLdxDsLCvIyxz19elt75+07XpBJ5INCoekxs7Wnyg6SX3pSIo7HNUEqCYwYseEpD Ly1w== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jNZGCyRg3jwDm5jKcuXMtGumKmp0cFH61v8YhPuKu6Q=; b=WLZ7saMgJWzTMnVR49rtpEjcVQrT2z4EtDScNUkCb8ugsIcPREhYQZnoSD5r2A9vUc Q8TDO4JMpzJuhd+M7zyIT+UGPm0DsseXZUpSIuD7XXTtBy76gmAX3n7Cso/CgY6ztxn3 Jb9lMQJKo5Ow3X8RiWS/BU+Vw5rkqFLMM0FQ8HXWg+12r86qw3fkkxdmra/bp34JfW7J hF/NgkO/+GD5j9iTkLJGwJNrordtUQIjNhsI/txK29MOJ3JionfnsVXAJOilAb3tuTYV fYcQNIb8YbiROYv4EKMnJMiGztB426zlyWQaP4Z+iZ7Pv2cXo7rNHVJRjqLxt9HejdkO KPfQ== X-Gm-Message-State: AOAM53200BYw1fZ+UwuEXeJujarqAuzC1jn3L3oyqHiTD4K2g7rdallV 74UvLN1+sirb0wM5HOAJjuW7QYmNtuU= X-Google-Smtp-Source: ABdhPJymHBAqIPVKY9SUJYSmXT44YpRH98uiVHAUupCc5xSvulJczRhNbnSm13NaUJy2so6v9uM4ZQ== X-Received: by 2002:a17:90a:c7d2:: with SMTP id gf18mr947460pjb.15.1596228068346; Fri, 31 Jul 2020 13:41:08 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id j20sm2899368pjy.51.2020.07.31.13.41.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 13:41:07 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Fri, 31 Jul 2020 13:40:54 -0700 Message-Id: <20200731204100.1171427-4-aduskett@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200731204100.1171427-1-aduskett@gmail.com> References: <20200731204100.1171427-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 3/9] package/libselinux: enable kernel selinux support for ext2 images X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber , Marcus Folkesson , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett If BR2_TARGET_ROOTFS_EXT2 is selected, enable the following kernel options: - CONFIG_EXT2_FS_XATTR - CONFIG_EXT2_FS_SECURITY Signed-off-by: Adam Duskett --- package/libselinux/libselinux.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index b8f9c3b55a..77efe2d8e0 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -115,6 +115,9 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS $(if $(BR2_TARGET_ROOTFS_EROFS), $(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_XATTR) $(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_EXT2), + $(call KCONFIG_ENABLE_OPT,CONFIG_EXT2_FS_XATTR) + $(call KCONFIG_ENABLE_OPT,CONFIG_EXT2_FS_SECURITY)) endef $(eval $(generic-package)) From patchwork Fri Jul 31 20:40:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1339596 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=MIe2Qa3E; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BJK1x6J61z9sRh for ; Sat, 1 Aug 2020 06:41:25 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C0E9084896; Fri, 31 Jul 2020 20:41:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z-BjXYo82It1; Fri, 31 Jul 2020 20:41:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 06ED180389; Fri, 31 Jul 2020 20:41:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 29C2E1BF4DB for ; Fri, 31 Jul 2020 20:41:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1EC1A20455 for ; Fri, 31 Jul 2020 20:41:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ofX02IZ96sod for ; Fri, 31 Jul 2020 20:41:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by silver.osuosl.org (Postfix) with ESMTPS id 1FB84204DA for ; Fri, 31 Jul 2020 20:41:10 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id 74so6766844pfx.13 for ; Fri, 31 Jul 2020 13:41:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yA1l/5ia+eRUj77Pl8aa1lG0hY7AV6vHMKz/zfZaDsk=; b=MIe2Qa3EwtX20Q9yny69SbRXat2GYXCUGwyzuWtMip9gaTTnyD09uFEIp0YruclOTI m7pZp15DJF35CucxO2Fbo9I/mH+nge+/C0+Yq1Yln6aTfaPZi/1syu1neRJ1CJMUWPnA 3mzw9vsz13w3w/V3rFlDeRprfl5Fb1B9D/dDICTDtYIMn7Hw12wDd/XDbZyBfMnfJCzF 7TnHcU3bCLXTONvISxKXIOk2XQkvXPncS7J10TUAONwVvztbvzyUEU9vnRXA7SlWXl1+ INNkUIQk4uVMQwP9fF+Le1cmOh7cJtz71bnnRy8w4IrDJzZocgGWyzA7aOxy34RbIxqQ eIsg== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yA1l/5ia+eRUj77Pl8aa1lG0hY7AV6vHMKz/zfZaDsk=; b=o/KHdlZ7TN3pehpc05d7/wZh/PEEn3OSmdJiL4WKSVUjMGdcaZksPcY5cI7umHgQ3u Gl0FRKedzuab3orRYMDSMKe6UCK+lbUYkr2pNY3/8DqGD2+U4310soiNLjDAEPb6ZIrE wV1CJ/IXg4jgNqGXq+i9EhwSS2AzanekJNkoJ8dTivsdNDss7/nZU+hqX6KH7oQjGXPt DBkEdJHw85yh2+/CeeLsLXpoFElSzH5SAb0JCycwWcTtlti8J/G2D/WKpNTzGS0V6+V6 yia9OnYAZoUFGPjSwehWVrYewFxiHYI/zMZ1DrT5itzCEV4P0px7uH+k+69mv28+mZYV XyYQ== X-Gm-Message-State: AOAM533GIUZ0J1sAdD8nBN38M06hJeaAwUnnA4IH3xkMKFw6BbK96ATa +kjjRNi089K+kfxv+Dcw9zT7BXW/Xmc= X-Google-Smtp-Source: ABdhPJwKIYQNJ3X3RersEj1VLNEadt+uammcr+xAZkjpUbUy2EVzn4/ebrLYXtK6WmMD3bKnx17S9A== X-Received: by 2002:a65:6650:: with SMTP id z16mr5573928pgv.161.1596228069276; Fri, 31 Jul 2020 13:41:09 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id j20sm2899368pjy.51.2020.07.31.13.41.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 13:41:08 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Fri, 31 Jul 2020 13:40:55 -0700 Message-Id: <20200731204100.1171427-5-aduskett@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200731204100.1171427-1-aduskett@gmail.com> References: <20200731204100.1171427-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 4/9] package/libselinux: enable kernel selinux support for ext3 images X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber , Marcus Folkesson , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett If BR2_TARGET_ROOTFS_EXT2_3 is selected, enable the following kernel options: - CONFIG_EXT3_FS_SECURITY Signed-off-by: Adam Duskett --- package/libselinux/libselinux.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index 77efe2d8e0..525f4fe9a2 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -118,6 +118,8 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS $(if $(BR2_TARGET_ROOTFS_EXT2), $(call KCONFIG_ENABLE_OPT,CONFIG_EXT2_FS_XATTR) $(call KCONFIG_ENABLE_OPT,CONFIG_EXT2_FS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_EXT2_3), + $(call KCONFIG_ENABLE_OPT,CONFIG_EXT3_FS_SECURITY)) endef $(eval $(generic-package)) From patchwork Fri Jul 31 20:40:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1339594 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=jU9swTFI; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BJK1x24v3z9sRW for ; Sat, 1 Aug 2020 06:41:25 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 810EE86CB2; Fri, 31 Jul 2020 20:41:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bjg18deklkdg; Fri, 31 Jul 2020 20:41:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 59EEA86A5B; Fri, 31 Jul 2020 20:41:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 8208C1BF4DB for ; Fri, 31 Jul 2020 20:41:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7C76D88378 for ; Fri, 31 Jul 2020 20:41:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IjOImn7U6AZ9 for ; Fri, 31 Jul 2020 20:41:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by whitealder.osuosl.org (Postfix) with ESMTPS id D583888376 for ; Fri, 31 Jul 2020 20:41:10 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id z188so7182923pfc.6 for ; Fri, 31 Jul 2020 13:41:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iEaKBfKiRU71AwavTzei1cn4a1wW4vtlnlQo1+cAhh8=; b=jU9swTFIP18xziwNcMnjqZjLQJL1Y7UvcGOkycJGlWN76OY/+5B8hP5wjYigkQ6MGX s5yBtEODVmaSeLQ4zxe0g86Sy4TxFv/508bj/e7yog+oHc3vA2OBN3QlX7WYrjGSvLBz NnlqeQiWwR6wx6zq22x3iwY/sErJnKcwxF5nrQoYpmMxSN83NYpq269T55WXGfb/V61s XJ0nfe5GyrJDQODngahYgBOyHST5HBas6ZWhEdT/n0L84TPOyu85Duo3IpRCItHIDUSY quxmYPvpGSnIJlK/Xg2qR1f2BG+SLRo4WiXXyKk5MWxSX0P+lofL3EkrKk9H7oAHmvmQ 6sFw== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iEaKBfKiRU71AwavTzei1cn4a1wW4vtlnlQo1+cAhh8=; b=V7f1xk/hVzEGgCTR9ndpbhIFZeJobWHJ0qQJBNobpH4NFQE+5WROGCLJahjj5uZCys fC613mArKueOl5GhzU0bff9t4o0A9QHYwN52SJxpRPQwdALIyQhXlKwQh2FSyrL6xctM wQyRHThyRSSfHk0XHdwt4ZHEbOy/zi3mu5LjFNSbfngO/ru4fAEKDuaOwV4uEH97caSx /2oDEzjYWGY7fTsLDJYtrcRdf1bNhHnAR8uKGYpZlAJrC+UF0CYvGsQyFV+y4FdJroPK RCSQT4Vk4WWOAA7SDOL/Hfea7NVeFyO6BWanexODCpXkO3+udrWu7k+eODr7P626rdQ0 c6VA== X-Gm-Message-State: AOAM533vHw4Q/R5+4p4EyWLlRmhXOBrFcpBsPwqBBjzjcUvUt4PyfUAM REczWidsI6uCOGf6a0IgYLOblXcAC3Y= X-Google-Smtp-Source: ABdhPJw1231MN21EvkmzjmT+BBqhmSLTa9ha7aAx04yHr7sACQ7iDjOgdR0ewgReio+ckhsXGX9IYA== X-Received: by 2002:a62:e704:: with SMTP id s4mr5490318pfh.177.1596228070293; Fri, 31 Jul 2020 13:41:10 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id j20sm2899368pjy.51.2020.07.31.13.41.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 13:41:09 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Fri, 31 Jul 2020 13:40:56 -0700 Message-Id: <20200731204100.1171427-6-aduskett@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200731204100.1171427-1-aduskett@gmail.com> References: <20200731204100.1171427-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 5/9] package/libselinux: enable kernel selinux support for ext4 images X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber , Marcus Folkesson , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett If BR2_TARGET_ROOTFS_EXT2_4 is selected, enable the following kernel options: - CONFIG_EXT4_FS_SECURITY Signed-off-by: Adam Duskett --- package/libselinux/libselinux.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index 525f4fe9a2..44d9ec3657 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -120,6 +120,8 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_EXT2_FS_SECURITY)) $(if $(BR2_TARGET_ROOTFS_EXT2_3), $(call KCONFIG_ENABLE_OPT,CONFIG_EXT3_FS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_EXT2_4), + $(call KCONFIG_ENABLE_OPT,CONFIG_EXT4_FS_SECURITY)) endef $(eval $(generic-package)) From patchwork Fri Jul 31 20:40:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1339599 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Lagpdstx; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BJK235XPLz9sRW for ; Sat, 1 Aug 2020 06:41:31 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 42F6D88469; Fri, 31 Jul 2020 20:41:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 82g8RrHK643p; Fri, 31 Jul 2020 20:41:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 6EF6888334; Fri, 31 Jul 2020 20:41:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 473F91BF4DB for ; Fri, 31 Jul 2020 20:41:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 43B89887CA for ; Fri, 31 Jul 2020 20:41:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A61Mr27Uop-2 for ; Fri, 31 Jul 2020 20:41:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by hemlock.osuosl.org (Postfix) with ESMTPS id CDB65887BE for ; Fri, 31 Jul 2020 20:41:11 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id j20so15027734pfe.5 for ; Fri, 31 Jul 2020 13:41:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=17QrMoVE09JAxeu02wIAIvKCPBIUJG4gPvrolaHgaUI=; b=LagpdstxgNIuxmrdNLSNXJJfgU494qh+7ygRpTQpn7Iv/hvVUC+sgzqOZ4QzaJHoE5 Bcy/QDObW8MKy9zWMUI1N90VzIOEaR7xCMJ0mebIOVfvOnf8cE6txFxspiZhnOS3fn4b t/yU7lUf3W+m8CFbOC03nhbdVzHvLYESkXhMy9JnfpwJtZr0omzn/XFyZ4l4WwAFJ3tP xDu07WRwYii94LgniF7tZH6MwRzUQPFYls5DvX45DRAvQOxkg4PmZG0ZSp+BGQ5u2w0x Xik2Hah9KVSzS/aaFJwgVMWELlPAzgYCqbyDSejGvJZyi6fjwPJDXMSn/KxbR8UomdWJ gFwA== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=17QrMoVE09JAxeu02wIAIvKCPBIUJG4gPvrolaHgaUI=; b=Uy+6oD3T498nTKCmTrqhBziY9UQj+mRr1Zk9TjunyiSo+/GLKf1QEw6U+gVrlsZcdG PCJGKBKBpOooNns/rzcVUeC4edDloYbP48ePFIF9rHBaaou7FvFmU3b8WlJJZ2B4xg2c Cfn7d5zCfJlvS+4YvrwdoyhIadFDB831SXREHu55daRBpKHA9w0UcZ1xpwcMmFAgb2z9 OPtoDBD8VK2Y8AZQS0dywwAS8cacd+B2zvAQRjhax8sHxClk3E/TkserPfXqrx7MAa5b 5GvBKs9O2zQKcRbSNXa4VEAojE4os9zam3kZ3El3fE/cWePznE+1rlH6VlO6btcLxjDS Iu8g== X-Gm-Message-State: AOAM533nFLtKQo5GQm8Gh/PA6rPl2XbPriKQJeC/QUbG//9IYNEWZQjY dKvJ0sA8kfzPemMe4NYtr28xoV5szu0= X-Google-Smtp-Source: ABdhPJxQYs8wUuco+Mf3gPZDyWd3zUrpWbRmJHwsB0ENWLO7RzchDbmN1IrDrkZ54pICjkcoBwcpqg== X-Received: by 2002:aa7:8c09:: with SMTP id c9mr5346942pfd.157.1596228071187; Fri, 31 Jul 2020 13:41:11 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id j20sm2899368pjy.51.2020.07.31.13.41.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 13:41:10 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Fri, 31 Jul 2020 13:40:57 -0700 Message-Id: <20200731204100.1171427-7-aduskett@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200731204100.1171427-1-aduskett@gmail.com> References: <20200731204100.1171427-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 6/9] package/libselinux: enable kernel selinux support for f2fs images X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber , Marcus Folkesson , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett If BR2_TARGET_ROOTFS_F2FS is selected, enable the following kernel options: - CONFIG_F2FS_FS_XATTR - CONFIG_F2FS_FS_SECURITY Signed-off-by: Adam Duskett --- package/libselinux/libselinux.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index 44d9ec3657..c16dcdf1d0 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -122,6 +122,9 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_EXT3_FS_SECURITY)) $(if $(BR2_TARGET_ROOTFS_EXT2_4), $(call KCONFIG_ENABLE_OPT,CONFIG_EXT4_FS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_F2FS), + $(call KCONFIG_ENABLE_OPT,CONFIG_F2FS_FS_XATTR) + $(call KCONFIG_ENABLE_OPT,CONFIG_F2FS_FS_SECURITY)) endef $(eval $(generic-package)) From patchwork Fri Jul 31 20:40:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1339598 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=suzOfO7g; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BJK234Gq7z9sRX for ; Sat, 1 Aug 2020 06:41:31 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id AB6E5887BB; Fri, 31 Jul 2020 20:41:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SBmM77IoSgJW; Fri, 31 Jul 2020 20:41:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id B93DF887CA; Fri, 31 Jul 2020 20:41:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id CF90A1BF4DB for ; Fri, 31 Jul 2020 20:41:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CC10388378 for ; Fri, 31 Jul 2020 20:41:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HqjE96Ib9DOm for ; Fri, 31 Jul 2020 20:41:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pj1-f66.google.com (mail-pj1-f66.google.com [209.85.216.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id AB06688376 for ; Fri, 31 Jul 2020 20:41:12 +0000 (UTC) Received: by mail-pj1-f66.google.com with SMTP id c6so7946017pje.1 for ; Fri, 31 Jul 2020 13:41:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AYr43iF1f3H9ZZVOJSM7p2uevkE3WxPyX8FTiRhVQyM=; b=suzOfO7gaHd/9y+8Gp261vEGn1xaDUW1nMzhdBFnZNaDd/EowQbx2ewal/lMMTH1XJ k4ygxNTYFjUofWGUuafqiWA0ildtslbOpM8jLcepGHB8mUwJiO+An5u3RQiXCyaDYQSQ BJ8stJO7luWYvKiMu1Na1mVQNia+UQubkiRiqbgdGK64gLfBtByxeXGJRl0OoXRPjQjR T6bc5YgQx+54F+Y4MIrpuLn/vFzokriTA4YJO1jKnW5iX5YRRyUt5b9dNAjWw5UIX/fk TIee6yNFGN60qWfo7dMgphOO7lq0bDoezDSRRY5NtWYievKViwI2XL3AAt5qThydZvFS R3fQ== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AYr43iF1f3H9ZZVOJSM7p2uevkE3WxPyX8FTiRhVQyM=; b=r8IiRCgIaRTbDrCOZqaL7YHAdfJptsiQFlzKHiaIaGEVk1Gxp3gyjqzHkxT1xfS12i YGohFXSAVHf91R1vah7FnOXoFQgMbN7nslaR88YBf3izpQPdf49tEw/JWmQ7H/Fu2cdh dGdYfLIshmDZ4uAkvHOzqRDr66NBg3vkF54UkZFQPtAv7+cnL59iVdVyKnutTmb42ua+ ublQn1NfP439fcUcQrG1X1wk5cTX+kwPpy+1mXw2VGa4RKWIzRuiwcMZVSq+aGuOc4yU 2FbI7uiidvTrB1LM0wfrOA7sNuOKYL/gwrcwn1g1MGzO4m4TwZO7DgUa7hFfrNIG1gAx KQew== X-Gm-Message-State: AOAM531VFoI5y/VN3Nb9jxHU7aPQ9sz+e0e9ElI/iaStQnjofEUSV+4V xbnipCz+AWNr2Z9XXSQ+b1R8z+zFBrM= X-Google-Smtp-Source: ABdhPJxSmjY9sJ1o+0XemuR7/J05e5t4s+4C+4PeMp1GCMIsJwGNHSfUYMG5pbRLB7xYvsoGRk1VFQ== X-Received: by 2002:a17:90b:4d0b:: with SMTP id mw11mr5741934pjb.4.1596228072108; Fri, 31 Jul 2020 13:41:12 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id j20sm2899368pjy.51.2020.07.31.13.41.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 13:41:11 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Fri, 31 Jul 2020 13:40:58 -0700 Message-Id: <20200731204100.1171427-8-aduskett@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200731204100.1171427-1-aduskett@gmail.com> References: <20200731204100.1171427-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 7/9] package/libselinux: enable kernel selinux support for jffs2 images X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber , Marcus Folkesson , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett If BR2_TARGET_ROOTFS_JFFS2 is selected, enable the following kernel options: - CONFIG_JFS_SECURITY Signed-off-by: Adam Duskett --- package/libselinux/libselinux.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index c16dcdf1d0..3dee922214 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -125,6 +125,8 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS $(if $(BR2_TARGET_ROOTFS_F2FS), $(call KCONFIG_ENABLE_OPT,CONFIG_F2FS_FS_XATTR) $(call KCONFIG_ENABLE_OPT,CONFIG_F2FS_FS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_JFFS2), + $(call KCONFIG_ENABLE_OPT,CONFIG_JFS_SECURITY)) endef $(eval $(generic-package)) From patchwork Fri Jul 31 20:40:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1339600 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=LEmiWB4Q; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BJK273HqXz9sRW for ; Sat, 1 Aug 2020 06:41:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B5B8A86D17; Fri, 31 Jul 2020 20:41:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4VEm2H1L81mN; Fri, 31 Jul 2020 20:41:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id D33D4869C9; Fri, 31 Jul 2020 20:41:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 9938A1BF4DB for ; Fri, 31 Jul 2020 20:41:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7689121513 for ; Fri, 31 Jul 2020 20:41:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AJbiSGLIIUy3 for ; Fri, 31 Jul 2020 20:41:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by silver.osuosl.org (Postfix) with ESMTPS id A2DE920534 for ; Fri, 31 Jul 2020 20:41:13 +0000 (UTC) Received: by mail-pl1-f194.google.com with SMTP id w19so4981659plq.3 for ; Fri, 31 Jul 2020 13:41:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Wgy/pvd8K5RCzf2sJBw7AWAy5+YHKoWEy4imPomku8c=; b=LEmiWB4QwHd5/qL4ej//+BpLLw1RaXw9bOX9SltqgOst6ezZK+fQckGRx2BaAt41FW Jck2MEtqG/gQdJJ3fq7JUMty+xv34nHTgjbtODz5h41oDk/ytERZTeGlZlBWyuiDsrzz uiRu//U8PCJ0CefxSMh0z9HSMSXqoJl8WTIhGENe+kyQdqILN3soeIuyOYN2HyRbr2Js yDmJiW7n6DhwHssUt3VtYHVOHItapQ/kSvTlvOozi5BMFT5Q7qnzY7CQaeEqc8Sop7sc pPvdD8O2d3O7SzZMmwM5472/2RIVE/ocyujckkxp9NLLZTM/5sdrG+j0DA22yTqUTTBt z73A== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Wgy/pvd8K5RCzf2sJBw7AWAy5+YHKoWEy4imPomku8c=; b=qQKhkAoxvMwSzFf4sjdS1rBA6iCtuOTp/VONlt8VS7fZMJj95ksiUpzEdvkfalndgc hRkxzYoJDICOymVLSMNVtceyercsDdal6j478/Og0wVM6gluztwhsKXxSF0Qf/7xSGqa x1wY6pzKcujN6PwZ+113RH6tloA3aV4xNIIt7KWQ7jaPAr2EzfXgn+0ysh2nmkfDZZwn ikKj+SsbEmKGv4TdoU550hCWWM74KoBytgUD02rS3mpNWHuOqwYLbsQgCAnj+KYnytoZ +p6WaseeoARD3R0wkJdrOO6L1gQuxGFgOR1xdPWO5FxmBBnfQTe1ozvpiAO61Lnw/vQF WBJA== X-Gm-Message-State: AOAM531qBuOlxgnSkpXszsYYgTHZL0bJw+J6RDaNw6wFHEKuBqPbKiOG JcrgWxAOPxr234AbBdAdnsaq3lfEkUs= X-Google-Smtp-Source: ABdhPJyvfKEk+ZKQQb9b03TebIUw/Wt2/NEXzygbJr23tqtNyjALadkBL6RMBKr2fLrMQB7JLRWR+w== X-Received: by 2002:a17:902:d90e:: with SMTP id c14mr5034597plz.37.1596228073007; Fri, 31 Jul 2020 13:41:13 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id j20sm2899368pjy.51.2020.07.31.13.41.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 13:41:12 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Fri, 31 Jul 2020 13:40:59 -0700 Message-Id: <20200731204100.1171427-9-aduskett@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200731204100.1171427-1-aduskett@gmail.com> References: <20200731204100.1171427-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 8/9] package/libselinux: enable kernel selinux support for squashfs images X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber , Marcus Folkesson , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett If BR2_TARGET_ROOTFS_SQUASHFS is selected, enable the following kernel options: - CONFIG_SQUASHFS_XATTR Signed-off-by: Adam Duskett --- package/libselinux/libselinux.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index 3dee922214..f2c2922122 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -127,6 +127,8 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_F2FS_FS_SECURITY)) $(if $(BR2_TARGET_ROOTFS_JFFS2), $(call KCONFIG_ENABLE_OPT,CONFIG_JFS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_SQUASHFS), + $(call KCONFIG_ENABLE_OPT,CONFIG_SQUASHFS_XATTR)) endef $(eval $(generic-package)) From patchwork Fri Jul 31 20:41:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1339597 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=EhayEF/5; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BJK224Q8Dz9sRW for ; Sat, 1 Aug 2020 06:41:30 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A2CCD207A8; Fri, 31 Jul 2020 20:41:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TW+nUSxq-ih1; Fri, 31 Jul 2020 20:41:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E7C2D2156B; Fri, 31 Jul 2020 20:41:26 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id D95A81BF4DB for ; Fri, 31 Jul 2020 20:41:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D5D9E887CA for ; Fri, 31 Jul 2020 20:41:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ls1btV+HUubY for ; Fri, 31 Jul 2020 20:41:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id 77E43887BE for ; Fri, 31 Jul 2020 20:41:14 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id t6so16639948pgq.1 for ; Fri, 31 Jul 2020 13:41:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+dqDRh+HD5ifWkvRE2W4JwLfe69oSq0dRw64tQNTEic=; b=EhayEF/5pnXKAVet32vnLRFUaZaRx1YEmllwpS7xkHSMhyG4N7Mro8NXrHEcU9G74i WhDaEnBh6pAG6HluW/mAvoSygDQACR/UdEcQwvweZUKeW5zkdAHDe2NwrdeQteUGLjME UJ/TU2qJrRFnChENq06h0YIuhZEm1vPBudyZObgw9CWtlKWIr8g+sqzvsejUe8uxLvm7 UMGB/x0qjAsznpYMiEqu+nMUdJNUml9EEiAbYB6JCCzIz1t4EUyczSY0J1npNQERbucX 7VXeI5Vl9W1avTc8yXa8590x0cQxQNULsqtXgL63plQhOtgFqdHGAFIK/Drdw7rmrJ1I NMOA== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+dqDRh+HD5ifWkvRE2W4JwLfe69oSq0dRw64tQNTEic=; b=FjoSdEVo2cXZnIKgfXJrsFdJ2e/wamcAPQdYJ6n9K2NiYZNWxnH9vz7kb5Sya299R7 eBGY1r8HKwU4L7IGkG4rPoopZ+K+7RBiQOiFOOl1gYaWjaR8n85Ds8brYJtjoJTqSbHU LBSz/tiM8BObzN72UMv3epldMWZ1F4GEEU9AHR3Wh6EKUATnl2OBo19VADEjDRSZohnU qJD6csBCJ4iLHKxOGkHdSq+MuFsXH8QhH3m5++z/tIOx1JOhNlW9d8TUozf8VaUFmqrm iMHIIvoxTQR80dQ9fCx8wMZQ/dnlpJOmGNfGXVIHEFer7QBfvYh489GH8FBTgwjftLmf hYBQ== X-Gm-Message-State: AOAM533unS7AUTJdC1ZAj7tUeH8wW/H1iFLz+g/jL8kja7921VCJ4v2b S2QfJzoTNSBiDSI/WvhCWZhoCI0ad00= X-Google-Smtp-Source: ABdhPJzpGhviT42AF3DdGOCx7oYBsFFUeYMzDKwVLoc8cLApBhZ6f0BCiFQ3esO9sLLbG+q80tCLAQ== X-Received: by 2002:a62:6305:: with SMTP id x5mr5241440pfb.81.1596228073906; Fri, 31 Jul 2020 13:41:13 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id j20sm2899368pjy.51.2020.07.31.13.41.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 13:41:13 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Fri, 31 Jul 2020 13:41:00 -0700 Message-Id: <20200731204100.1171427-10-aduskett@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200731204100.1171427-1-aduskett@gmail.com> References: <20200731204100.1171427-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 9/9] package/libselinux: enable kernel selinux support for ubifs images X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber , Marcus Folkesson , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett If BR2_TARGET_ROOTFS_UBIFS is selected, enable the following kernel options: - CONFIG_UBIFS_FS_XATTR - CONFIG_UBIFS_FS_SECURITY Signed-off-by: Adam Duskett --- package/libselinux/libselinux.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index f2c2922122..c96b5a4431 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -129,6 +129,9 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_JFS_SECURITY)) $(if $(BR2_TARGET_ROOTFS_SQUASHFS), $(call KCONFIG_ENABLE_OPT,CONFIG_SQUASHFS_XATTR)) + $(if $(BR2_TARGET_ROOTFS_UBIFS), + $(call KCONFIG_ENABLE_OPT,CONFIG_UBIFS_FS_XATTR) + $(call KCONFIG_ENABLE_OPT,CONFIG_UBIFS_FS_SECURITY)) endef $(eval $(generic-package))