From patchwork Sat Dec 3 20:23:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 29333 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1510616wrr; Sat, 3 Dec 2022 12:26:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf5invYvchfPlmXOOlN8G2294UW2/uRu0VLyeWmEXCl+TOUN8S3Zeb2gDH3KkyUe1ZW3s5pR X-Received: by 2002:a05:6a00:b81:b0:575:276b:d8c9 with SMTP id g1-20020a056a000b8100b00575276bd8c9mr31443468pfj.82.1670099188696; Sat, 03 Dec 2022 12:26:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670099188; cv=none; d=google.com; s=arc-20160816; b=zLP+gMTUcT3OUJ95G3Fik10IrKmztBYApPABeOJWotrlnbCs8PTEZtUIhV/TiD9NOw ZoR/3oJhJRkSVDThDno1ufozUd732GDwxwU6gEYoUmt3BzhhokQLNIvoNrHVQLF+0Msm pkR3OsRbL2VB0nh4pd41NiRP7lCf0LMvXTLH9B0pg8QFNtx+AiTf36/if9z6YOy/mxk+ llv3o7sf4gdLR5H+V44gj5b+YAVCuMdG4Lt3O8ZxG4OfFl7zEkUpTH1Tzg4BlXJGkEHj eFEpVcm8AmqmkQTnpq75xHAArP7O7zUq9FUoPAJJ8r8j30hkRrio2utt7gMiOHAL7SCg Iblg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ef04MEi04LrCEedSfKxL4rs7BnKpg4NBQUeuW6ejwXw=; b=C07sIjyrwFXY285o3oagM4DIY2FzNjB0KpFSsfxGKarSWgh8Q/fX2OA5WBQOfUeErw VvxJ76ZO/XepEP27kpuahQDmdwwa1giOgJi8ZF5YyxLaKGt0RSJiesy6xIwQdTBP2zJl Vr+K5cYt7BGAXSzlSUjGpYQpSWNf5zqWaG1FhVhpgd85l3S1SqA0DX5i0uAx8h+mffU2 /gxjzYqDQeOn/hNtdnSskUpTPvFbDhmV3O9Auf8dC50mFT1mGdcZEb6A9Pf4WwD6SEdr QTfPr0OwjZfV6SvCQqXy5BGebDO+QtBL0uDG+SfdYYIJVqbqFdfi4AlU3HB6z5bAB4jg ZAWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JQyn9CNx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ju17-20020a170903429100b001887af39371si9732877plb.240.2022.12.03.12.26.16; Sat, 03 Dec 2022 12:26:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JQyn9CNx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230212AbiLCUZo (ORCPT + 99 others); Sat, 3 Dec 2022 15:25:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230029AbiLCUYt (ORCPT ); Sat, 3 Dec 2022 15:24:49 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 882B31F61B; Sat, 3 Dec 2022 12:23:48 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id m19so5926416wms.5; Sat, 03 Dec 2022 12:23:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ef04MEi04LrCEedSfKxL4rs7BnKpg4NBQUeuW6ejwXw=; b=JQyn9CNxjpRMBk12aH9G4r5s26RmNeuAf+wpvblYFPSxc2Tkf4eKP6XGVwO8r9wJYa OKZ1VmnCwpGfgbeqpOFEOB6s9tSrqdUuH6dqOxEPG/PkOU1Y6TYBOO53dOjuQSK8Ijzs kaUkMdCFp7TMhQVOq9FReSchw88o06+jKWaUYJ0u6S2i2TjdEAfrFlocxcPe5OxHuHCx tMI59lRuRBAzh2lGmR9PbPfRk+hfdxRk8BaNakYhQlMg918GkwxWfIV9o66IpI4RIzAb sYIZFkywewxTUOJnyBNuZpCh4VTk6Neb0UQ+C5t6etDVS8WaO7KEy0cGLYFMagmGgdwR wy8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ef04MEi04LrCEedSfKxL4rs7BnKpg4NBQUeuW6ejwXw=; b=pmYNC8SrYWmwEoEqvuQSaVldu2pfVO2T95DbtfhZu4V7zROuxjCCeu/CifgAfsxKM+ vQ6Tivh9IX7t4vlOhLFFtNT7ogbYlK/QCFKj3Fj7WiMNkdaIJYjLIOAhAlRiQDDEfB7V 15zalUQbJew6cj1gwYb1Q9ptGXVOtWvhm99L+z4HMOBRruhTiJK4ONZI1JCUCg8SI6XG WbAv2qB2eZeomA7SIehH386zMUR9mOkJ7LuTesnbeRDeRKao6gMUKK/wuXZC3nHBLv8o xn/Em++P98mZSQNQIIqn6a9fFYBynLSIYFgWEERJwJRh/PiyfsFg23RMpr7Xu4XQ/BoI hwKQ== X-Gm-Message-State: ANoB5pnSiHIJzNGiE6Jq/jQZqX5ocT3loHPariEp9eHxvb2DRZYAsF41 wlNUR7XqI0EPDE0OhWcH11M8nRky8Vk= X-Received: by 2002:a05:600c:54c2:b0:3d0:734d:ed7 with SMTP id iw2-20020a05600c54c200b003d0734d0ed7mr12567985wmb.201.1670099022473; Sat, 03 Dec 2022 12:23:42 -0800 (PST) Received: from asus5775.alejandro-colomar.es ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id p17-20020a5d68d1000000b002420cfcd13dsm10064481wrw.105.2022.12.03.12.23.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Dec 2022 12:23:42 -0800 (PST) From: Alejandro Colomar X-Google-Original-From: Alejandro Colomar To: linux-man@vger.kernel.org Cc: Alejandro Colomar , libc-alpha@sourceware.org, linux-kernel@vger.kernel.org Subject: [PATCH 31/41] sigprocmask.2: SYNOPSIS: Add _Nullable Date: Sat, 3 Dec 2022 21:23:07 +0100 Message-Id: <20221203202317.252789-32-alx@kernel.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221203202317.252789-1-alx@kernel.org> References: <20221203202317.252789-1-alx@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751225926484528945?= X-GMAIL-MSGID: =?utf-8?q?1751225926484528945?= Signed-off-by: Alejandro Colomar --- man2/sigprocmask.2 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2 index 6fa655fea..ae65e3400 100644 --- a/man2/sigprocmask.2 +++ b/man2/sigprocmask.2 @@ -17,22 +17,23 @@ .SH SYNOPSIS .PP .nf /* Prototype for the glibc wrapper function */ -.BI "int sigprocmask(int " how ", const sigset_t *restrict " set , -.BI " sigset_t *restrict " oldset ); +.BI "int sigprocmask(int " how ", const sigset_t *_Nullable restrict " set , +.BI " sigset_t *_Nullable restrict " oldset ); .PP .BR "#include " " /* Definition of " SIG_* " constants */" .BR "#include " " /* Definition of " SYS_* " constants */" .B #include .PP /* Prototype for the underlying system call */ -.BI "int syscall(SYS_rt_sigprocmask, int " how ", const kernel_sigset_t *" set , -.BI " kernel_sigset_t *" oldset \ -", size_t " sigsetsize ); +.BI "int syscall(SYS_rt_sigprocmask, int " how , +.BI " const kernel_sigset_t *_Nullable " set , +.BI " kernel_sigset_t *_Nullable " oldset , +.BI " size_t " sigsetsize ); .PP /* Prototype for the legacy system call */ .BI "[[deprecated]] int syscall(SYS_sigprocmask, int " how , -.BI " const old_kernel_sigset_t *" set , -.BI " old_kernel_sigset_t *" oldset ); +.BI " const old_kernel_sigset_t *_Nullable " set , +.BI " old_kernel_sigset_t *_Nullable " oldset ); .fi .PP .RS -4