From patchwork Fri Mar 15 12:54:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Christian_G=C3=B6ttsche?= X-Patchwork-Id: 13593413 X-Patchwork-Delegate: paul@paul-moore.com Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1B5F24B26; Fri, 15 Mar 2024 12:54:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710507267; cv=none; b=YGhMn57Rn4SQYXQNVtDyq+57hPmIJMhH51zz945yBHY2sB5g8oG+65OoQNfxP0+ASLUi5xBFcOmOCfaunXC3r5g50TdOSVy8oGRM0MPXnXBTbv71NHkHbOZOYaupbkoVRDnU6Omi6f80f7UIS+tLtRdqeafh8QPohwLDLAr3LP0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710507267; c=relaxed/simple; bh=E4oIpGUjcQSTl3JXS+C6RTIuU3+bX3dPPhcam3xldJw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=UVbJkMgEkkGfJQCfOeQ+FKhuxGLFEDDTqA1PfytWr6dGuTWtH3O/WzpamVtQJVhlAgXK3+e9bqYp4hnkQi89jY/bCyjHT3jaAIeFH7K5bBuT1t3lHAhmDYDwvPZvYQNtno4WRhxgtOHoxRU4GsbBeYMksBUzn9cQey6OMsfL8kk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com; spf=pass smtp.mailfrom=googlemail.com; dkim=pass (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b=KCmSqt4G; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=googlemail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b="KCmSqt4G" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-512f892500cso2335411e87.3; Fri, 15 Mar 2024 05:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1710507264; x=1711112064; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MuxIbiM+wW54yLy6pCcfPUZ6XhpT22cxtXLZoX6Fib0=; b=KCmSqt4GwEN4HF7hVM+gVJRr0R1dU68e5PYqe/moC9xY/FJ8RKA67W332tcB4wLX4M WDcf3iheQ6Xi08nGoELdt3TlJvP4oz/odEARt13Lp8Y0m6MQysPakR3APLgYF4iDeH46 Dec9cbHe5oYmLFIcvuCmMlRLrpl2SatDOGRLV/9z2c1qg/X5IOSEMn0JUaubbtgy5iaE E/7snpEmprE6ST/xD472MZErUBp4TVG110BcX+g1uEfGP+ARxsKZtFOYrMWUUISv4m7n gx74Dd6crtBU3s0JchQq5q4tyHlvk7ixEPrMbFLu6UAopqSiG42HGm6HFKCelXBhhw+w hsxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710507264; x=1711112064; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MuxIbiM+wW54yLy6pCcfPUZ6XhpT22cxtXLZoX6Fib0=; b=pzKKwA2tsQHauZPdn0SVHgb8ErzgkFpK1gWv1598X90CXSKSEkpvXqPEHdwEZhRz9T iIPw3WdxJBjASHbv0bCiDGAf5j1nJK+lPwFgsUqghlEzZtKCSee7GE0EM9+XagtGhhcH eRlRToE+9p6tXF1oHBN6hLAQPBt4afpJPzveyZQFtSsJOhy+UkjyJSqYKx2K9rSxaecP isn6062py6wkuS1/ZqHEB6FT/BuxODTpR4H6zBoaQ6gagqwCEtfl3oNHnZH8tDjZd06t LGKljsImivWMP3VrV/VlGZ1I/Fr7v0tF8rsEcNKsCa0R3IYPMSfrtfDeeUzFoctUYbv6 EBHA== X-Forwarded-Encrypted: i=1; AJvYcCWvgfrRHqVwb7mNnRvlsSM/DXpBi9hLy1hhluYj4YlUGzgVuDmWE5wyHhxStTyUEy74jzcPRLg+scrP3so7u1x7ltWnpuWh665cg4Y1 X-Gm-Message-State: AOJu0YwwtkntOhcdN0sEZpSwUhXXIeNGhMyadgRgpm4/4QRkShAo1e5z 5XKhL9gTnqZZDzquxwE7XMtpC4le/lZhA46Vu+kPWLzHsxLcH//3rTJtbdeJwkbkhQ== X-Google-Smtp-Source: AGHT+IEipLGp08bHsPqaYMLKMTmQa7twuXnXbiBCI11NzLPgQFcMvL99rM4y7LCVzfirSdXt0hWWMQ== X-Received: by 2002:ac2:5b11:0:b0:513:d030:f313 with SMTP id v17-20020ac25b11000000b00513d030f313mr2548364lfn.32.1710507263882; Fri, 15 Mar 2024 05:54:23 -0700 (PDT) Received: from ddev.DebianHome (dynamic-095-119-217-226.95.119.pool.telefonica.de. [95.119.217.226]) by smtp.gmail.com with ESMTPSA id r13-20020a170906364d00b00a465f8259c3sm1672917ejb.125.2024.03.15.05.54.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 05:54:23 -0700 (PDT) From: =?utf-8?q?Christian_G=C3=B6ttsche?= To: linux-security-module@vger.kernel.org Cc: Kees Cook , Paul Moore , James Morris , "Serge E. Hallyn" , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] yama: document function parameter Date: Fri, 15 Mar 2024 13:54:10 +0100 Message-ID: <20240315125418.273104-2-cgzones@googlemail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240315125418.273104-1-cgzones@googlemail.com> References: <20240315125418.273104-1-cgzones@googlemail.com> Precedence: bulk X-Mailing-List: linux-security-module@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Document the unused function parameter of yama_relation_cleanup() to please kernel doc warnings. Signed-off-by: Christian Göttsche Reviewed-by: Reviewed-by: Paul Moore Reviewed-by: Kees Cook --- security/yama/yama_lsm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/security/yama/yama_lsm.c b/security/yama/yama_lsm.c index 49dc52b454ef..f8e4acd41b72 100644 --- a/security/yama/yama_lsm.c +++ b/security/yama/yama_lsm.c @@ -111,6 +111,7 @@ static void report_access(const char *access, struct task_struct *target, /** * yama_relation_cleanup - remove invalid entries from the relation list + * @work: unused * */ static void yama_relation_cleanup(struct work_struct *work) From patchwork Fri Mar 15 12:54:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Christian_G=C3=B6ttsche?= X-Patchwork-Id: 13593412 Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CFDFD24A13; Fri, 15 Mar 2024 12:54:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710507266; cv=none; b=E27Z2h+f+OHcjjou4fAAFaycPzhBGB1FahTGibdy8ZPIO6pnK1kRjvcaj7vOCLV0uz7NkQxHtOctxFF/+U6A5zBngmXskcoazjJuB92YTuXGCzRATbzUp1dsV1cdiAoLrXO6j79qm9xTeQtVDZ5+6/yTHNR9tyBbCbex+//732Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710507266; c=relaxed/simple; bh=FnevSE25K+MKKrigHJPozDtqVSkqIjWmYikPIzkANFY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=RUWyafnTt5SlS6FpReQPvFYr/c8rOcuSKSm/RQVtL7bGZuIvidqsTGWC8xj9zdR9DwwmzEInxImsIUYZYFOPjlv1BGqAyDWDlvA43kEFYj1Uj/n1UBYLqCXw56cSA6yOIGyATlMYEWc4ZRKeKhJyNWuTt53P1mgyoZiE9U5+zdI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com; spf=pass smtp.mailfrom=googlemail.com; dkim=pass (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b=Vx1gDAXR; arc=none smtp.client-ip=209.85.218.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=googlemail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b="Vx1gDAXR" Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a3ddc13bbb3so577114966b.0; Fri, 15 Mar 2024 05:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1710507263; x=1711112063; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=t6FSfZ+VsCTUq+zlGRu8P79wzSbxHSd+irhIrHIaxrM=; b=Vx1gDAXReZqsNcOghdOMUN0OJS8IHRRR8ATY/6p1HPV6DrhK51LjXB5WokF0EPXwYm LbnDjAFcURlajw4x3HjLZ0K7GnZPG1+CXUBgf3Yy9wuAaLqALUpximyJxRsRul5zAGr5 j6wmEEchEum2SKky/g8uPIu5YGSf4IbwfOkUAVAvAegK3muiLBrhva42mQcU4IT8H/Yf 44WpeEmdWSzxFnctNd55dkWQUzRtIbJEtehu8wmzvtJ97jw2JgcvnEwP6hYmL4ER9Nu6 CwR9hXpZNa1Z8vMphPZPTfksFmFokZYp+MbLwc81VuGh4aYxJvItD6mZuNhp7vCVpw1j K+xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710507263; x=1711112063; 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=t6FSfZ+VsCTUq+zlGRu8P79wzSbxHSd+irhIrHIaxrM=; b=UyDBAeNBGMOuEdYLQ4QUSRTpE+wB61Nups/S1kd9n8jEaXCXY+lrQU3OlZJSSvSXS/ zPgn8whmcJG+ecoP2CM2f121rimOhocCxSy1sl63nVxrZP9CEXjVfBkfINwByYd57zBs gsQYEweHyi6xwALQgwcjiTcBjgX2wzwumoNr67X6Y1slIhJlhlZIzk7lTr3W5hpodDgU 0efbIGINBNh4rD8w1BbHirkUR9Vo3akgMDq9giGaD/+B5yajODRiA92rTXThOsfkYh09 00CAeJi+4vC92WKaFzbDi6dXt20/XPmYc25AcDbu2G046M7MadVPkTOdWyyXfnvzS6Xu pJzg== X-Forwarded-Encrypted: i=1; AJvYcCUym4N5bHfQR17xQz0PIWpf709asDN+2ag/VISZjvqLrAv/7c6IhoFV1FKglrhqRDeyvJkNkDfN9w+AonQ5nEZox07sh74f1xvOYNbv X-Gm-Message-State: AOJu0Yz0MIAfMMiWmP0UZd2lLELDa/a13hrQaORnQgmZ/ijIRTaG68NQ v948uoQRPWLWYtn4TyTAHCGxjihChcQcWiMjHDmUQclsRtTzvw+vBPZ74UgwdqdVxA== X-Google-Smtp-Source: AGHT+IHLRROaqTtOPnbqNrdD84gNMSEFoBbFw3BbdR7qHeWh0+DXv+nUg6CQdXnF0OOXKqTcLD6rtw== X-Received: by 2002:a17:906:4fcb:b0:a44:b96:2809 with SMTP id i11-20020a1709064fcb00b00a440b962809mr9735163ejw.24.1710507263026; Fri, 15 Mar 2024 05:54:23 -0700 (PDT) Received: from ddev.DebianHome (dynamic-095-119-217-226.95.119.pool.telefonica.de. [95.119.217.226]) by smtp.gmail.com with ESMTPSA id r13-20020a170906364d00b00a465f8259c3sm1672917ejb.125.2024.03.15.05.54.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 05:54:22 -0700 (PDT) From: =?utf-8?q?Christian_G=C3=B6ttsche?= To: linux-security-module@vger.kernel.org Cc: John Johansen , Paul Moore , James Morris , "Serge E. Hallyn" , Kees Cook , apparmor@lists.ubuntu.com, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] apparmor: fix typo in kernel doc Date: Fri, 15 Mar 2024 13:54:09 +0100 Message-ID: <20240315125418.273104-1-cgzones@googlemail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-security-module@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Fix the typo in the function documentation to please kernel doc warnings. Signed-off-by: Christian Göttsche Reviewed-by: Kees Cook Acked-by: John Johansen --- security/apparmor/lsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c index cef8c466af80..d0485fb0ed63 100644 --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c @@ -1124,7 +1124,7 @@ static int apparmor_socket_create(int family, int type, int protocol, int kern) * @sock: socket that is being setup * @family: family of socket being created * @type: type of the socket - * @ptotocol: protocol of the socket + * @protocol: protocol of the socket * @kern: socket is a special kernel socket * * Note: