Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp916649ybk; Fri, 15 May 2020 17:42:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfflzYm7OjO8nTQ/s6TwGhtoIYTxCSg9+mtluMevxrgikgb4VvCUZo7vYbMhiNGmfCYcT2 X-Received: by 2002:a17:906:3748:: with SMTP id e8mr5494372ejc.181.1589589722791; Fri, 15 May 2020 17:42:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589589722; cv=none; d=google.com; s=arc-20160816; b=IOPSWEsd+7eOEZnrBdGEho7DpsBsxVTQ6cIiX0VfVTcIciwjXOLpnF+Eugt4RJguTO lKgxj7rf46GP9cQ62fyms4NZmS1Jsi8PphWf2XpdIwYaCAY2XNMlIgu7DISKN4qZ517Y Q5zvyuu/AF/90VAWMuTShp3i9IdXHTBYSTy+Ynsm+8qFkI8f/KN/U+53IB4H0lxA1bQb 6BG4mOWOktHaJ9PWPcsIn5zQOQddhJ7Ov9LkdOna8P2yCRs8CGzMu3Vb7ypqVX6EwqKn MiSy9AWBQEImxLujwEaZflCNkzx/DBKMyze6MzN8RfCL5fsw/tO6hqUjl2Y3TMClHE/Z R/hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=ke8aQ0QSzOho9AR5F2u+q+Ff9wFD7APCaAFa5HdpwcU=; b=VU9/8vk9hTGd0qiTFVcbdN7Dkxybw/HgACB+3Ehj2+qKNSspuQ+n+YXk2UfgXL33EE qWT+SqVQmxPCouUN72yprCk2ATEpemKwikJwHOmr9+rz8jggtZj4+ylLMq1KmnAsyMjH beFuo6ie+wN3Ikc+p/ZjXqeQBzamWDEjTlEcAmLJzVP+Im7klJ9/mJ0VjAPYDT1JGlnZ cGIXf5aU8ctw1pm7Bn9n1UxxBw+PWwG45ZUlJoDPvmygq5FP8iva91JYUF7onvMNy5AV 808wMnZS3gahqYNK2DMswCK/tdxEHVSiGjzAy/wdWKPFqL8aMIXM5abN2FGQK276emSc dlYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@benboeckel.net header.s=fm1 header.b=iA+GrvBH; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=m+P3RCZ2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id le12si2279924ejb.185.2020.05.15.17.41.26; Fri, 15 May 2020 17:42:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@benboeckel.net header.s=fm1 header.b=iA+GrvBH; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=m+P3RCZ2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727123AbgEPAj1 (ORCPT + 99 others); Fri, 15 May 2020 20:39:27 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:60631 "EHLO wout5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726550AbgEPAj0 (ORCPT ); Fri, 15 May 2020 20:39:26 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id C8291850; Fri, 15 May 2020 20:39:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Fri, 15 May 2020 20:39:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=benboeckel.net; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=ke8aQ0QSzOho9 AR5F2u+q+Ff9wFD7APCaAFa5HdpwcU=; b=iA+GrvBH1rYWW0KQItwFimEeC5XMX B8XUs3gBbdF1o2blCJzI3lGx3M6ziM5uEBnNEZd3VXNff5ghsdqpymGZeY3to2D7 OOV9H2VQWrs7p4C20qzei/ajT5h90KHs3QgnWPi0mQGRn6Qvus5+pz4bVW2pdJtz Z2CCG+RjeYk4rAway6rIfFjVw79nChjS54Jg1wyFmipaJZP1ANW4InPCGQ6iAFhI 36kBpOdm+wtGxy5DqXvJi+H3X/DisPdAuuLCqi0uSZhr9+ex1pexa3oytmNBskEd CEJVTg3XgWl1Xmc7FdLUTIFkZw7OadjI0D7/yoJCVY4Lbe/Jf+jBkTdPQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=ke8aQ0QSzOho9AR5F2u+q+Ff9wFD7APCaAFa5HdpwcU=; b=m+P3RCZ2 M13zdsGb6BraJTeACCcD9DmrJZAGqXbibh5kwAQi86i8LLU0PTWmPOTsZCPrJD3o 6M3Od6M5fJwOjebP8hCAT0e4WGe9T9k1p5B3394BwuqVp9mlpqgVKv5i1fgLitGW rpc20Cn9diFjlGbD7x4Jl0HBhS/ZlUKsbxx4KmoALpHmOfrad9/2KeQgclp6nCd6 Aarb//p+4qvJ00bCFlkCvieRRdlBJWhE2kpjDo9rwgBpv3jK6pNo2cUCG0NMKMDh zEb0zKG1S/OPzUVJWuKNJrRnJkq5NB1037SlzdxoAgo7y0EM+eMe1+5FTPyHkUqB lqgX2OKJbxBotw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrleelgdefvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeeuvghnuceuohgvtghkvghluceomhgvsegsvghnsghovggtkhgv lhdrnhgvtheqnecuggftrfgrthhtvghrnhepffekheelgfetleeghfehkeefieegffeltd ekhfevieefheeltdffheekueehkeehnecukfhppeeiledrvddtgedrudeikedrvdeffeen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmvgessg gvnhgsohgvtghkvghlrdhnvght X-ME-Proxy: Received: from localhost (cpe-69-204-168-233.nycap.res.rr.com [69.204.168.233]) by mail.messagingengine.com (Postfix) with ESMTPA id 0E3523280059; Fri, 15 May 2020 20:39:25 -0400 (EDT) From: Ben Boeckel To: keyrings@vger.kernel.org Cc: Ben Boeckel , dhowells@redhat.com, jarkko.sakkinen@linux.intel.com, corbet@lwn.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] Documentation: security: core.rst: add missing argument Date: Fri, 15 May 2020 20:39:17 -0400 Message-Id: <20200516003917.2035545-2-list.lkml.keyrings@me.benboeckel.net> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200516003917.2035545-1-list.lkml.keyrings@me.benboeckel.net> References: <20200516003917.2035545-1-list.lkml.keyrings@me.benboeckel.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ben Boeckel This argument was just never documented in the first place. Signed-off-by: Ben Boeckel --- Documentation/security/keys/core.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/security/keys/core.rst b/Documentation/security/keys/core.rst index d9b0b859018b..c26b9e7d47c2 100644 --- a/Documentation/security/keys/core.rst +++ b/Documentation/security/keys/core.rst @@ -920,10 +920,14 @@ The keyctl syscall functions are: long keyctl(KEYCTL_PKEY_QUERY, key_serial_t key_id, unsigned long reserved, + const char* params, struct keyctl_pkey_query *info); - Get information about an asymmetric key. The information is returned in - the keyctl_pkey_query struct:: + Get information about an asymmetric key. Specific algorithms and + encodings may be queried by using the ``params`` argument. This is a + string containing a space- or tab-separated string of key-value pairs. + Currently supported keys include ``enc`` and ``hash``. The information + is returned in the keyctl_pkey_query struct:: __u32 supported_ops; __u32 key_size; -- 2.25.4