From patchwork Mon Feb 25 22:17:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Micah Morton X-Patchwork-Id: 10829197 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 387841399 for ; Mon, 25 Feb 2019 22:17:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 252722B9AD for ; Mon, 25 Feb 2019 22:17:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 179CB2B970; Mon, 25 Feb 2019 22:17:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B22122B970 for ; Mon, 25 Feb 2019 22:17:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727007AbfBYWRT (ORCPT ); Mon, 25 Feb 2019 17:17:19 -0500 Received: from mail-qk1-f197.google.com ([209.85.222.197]:51504 "EHLO mail-qk1-f197.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726971AbfBYWRT (ORCPT ); Mon, 25 Feb 2019 17:17:19 -0500 Received: by mail-qk1-f197.google.com with SMTP id h6so8808684qke.18 for ; Mon, 25 Feb 2019 14:17:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:message-id:mime-version:subject:from:to:cc; bh=+Ffk1f/LNLI6QFI7UedzZxiEOH9uDzBXldmlBOknquc=; b=CNhYdUjRpCUQneY+7ub9/XpTJVU+UdNTriYFCygIH2xgDW6rdPld2DuaRDn762khLN K56cHM7kEJb0pS+UQhbiKml9bd0vPtFl7aoVehK1k8C8BqnlwJBZPVHOY0U78arMYaqG 5ZtdBwsan6FRxXzQbl0T8R7LzrkV97wQjcigA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=+Ffk1f/LNLI6QFI7UedzZxiEOH9uDzBXldmlBOknquc=; b=HbrTWO1Ob2nJX97LpgtIWjeeCG9RhKeFRzPhlL34eDKRSAVf/JXyfYEe8NsRCKcFca /gWwSOJL/icZktpGsW+2L8hwp/a7eEDXa6EWktR8WK6YtUL7ytxKFMvE3qlRHO7YPFF/ ZVFDpxizwbMMwsRqtsV5YhSRdCq5CuK5AaE/grfjAsLNUvzIZracGQ4n38nWXPX4V1tA 8+lgesreRSdxRgMXXrlDXfhiAxLyQqeFVa2iKG4z4mc1PH63WDL+K4qBSwUca4Q4O8pg Pi4SFOxFhGEmGKjFCTowzpKr07mIVhQpBdltIULDXrlyGqvK6bhzsC0N4JEt3Zld2oIK g/mA== X-Gm-Message-State: AHQUAuZr8CnJYTcStNmdmHTdQ85APXAARVDeyXQHU9WiXudrCUVh20Tk TuR8L4fAEeIY9sGFMSP5W8DRr+x58hnrslhH X-Google-Smtp-Source: AHgI3IZnwVjCgAS0e5h1RWzZ9+P6X8OydZzUreoo4JQLlqJHxqXYNne7xHjiRDEUWuzIVu69WZZ68KjKu0kIJwK+ X-Received: by 2002:a37:9a4c:: with SMTP id c73mr12217478qke.50.1551133037943; Mon, 25 Feb 2019 14:17:17 -0800 (PST) Date: Mon, 25 Feb 2019 14:17:10 -0800 Message-Id: <20190225221710.226552-1-mortonm@chromium.org> Mime-Version: 1.0 X-Mailer: git-send-email 2.21.0.rc0.258.g878e2cd30e-goog Subject: [PATCH] LSM: Update function documentation for cap_capable From: mortonm@chromium.org To: jmorris@namei.org, serge@hallyn.com, keescook@chromium.org, casey@schaufler-ca.com, sds@tycho.nsa.gov, linux-security-module@vger.kernel.org Cc: Micah Morton Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: X-Virus-Scanned: ClamAV using ClamSMTP From: Micah Morton This should have gone in with commit c1a85a00ea66cb6f0bd0f14e47c28c2b0999799f. Signed-off-by: Micah Morton --- security/commoncap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/commoncap.c b/security/commoncap.c index 188eaf59f82f..f1d117c3d8ae 100644 --- a/security/commoncap.c +++ b/security/commoncap.c @@ -57,7 +57,7 @@ static void warn_setuid_and_fcaps_mixed(const char *fname) * @cred: The credentials to use * @ns: The user namespace in which we need the capability * @cap: The capability to check for - * @audit: Whether to write an audit message or not + * @opts: Bitmask of options defined in include/linux/security.h * * Determine whether the nominated task has the specified capability amongst * its effective set, returning 0 if it does, -ve if it does not.