Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4084089rwb; Mon, 31 Jul 2023 00:32:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlHkVmVmgX8iuLySlg0TqTOChnvruMIZrWbEA1cmszry4ir6wB4KmANy3k+ePCX2Gn5e5+yk X-Received: by 2002:a05:6a00:3925:b0:678:5d3c:33e8 with SMTP id fh37-20020a056a00392500b006785d3c33e8mr9767721pfb.18.1690788768012; Mon, 31 Jul 2023 00:32:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690788767; cv=none; d=google.com; s=arc-20160816; b=g6SAYG6J6b0a7E17u7f6K5WTucCOBM1xYLr7sMO6RBPPxz6qfuY5+C+E5sC766Rb1Z wJLJzbMsCj5TJ20t4bhEBlMHF/SB8p9p6tbdxE0kw5ihgYbU7k0B/tAFq4/O1dnVdUFP cBiH2onFFG9ug+nb8jETeYu/yQLgyJ5Keg65Lk4buIBicY9NAY4J9tViCFlCsyhMRJ+S QmX+J25UQ/trQAGlbcIihC2eVGB7TEbX9CYwCUjwY1+w0SmfLZl1XQdEZ/6+CMB1nS4J QgIXnLeU5daxzynB4yhtyzyDMznJOsPqwEPm/xeabLnFB2GVcouQbtVa2VXaZW659jLD A/6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=CrTsz8QawI4NoHoGnNEcszB2yjFUPV7z0R4z7qGc2Tg=; fh=pZguIwiEIhtlI2sw6xVNIryTcSjiNyU9ojF6FCuRlqk=; b=LDx0zBTf4c3uszFUmQpQG+3UoaCkCiMS1RddrjihBJqfUBI4kYgTvYVn3u0RtkAjyp 6CdEcEN/okG1/tiBpLMWsdia3VekQoIHBG7kHU5tZc/VxypZ++tb2bmFh6wrjL/odvou itsGNUeUxvoaXcOfKh/xbnwg1WF82EGlNkWRqDv+bchjQqC/9wKeZfdt4vxtmRT82iBa MtU3ZeERyhTAm0IKPcGUWxRUS2hJxnoOW9+kvmF/PMktqJMjM74/stRQBxCTVGymu6xX XvANaOOjp0pLPat7/g6qce7ZLxDBwyL2xg3NURA3ucPYN0CRRVZebP+4fKVynvVnAJX/ 2hsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="cMmkR/Nw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b16-20020a056a000cd000b0066957b1c0a0si2901602pfv.288.2023.07.31.00.32.36; Mon, 31 Jul 2023 00:32:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="cMmkR/Nw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231215AbjGaHKK (ORCPT + 99 others); Mon, 31 Jul 2023 03:10:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231139AbjGaHJv (ORCPT ); Mon, 31 Jul 2023 03:09:51 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8893630F6; Mon, 31 Jul 2023 00:08:18 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3fb4146e8fcso28260395e9.0; Mon, 31 Jul 2023 00:08:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690787265; x=1691392065; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=CrTsz8QawI4NoHoGnNEcszB2yjFUPV7z0R4z7qGc2Tg=; b=cMmkR/Nw8pe8AaKpbaRL9SRljMNQBv8XEvvy+xwdGDc8CoC16Gq1t8q9XujyqUD/ZV CUgid/Kb7nQkFFOoxbmNtkMficwKnJFW84MToIfcNr4PKT+chcVnL2hcP4DGV+QgLFwB 8LjSwkGKTQ4OAfxSKEQ34VPvLWjkx8jycS70ciiudM8pbgACJuS2d0t0Kral8K9qcYLV pXeoexF57S6kZAKrr6mCo8zX2mAx/9NLP5iKEBfZqEoRHC5+ZUmeWPoFPkHX6Q7GVK2G l93oNndBLwckSonT2e3EDf/TfD3b4rCDyKAseHe3FD3gqJecPNGzhDsKXcrTSwBgDPIg cw3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690787265; x=1691392065; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CrTsz8QawI4NoHoGnNEcszB2yjFUPV7z0R4z7qGc2Tg=; b=jZuapdHVeUeUQxoUH6yusp62cAZtbbr9j685rE7yZ6ZpOywHZWoM/mWkt7uHmxKpni NIifse6HZ3coT2hDCIHhGgfd/XUSqHsgzPiLYM46bv5jqMceEnEafznQ29/YuqAhQhNj JX7ILHUCsLU2wrDRWqYPYpddxgnSp1jhnAyo2VgTLxi0+PaIm1jFPlG6ifDLtv3dlHNO +TD3AhBt9YO79pmZSa8Mojm7U8AzniAJ0H0Cr/o14hzdOU6bqf6G5N5SBzW9SfoxkRdz YrVzQZJ/k6Y/q8zj0mEx8Zyc7hAt1SgJomRmvQmg8XGB3ldr4cg/bBvXyZVBUyXA1lAD NdlA== X-Gm-Message-State: ABy/qLZlxQt+cWgCTe2yFIcvjjb9dpoYGIc05A3/ai5F5pTDmv8gM2MQ +Ug8twcvFaw9PCUVpX76+04= X-Received: by 2002:a7b:c44a:0:b0:3fb:c060:9698 with SMTP id l10-20020a7bc44a000000b003fbc0609698mr8041465wmi.5.1690787265337; Mon, 31 Jul 2023 00:07:45 -0700 (PDT) Received: from khadija-virtual-machine.localdomain ([39.41.65.235]) by smtp.gmail.com with ESMTPSA id l10-20020a05600c1d0a00b003fd2d3462fcsm15114098wms.1.2023.07.31.00.07.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 00:07:44 -0700 (PDT) From: Khadija Kamran To: paul@paul-moore.com, stephen.smalley.work@gmail.com, eparis@parisplace.org, selinux@vger.kernel.org, linux-kernel@vger.kernel.org, jmorris@namei.org, serge@hallyn.com, linux-security-module@vger.kernel.org, apparmor@lists.ubuntu.com, john.johansen@canonical.com, alison.schofield@intel.com, ztarkhani@microsoft.com Cc: Khadija Kamran Subject: [PATCH 0/2] lsm: change security_capget LSM hook Date: Mon, 31 Jul 2023 12:07:30 +0500 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change security_capget LSM hook's target parameter to constant and split cap_capget decalration line to multiple lines. Khadija Kamran (2): lsm: change 'target' parameter to 'const' in security_capget LSM hook lsm: split cap_capget() declaration to multiple lines include/linux/lsm_hook_defs.h | 2 +- include/linux/security.h | 7 ++++--- kernel/capability.c | 2 +- security/apparmor/lsm.c | 2 +- security/commoncap.c | 2 +- security/security.c | 2 +- security/selinux/hooks.c | 2 +- 7 files changed, 10 insertions(+), 9 deletions(-) -- 2.34.1