Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp307153imj; Thu, 7 Feb 2019 04:46:08 -0800 (PST) X-Google-Smtp-Source: AHgI3IZckd5kpS5OKtZGzvVRpddXp73vAO2OEwXVYW27XgoHByHPR73Det8GO10zGEEKTHN0gHUQ X-Received: by 2002:a17:902:9a98:: with SMTP id w24mr16248407plp.213.1549543568042; Thu, 07 Feb 2019 04:46:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549543568; cv=none; d=google.com; s=arc-20160816; b=I/OLF/KsqkuhmwWCP+sRWGx4nln6wxardkqOp6rWps+VNHKFkN4gvCjRNmkqJil7CS I0zH7ydlHuJU6ayxCqZOMxpL4NiNz8gB0iWQ9UQJHsU1RD45bsC/erQs/kyRGUceXZLy hz/Sd6qMEoePm0NGy3W/I4v98htU/m7O5sKXd2aR94AcYoqxDeln/QD/4gvdI2tZjolU ChtGZUn+qHxvCaNykrXCmaNNzoYJE1EQVR//qSHdCcLqEXq1wYU6ORjt4YFCYBecNbMd 55ZM4uA+L4aE3LLAM62HYgJHYUJXlrK6h7cH+CXSa7CylU0jhVLITEXi0pAbPohQKj+M OXXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from; bh=ztVR9Xc6HbMi9glwe7sqtnsrqZThbxA9xeOu4CJ85cs=; b=F8+cGPiQurUhuiB7wSfWpbO8oUG44GsaB3S1t9gHR1wkLT0r0AGmrTWDGeslFgOEEt ia/wc1icc31LirMq2fSrVBnU+tAtnt4NVgDIOGBEFVZSdfpVXsvDMj8pUGptNwwoIFem TSoSzfp2CMrY4dGlg2DmWfXqRYhAIhk1KleSK/n/ObYzeUHcPBcKqOHLgX8l14+x9B/V 3FvmtykRICHGYahP60KG3oic0uY93U5wSNbcwcg7ykSrz6qVyn4gIFiviqpc419OOfei XuETh+/98Tekmj8SKmzvt3tExcL41Viag2btSb+/EVCahmdZ8h3J+iC4KyTQMPhkv7vY ALxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16si9124895pll.306.2019.02.07.04.45.51; Thu, 07 Feb 2019 04:46:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727237AbfBGMp2 (ORCPT + 99 others); Thu, 7 Feb 2019 07:45:28 -0500 Received: from mail.ispras.ru ([83.149.199.45]:60632 "EHLO mail.ispras.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726769AbfBGMp0 (ORCPT ); Thu, 7 Feb 2019 07:45:26 -0500 Received: from green.intra.ispras.ru (pluton2.ispras.ru [83.149.199.44]) by mail.ispras.ru (Postfix) with ESMTPSA id 7DA575400AA; Thu, 7 Feb 2019 15:45:24 +0300 (MSK) From: Denis Efremov To: KOSAKI Motohiro Cc: Denis Efremov , Casey Schaufler , "Eric W. Biederman" , Eric Paris , Kees Cook , John Johansen , James Morris , "Serge E. Hallyn" , Paul Moore , Kentaro Takeda , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/10] security: fix documentation for the task_setscheduler hook Date: Thu, 7 Feb 2019 15:44:52 +0300 Message-Id: X-Mailer: git-send-email 2.17.2 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The task_setscheduler hook was changed in the commit "security: remove unused parameter from security_task_setscheduler()" (b0ae19811375). The arguments @policy, @lp were removed from the hook. This patch updates the documentation accordingly. Signed-off-by: Denis Efremov --- include/linux/lsm_hooks.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index 80e5f3421b91..09223911876e 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -655,10 +655,8 @@ * Return 0 if permission is granted. * @task_setscheduler: * Check permission before setting scheduling policy and/or parameters of - * process @p based on @policy and @lp. + * process @p. * @p contains the task_struct for process. - * @policy contains the scheduling policy. - * @lp contains the scheduling parameters. * Return 0 if permission is granted. * @task_getscheduler: * Check permission before obtaining scheduling information for process -- 2.17.2