Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp961021rdb; Tue, 19 Sep 2023 16:06:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYuVM2ZAMC2sgirhr7vQkk7mncvByK4W2fGcy4QFHS/HUFPhSxiur61NG4gv+eCcbx912N X-Received: by 2002:a05:6a20:8c2f:b0:13f:de94:fb97 with SMTP id j47-20020a056a208c2f00b0013fde94fb97mr804244pzh.27.1695164807576; Tue, 19 Sep 2023 16:06:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695164807; cv=none; d=google.com; s=arc-20160816; b=PPdTalmvjrknDJ/42BX3X+/9ppWtPgYIPDv1phxOsZXTQHdUeodsPUg4eKKM/IthM0 EEQSkcEpaayPAITTGfjbUM2VG/KNN6iV0cSBdPg3rXqFXdR0NZFvV7EgjBrhoql4C9kh rYEoosqwAwBAxjeBSwdxybBHzPgMxYubOPoGTxDsi00hwLbCUKLdB2Up8e3BlXrrbuQF NW/LRv+rVDpgIhMlsn8SEEP6yRdxsCpF1PgJy8+evvzH3hYeCgMw1trgcZuHUKnjXL3E 6DpFbyU+N1TxmwoSMNnYLgTmKSmjzdhf/8TECiAUeY5g/JKDK9ilgpcrI8U/WO990eft cP4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=gOdPMAxCjzIvLxf6qfx/KF9XXYtmYZAQcBo4SahEGKQ=; fh=SqwPTGdhTS3wVH9FltNQ4n/lDM1p3ApEDnroT8zra0U=; b=YNe30hl+nELkRdloQe9lCD+1M1bey9orwfuxkHEnEJ+XVxnlQuTFs7FBSpqx+frK5W kbR0xoeSlFMQPCRfqqQf6JRrcdGVSq4fp+dyYNd8KdnPlctM2oWmVOoEY++jha2LJDof Ix4pdkGfpmJuRBmysZDBvpGRrFmHGSgnSZMIqfzLJIvTdJKVByjqWvhaOhsQjilI50Mc TragEzumv8LYrBzXEACTHuJwpbI21m0El0DMrmJL5CKTsyknq2ACdyvKebToPUFSFrWS uqLkOwWcpSszFhh8Qr8oSH7k3IyPB5c1AWMvYfkewqRyKL6WX28ejO1a9+JRD1nzGGCv TEgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=1fJ3i6U0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id f19-20020a056a0022d300b0068b753d7061si10520046pfj.116.2023.09.19.16.06.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 16:06:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=1fJ3i6U0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 3E45F8301480; Tue, 19 Sep 2023 12:02:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232847AbjISTCk (ORCPT + 99 others); Tue, 19 Sep 2023 15:02:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232714AbjISTCd (ORCPT ); Tue, 19 Sep 2023 15:02:33 -0400 Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9EE5128 for ; Tue, 19 Sep 2023 12:02:22 -0700 (PDT) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-59eb7293017so22482317b3.3 for ; Tue, 19 Sep 2023 12:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1695150142; x=1695754942; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=gOdPMAxCjzIvLxf6qfx/KF9XXYtmYZAQcBo4SahEGKQ=; b=1fJ3i6U0CgJ0P8Iemhm3nkJnQEjA+uvmLAt4yMlxiom3Q623ZdK1ISGVaIF2MTYEHZ cxYjxVtG6nMFSLcJNqpvSGSNwidMRCLg+uZidMoiHSUOv8VvHjA6DJaWGVBRTYL2739c MUXP1LgHr/Mbj0u8W8QNqhDY9HOICcpWouCBauXtTgo7bu7lotoLAJG6niCubYMm+4Zu xcz/E2aYBW12KDQMQxWy4MPhtD5GTKDv7f1viQIBAbtu5gYH0oaVUyYKbkhphtDEWdx7 bFCxPGdZpxvdW506J6KZ/VSvkQPFr9r0lxYerovKL27RjtQni4YccyniCz1gMZnm1ijV lDAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695150142; x=1695754942; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gOdPMAxCjzIvLxf6qfx/KF9XXYtmYZAQcBo4SahEGKQ=; b=M9M2chrJ4sdZt2eLCP7x2trSMvcUJ6k36c9wFB/ikR1hOfLQaHM6pvceOJwig6ZJX4 zrZjIvqkz5sLKy1KweEGTM0FGGGSwzhey679gmnlfAWdG1CL0msq1HfS9bHwvVPcnl0E ZufrAu+9wMA/D1XQS0Bk3U4Cul3k7c7GOdbLzmlHNlOFQdvhpA7yTfEFQQihxvwc/YK4 g87SviPIdKREtOefZEK6uIZdJRAx4nRRgKHYj9YzJUmkhhQXNTyPyQReK+G4AoGdr916 J70s2zWLankbj2TYg2JP8eo2cBGD1AWcyU4I3vbThuIXUDj2Nne4hDZxsI1JWcIcMh2Q Be6w== X-Gm-Message-State: AOJu0YzrUbhS6jNiIRt1kBdmMSCfaf7036thHZaxUVQJe2NZGTdayXG5 0CyN7dNtSO3mR++nHBGg7mbXdXHWktiQ9sIJr3/I X-Received: from axel.svl.corp.google.com ([2620:15c:2a3:200:8f5a:6a6a:cafc:a3ad]) (user=axelrasmussen job=sendgmr) by 2002:a81:b709:0:b0:59b:e669:c944 with SMTP id v9-20020a81b709000000b0059be669c944mr5687ywh.3.1695150142185; Tue, 19 Sep 2023 12:02:22 -0700 (PDT) Date: Tue, 19 Sep 2023 12:02:00 -0700 In-Reply-To: <20230919190206.388896-1-axelrasmussen@google.com> Mime-Version: 1.0 References: <20230919190206.388896-1-axelrasmussen@google.com> X-Mailer: git-send-email 2.42.0.459.ge4e396fd5e-goog Message-ID: <20230919190206.388896-5-axelrasmussen@google.com> Subject: [PATCH 04/10] ioctl_userfaultfd.2: fix a few trivial mistakes From: Axel Rasmussen To: Alejandro Colomar , Peter Xu Cc: linux-man@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Axel Rasmussen Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 19 Sep 2023 12:02:49 -0700 (PDT) - Fix missing paragraph tag. The lack of this tag yielded no blank line in the rendere dpage, which is inconsistent with style elsewhere. - The description of UFFDIO_WRITEPROTECT was a sentence fragment; the last half of the sentence was left out by mistake. Add it in to fix the issue. - move UFFDIO_WRITEPROTECT 'since' to its own line All other ioctls note the kernel version introduced on a separate line from the ioctl name. Update UFFDIO_WRITEPROTECT to match the existing style. Signed-off-by: Axel Rasmussen --- man2/ioctl_userfaultfd.2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2 index b5281ec4c..339adf8fe 100644 --- a/man2/ioctl_userfaultfd.2 +++ b/man2/ioctl_userfaultfd.2 @@ -31,6 +31,7 @@ using calls of the form: ioctl(fd, cmd, argp); .EE .in +.PP In the above, .I fd is a file descriptor referring to a userfaultfd object, @@ -351,6 +352,7 @@ operation is supported. .B 1 << _UFFDIO_WRITEPROTECT The .B UFFDIO_WRITEPROTECT +operation is supported. .TP .B 1 << _UFFDIO_ZEROPAGE The @@ -693,7 +695,8 @@ field of the structure was not a multiple of the system page size; or .I len was zero; or the specified range was otherwise invalid. -.SS UFFDIO_WRITEPROTECT (Since Linux 5.7) +.SS UFFDIO_WRITEPROTECT +(Since Linux 5.7.) Write-protect or write-unprotect a userfaultfd-registered memory range registered with mode .BR UFFDIO_REGISTER_MODE_WP . -- 2.42.0.459.ge4e396fd5e-goog