Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp1029862img; Tue, 26 Feb 2019 12:51:49 -0800 (PST) X-Google-Smtp-Source: AHgI3IbVIhNeYfzPqaTLJn+dRTHI7zUbah4BurHyd/dbkNZo9xH+2tznTEdT16Mj6KuTvFrnXeCm X-Received: by 2002:a17:902:c81:: with SMTP id 1mr6024816plt.155.1551214309164; Tue, 26 Feb 2019 12:51:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551214309; cv=none; d=google.com; s=arc-20160816; b=cGdIKKIF1E4ObCPWUoH17Sg3oCS2CJdS+jFvAETqdHASdhalr+I1x5LLUYq0k/3Mkj 0KsLcheuxtMnDUDOBwQaVMO8aiCaeZUXHlL80x590CNwvevN8xx+X3aTjGR9wVdqlaeD +UOOaLQ4gV/vGjzTotoAOmp2K9t5G+c9j87vCQL9NztW5gmYdbaoMOsbX4WwV8M/nzhV vG2Rx21WGHr8pf1JrMLteOot9I8dTZEfISC8s6rQOTXPcJA10S0B68U34KX+ayenxIE5 XET9ofrGeq3/A0yV9lHh75Q0aQrN4LkPefLjjf4dfHqFbldfNuchix45eHD1/lPWzRen rAGQ== 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=UutNt39q6r9i7W0BngNyaNRI5ZIgP4bUGZgJBEr4Hs4=; b=p+JVholZ+p5g5gXaKk/SDSRkwlf5ydRmVXf9DQR+cWF5z5v3H6p9w2mFoy6bbtsKAQ Y4zM2T3iPE+FcMiZpqU7VZ2+xzo1T9aDgSUq8Yar2a8Wwh7EtYcVehbyNqH5XwehLmHX fZmEDnsuGdVvDi/UKdgwUOOCqZskmoM11OxeyhAwYpSx/23aZ/PH8gJPJMsdnvaFpYif +KZy+cHSLb/ft183hYxIbo7a2wDGLM/Nj18NeaaPkeh95zKl6u2qzNoBNrQC/kyU3WRC qHzu/+BHjvZu1hkW5E789v+L0dxHTxJ74RMZ8yVg9sjhmFj3ebXaaES08/UZAM5Xhi+v HaAA== 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 e67si14122616pfh.212.2019.02.26.12.51.34; Tue, 26 Feb 2019 12:51:49 -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 S1729227AbfBZUuy (ORCPT + 99 others); Tue, 26 Feb 2019 15:50:54 -0500 Received: from mail.ispras.ru ([83.149.199.45]:45316 "EHLO mail.ispras.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727823AbfBZUux (ORCPT ); Tue, 26 Feb 2019 15:50:53 -0500 Received: from green.intra.ispras.ru (pluton2.ispras.ru [83.149.199.44]) by mail.ispras.ru (Postfix) with ESMTPSA id C9BC55400C3; Tue, 26 Feb 2019 23:50:51 +0300 (MSK) From: Denis Efremov To: Kees Cook Cc: Denis Efremov , Casey Schaufler , "Eric W. Biederman" , Eric Paris , John Johansen , James Morris , "Serge E. Hallyn" , Paul Moore , Kentaro Takeda , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 04/11] LSM: fix documentation for the task_setscheduler hook Date: Tue, 26 Feb 2019 23:49:05 +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 90bbc11fdc13..603659fb795a 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