Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp3362534ima; Tue, 23 Oct 2018 04:51:27 -0700 (PDT) X-Google-Smtp-Source: ACcGV62bacZqTMH2T8H34kPIqEdd3kw/3gp2xqzvXq/7LMG6roY5MefdYghTPRRqrXr7MImHfnq2 X-Received: by 2002:a17:902:20c9:: with SMTP id v9-v6mr48516688plg.156.1540295487269; Tue, 23 Oct 2018 04:51:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540295487; cv=none; d=google.com; s=arc-20160816; b=jBdSsf9EjuWcV09VGssCyYE+fj9YAVMVa0coNqumjD7VbB4g7vcPaji2LIMjULBVhg nvQmnPGygESfVwu2CGoP+QrR5PLdNMQMWROnuK23scOHeXT/ndMM++VX88YQEyzLL8Yr NRgpauUn5nj+pSE/Cz+uq0Pn6+djc/VxCsDQDN9iEA+g78zgr/XSqIE2w2rOyPLzlYUv JcZoOlb4QL3nTWnhf4oRe4ltsfouPGbO/dwfvRGLfEme0IElfCKCPG68WCmVY1yyLJCV /CYjsCb9ur5rKIbhwlUdpc1tOBfG3m/NOVs5VHlGsGhF40EnK9A5OcyQXEfWLdGuXJDN suow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=bw2KUU2h83+2pMEOpnOXw8/lOgfIGJ4s790inMagQ7U=; b=mxiopi2AeiTWS3S7ufA8TOjl1Hqjgk94pbSN2CV9YLN0936qTIPayaU84SOsT5GhdI Bek0och/WeB84e6RcyYPUTh7rbvHFOs7KHaIuNz5UXa5f0CDjE8Dh6pjeQhoKPx0cJ/z 4oOZiDNxMD+1umYG3VGkkb+VeZExJDLjQ80uzI/hz1C+248jjANprwpsM5qQng57Bhpm WG2owNgyg3LTHe2k8tk/FUjrGhl9izQgXhzsdjLaNC9IbEKtqr6O/5p8+bRRuu7iuAw7 nTNSsvhocG2ewXEDynYJJ5HPKMMl/Touqk0zKLBETA6QijLCYQuCkhOwXDZ34qO1dWlk ANhA== 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 b59-v6si1083357plb.206.2018.10.23.04.51.10; Tue, 23 Oct 2018 04:51:27 -0700 (PDT) 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 S1727962AbeJWTVF (ORCPT + 99 others); Tue, 23 Oct 2018 15:21:05 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:40941 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726970AbeJWTVF (ORCPT ); Tue, 23 Oct 2018 15:21:05 -0400 Received: by mail-ed1-f68.google.com with SMTP id r1-v6so1162845edd.7 for ; Tue, 23 Oct 2018 03:58:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=bw2KUU2h83+2pMEOpnOXw8/lOgfIGJ4s790inMagQ7U=; b=idSi11WGaIHoDiAio4jOIVewWfQmK8QBxH5U9anDACbxQx29xp35T7SQnAyKNj0EAx BZ45i3dYkN7w5p/4FslHt76SK1iwJFLRiC8Qw2KMS98AXhNbGwL9HyRXafuN2sMgTXPn 8QSYtc+5Q6tyRVG3hh+uhvNzd8gOWmAzEJ3167Ql066xl6gFzLcp21ZUFC0ixFqRkymB EQ91/Mhtkts9OxdnKqRyYNLLRCAL549/y+CNH45qx/GVClWisVp6hcQT+FNmApp2HLJW 1Jckg1Ru+76jcwXNFlIeuEgBkeXKv4mFXBzYnnZyJFJavT6T13ogf+56yXpkG7+m7AqN dTDA== X-Gm-Message-State: ABuFfoiLvXuI4PPwkpHiySd8Gcl+L4qhZ34Pz6V1OTHZzXKZJmMLB+X0 v29pXMAAo3ZJdBflLm96jDY= X-Received: by 2002:a17:906:f215:: with SMTP id gt21-v6mr38119645ejb.44.1540292287974; Tue, 23 Oct 2018 03:58:07 -0700 (PDT) Received: from green.intra.ispras.ru (bran.ispras.ru. [83.149.199.196]) by smtp.googlemail.com with ESMTPSA id w14-v6sm406197eds.16.2018.10.23.03.58.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Oct 2018 03:58:07 -0700 (PDT) From: efremov@linux.com To: James Morris Cc: Denis Efremov , "Serge E. Hallyn" , Paul Moore , Eric Paris , "Eric W. Biederman" , linux-kernel@vger.kernel.org Subject: [PATCH] security: fix documentation for the syslog hook Date: Tue, 23 Oct 2018 13:57:45 +0300 Message-Id: <20181023105745.18698-1-efremov@linux.com> X-Mailer: git-send-email 2.17.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Denis Efremov 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 57893534efca..8f84ef819e00 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