Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp306853imj; Thu, 7 Feb 2019 04:45:49 -0800 (PST) X-Google-Smtp-Source: AHgI3IaKPTjvdI+wyvnJao45rntcNlv5FJC2k/760g4rCctGlHqzQjDDto/kKvDjMVL/fqYQVsti X-Received: by 2002:a17:902:981:: with SMTP id 1mr15985087pln.142.1549543549789; Thu, 07 Feb 2019 04:45:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549543549; cv=none; d=google.com; s=arc-20160816; b=GzhflwYcbF3wwix51jNRrKoaydoMxy1fA9VYUvyrpqQjLYvOmB0fO1LeNI0IXzUW6J 0J52yWfnepkiIahB9qWITglWCLx4Wjih/1zBvWIYMdWbl1s8fnJEuksgl/5aPeVZgmze tsOby5PBmD/WLkSu8XYHZs6jkkgX2BGhcOEGl1YFT7zKdVZsj7rH7TcdFsiK39BEObST uqw+QrA2QDx4VCRtAt0EvaGxC1vMdc0cKU/UCG2mhx/2KWFaJ0OGAVzaARgd1fsRQm02 MTESHYUPIYRWAsV0rC2jhQHw87/n9GY73Sb6a8BNclPTrsRGXkYNUTwwZQiX1tWr57EJ Kfuw== 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=MiJx5Tq2LAfnZMD9dL9NjMWnliC7X4g9POScc7SJP60=; b=fKdsGZjfq5lk5invOV/M0CosR5dQChnuWr4+9C13bADkjFivJJS7H/stKonAaU1PJJ 0XDJReWbWUovB+7G2QISlg64mVTT/He6VoLgt0zFLUEduz8e31zdOp/qRxdv51oeS9k5 Mjxdkqi/IM11ojlANLw2X+Eys8mf+IB2yiIXIXsLyVnmMFbUgti7cYNXmYKHHVmDMJYH mO6ixRYwiEmGP+BLJdq3O6IyABMeUenrDJ1bVinkUTVAM7Bc0adlRII/GYoTkaCVsGZ+ 4u48O7FFkBBtDRGf45QoBUlm/99xO3lKn6zIX22XVSyD7dAuseuIyi66KKWs7KheujsG K5ww== 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 gn22si8970915plb.19.2019.02.07.04.45.33; Thu, 07 Feb 2019 04:45: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 S1727184AbfBGMpS (ORCPT + 99 others); Thu, 7 Feb 2019 07:45:18 -0500 Received: from mail.ispras.ru ([83.149.199.45]:60564 "EHLO mail.ispras.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726769AbfBGMpR (ORCPT ); Thu, 7 Feb 2019 07:45:17 -0500 Received: from green.intra.ispras.ru (pluton2.ispras.ru [83.149.199.44]) by mail.ispras.ru (Postfix) with ESMTPSA id 6FEEE5400A9; Thu, 7 Feb 2019 15:45:15 +0300 (MSK) From: Denis Efremov To: Eric Paris Cc: Denis Efremov , Casey Schaufler , "Eric W. Biederman" , 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 02/10] security: fix documentation for the syslog hook Date: Thu, 7 Feb 2019 15:44:50 +0300 Message-Id: <70ac80069eb645ffa3a30d8206acb066cb2810b9.1549540487.git.efremov@ispras.ru> 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 syslog hook was changed in the commit "capabilities/syslog: open code cap_syslog logic to fix build failure" (12b3052c3ee8). The argument @from_file was removed from the hook. This patch updates the documentation for the syslog hook accordingly. Signed-off-by: Denis Efremov --- include/linux/lsm_hooks.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index de179331be5c..a0555683db63 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -1276,7 +1276,6 @@ * logging to the console. * See the syslog(2) manual page for an explanation of the @type values. * @type contains the type of action. - * @from_file indicates the context of action (if it came from /proc). * Return 0 if permission is granted. * @settime: * Check permission to change the system time. -- 2.17.2