From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 From: mcpain@altlinux.org To: devel-kernel@lists.altlinux.org Date: Thu, 20 Feb 2025 10:58:58 +0300 Message-ID: X-Mailer: git-send-email 2.42.4 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [d-kernel] [PATCH 1/1] kiosk: MIN_UID 500 -> 1000 X-BeenThere: devel-kernel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux kernel packages development List-Id: ALT Linux kernel packages development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Feb 2025 07:59:11 -0000 Archived-At: List-Archive: List-Post: From: Oleg Solovyov --- security/kiosk/kiosk_lsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/kiosk/kiosk_lsm.c b/security/kiosk/kiosk_lsm.c index 3cd4972086a4..18f810a1ce0f 100644 --- a/security/kiosk/kiosk_lsm.c +++ b/security/kiosk/kiosk_lsm.c @@ -282,7 +282,7 @@ static int kiosk_bprm_check_security(struct linux_binprm *bprm) if (kiosk_mode == KIOSK_PERMISSIVE) return 0; - if (cur_uid >= 500) { + if (cur_uid >= 1000) { bprm->secureexec = 1; if (bprm->executable != bprm->interpreter) return 0; -- 2.42.4