From patchwork Sat Apr 3 19:39:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462012 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=EyoiFO+i; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS3q6HDnz9sWF for ; Sun, 4 Apr 2021 05:41:59 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C71E3385EC54; Sat, 3 Apr 2021 19:41:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C71E3385EC54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478912; bh=GrWMJ+RJ9gg0brZt9cDUsUVd+Cv1ihZ/2NnN94O5JCg=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=EyoiFO+ieRtNKVXSLX+nkycTjZ4hk9tRsE5lgKCNxJH4T9/WTrFJKIY9t4rDssCkL oHriSMBa/dpcKuUaKypQ9w6G8AoFEOfVc2+6fCynUkdQeHvHsvZxE9NDPS+RofCw9w NO/mVyQi2h6UjG2bPCbuFBzGYLXXJpMxU/iZtr+g= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by sourceware.org (Postfix) with ESMTPS id 6929C385E447 for ; Sat, 3 Apr 2021 19:41:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6929C385E447 Received: by mail-wm1-x32f.google.com with SMTP id m20-20020a7bcb940000b029010cab7e5a9fso5745578wmi.3 for ; Sat, 03 Apr 2021 12:41:49 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=GrWMJ+RJ9gg0brZt9cDUsUVd+Cv1ihZ/2NnN94O5JCg=; b=OJUJnooPjpY7EqtJE8WxJmoaYIDice9npzR2EDyK2QlIbIxRLq5huG8xSTUrZL65Dw bwjCTFx1WhE+pg/G1ME7/i7iiuuwLS+2vJD1s/tzSkTAdFU+7E89qo+LbfDD5HOxSTbH MIbHYMco3mGNWVF5+3oCGg74akq5Ua2aqkfHz8p6A+v7hcyXHYULWkjbxYsj6c7myBbF QtCIX3EA5IqgvZtQv5qv/gDrmgSkdy+vjuJGRxUctFH00OMdpYI6ODWUGZ+Kl1FCDJT+ 4R/MkkYK2G0VgyU6ruwxWkToKyB57tgN0ndmaoAYNqLaelk4HDKKrmdkuqUrtTrDzKGe 3shg== X-Gm-Message-State: AOAM533UIE5Ag1yNlPEQeOkh/L1JHCNaXwpwYBkCjfZijyYrurQmSiJa /CpsT40mgY9SB33TnVwbgD0= X-Google-Smtp-Source: ABdhPJyu7MUTY9ydTHuPlh4H+TfcqnBEhFddhSrvLd+mRWRoHFU43oelf+vpBH7IUjRzcc5MjMjMMQ== X-Received: by 2002:a05:600c:358c:: with SMTP id p12mr18080552wmq.19.1617478908615; Sat, 03 Apr 2021 12:41:48 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:48 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 01/35] system_data_types.7: Add 'struct sockaddr' Date: Sat, 3 Apr 2021 21:39:53 +0200 Message-Id: <20210403194026.102818-2-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man7/system_data_types.7 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 5648ae500..93c723a2f 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -1226,6 +1226,31 @@ and .I ssize_t types in this page. .RE +.\"------------------------------------- sockaddr ---------------------/ +.TP +.I sockaddr +.RS +.IR Include : +.IR . +.PP +.EX +struct sockaddr { + sa_family_t sa_family; /* Address family */ + char sa_data[]; /* Socket address */ +}; +.EE +.PP +Describes a socket address. +.PP +.IR "Conforming to" : +POSIX.1-2001 and later. +.PP +.IR "See also" : +.BR accept (2), +.BR getpeername (2), +.BR getsockname (2), +.BR socket (2) +.RE .\"------------------------------------- ssize_t ----------------------/ .TP .I ssize_t From patchwork Sat Apr 3 19:39:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462013 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=iF6DYQP2; dkim-atps=neutral Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS3x1KDhz9sSC for ; Sun, 4 Apr 2021 05:42:05 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D67F13851C16; Sat, 3 Apr 2021 19:41:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D67F13851C16 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478913; bh=rTKYkInho8e1sIcxIAxFLuyehNxSK3JnEgfyns2WLcw=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=iF6DYQP2Wb/hmQj+ALRJLaTGToAa/Zd/uDtHmQBDT5BVry9RppjLLgG0R3mcgG5rC s3Aq4pja1o0glnWCoIdaoRNBcls/1uwCltAh3M3kNJo4uI5NyNb7pqlHhEtp3IG+pM EZPFWLUWmznTRyX+gfQeIdA7vqzWsM+9uk5vWb6Q= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by sourceware.org (Postfix) with ESMTPS id 201F1385E448 for ; Sat, 3 Apr 2021 19:41:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 201F1385E448 Received: by mail-wr1-x435.google.com with SMTP id v4so7456278wrp.13 for ; Sat, 03 Apr 2021 12:41:50 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=rTKYkInho8e1sIcxIAxFLuyehNxSK3JnEgfyns2WLcw=; b=LMU/Gqco3XW1s8F3tTWhL43ES5sZ2miiM5V/0pJBdWAU/zyTY+ixUvwmJ0Rx5lrp+N YaAxLEeuQ2b8M2sTGTo6DL0TKcL3hbo85L7EzhOzntWVZjYhGKsOuApJpVWbd7YWZ875 +tqYZAr/Zye8fvek9Gh4+o/zQ69ZsSotXQB8IlpRUbYu59uJzH+e2XPUaGQcOqGt1voZ dGAvhMAh8gtN6imlTclQDSOs+PgCDCYfBzpwfbvHXptxElOzXLFsxqPWeMXLqfS0Yls4 Ynb9JWinbr2Ppa+eTJk22Ju21VmsFnVBnFzV8DRztTeCFBfvjAjPdD6f800JXKTSRuix Esyg== X-Gm-Message-State: AOAM530xBjj35cHX8nycNURpm27YsWTLXbIKVHQYNz7wlMTyxE7FEBeT GbM9EZMUSqNDTyq0AFXA2UY= X-Google-Smtp-Source: ABdhPJwRTwtRXgHAYq7D0Ky4Q9bENrOEWbE2fo+ab5N8087ajN7pfV2C2FgMd+4FZU+zHvz6CXz/wg== X-Received: by 2002:adf:f1c4:: with SMTP id z4mr22113134wro.404.1617478909352; Sat, 03 Apr 2021 12:41:49 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:49 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 02/35] sockaddr.3: New link to system_data_types(7) Date: Sat, 3 Apr 2021 21:39:54 +0200 Message-Id: <20210403194026.102818-3-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man3/sockaddr.3 | 1 + 1 file changed, 1 insertion(+) create mode 100644 man3/sockaddr.3 diff --git a/man3/sockaddr.3 b/man3/sockaddr.3 new file mode 100644 index 000000000..db50c0f09 --- /dev/null +++ b/man3/sockaddr.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 From patchwork Sat Apr 3 19:39:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462014 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=lVB/UpbA; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS414brvz9sSC for ; Sun, 4 Apr 2021 05:42:09 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 79A413851C1D; Sat, 3 Apr 2021 19:41:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79A413851C1D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478914; bh=kJYH9tpAtDL4EhejYbDB+JwVoNY7pJbsuEmcLrJV8zQ=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=lVB/UpbAJ+facaZN7ftjlB2cvgND5GDDtz+nsPZ3OpIWzLSMmT+CfGMgaLH3HioPI ci7UADSPSNunsaVmKOgQJE1KNQAcj5A13lijUo0EQ2qSXtc/Qp0ml4qXV1v6PSMsCQ oL2HyxY5XHBSba+JN0Zo45F1lVFJAqKAnLwRwx8w= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id D86053858004 for ; Sat, 3 Apr 2021 19:41:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D86053858004 Received: by mail-wm1-x330.google.com with SMTP id j20-20020a05600c1914b029010f31e15a7fso5761237wmq.1 for ; Sat, 03 Apr 2021 12:41:50 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=kJYH9tpAtDL4EhejYbDB+JwVoNY7pJbsuEmcLrJV8zQ=; b=MccD8D1zFBg0rn7dLBgQMVbdAzBtPmTIJp6GLe7pbBQgEOWOy7PA7C+gRlvtr16OBw g45X0HRR2xrhQ+kh4HubXIDRAC8z1bq5DLoSeleFtTk3KGc/Wg1mG6CgylN3/0Kdt4I6 04s9cX9OKvyvNNADpEJzZRBX3URBHG7ylJzJGJxyH093OYBWCadL5NonemeMPQAyMMhZ n30ohQi28bt9JN+WnkJQGdq99WVJnJkx8ywM+oyopvGaDA3uLCuB0n8aByWwTgv/r3c4 GrtO4/SNoyxSi+t9T9zitRb/Bx/AsuC9amLDWACZrJRjRQcFMCVp5J+OZnE9iUZT71Ju rVlA== X-Gm-Message-State: AOAM533u3BkDVb7nZs35Ut8NjgDu2luBRnPqx6F0hodOmUjq1a7m2FQG KZDdPuFozWLhFFjP2k4tAWY= X-Google-Smtp-Source: ABdhPJwDLXCO2YVSC2CW6WTJuEIBnO3+VtprVdk3asxh5iR/QYnj3UkoPCVedGjf9d0qZnTfFQD8kg== X-Received: by 2002:a1c:5f54:: with SMTP id t81mr18258409wmb.84.1617478910089; Sat, 03 Apr 2021 12:41:50 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:49 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 03/35] system_data_types.7: Add 'socklen_t' Date: Sat, 3 Apr 2021 21:39:55 +0200 Message-Id: <20210403194026.102818-4-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man7/system_data_types.7 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 93c723a2f..e038aab1e 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -1251,6 +1251,34 @@ POSIX.1-2001 and later. .BR getsockname (2), .BR socket (2) .RE +.\"------------------------------------- socklen_t --------------------/ +.TP +.I socklen_t +.RS +.IR Include : +.IR . +Alternatively, +.IR . +.PP +Describes the length of a socket address. +According to POSIX, +this shall be an integer type of at least 32 bits. +.PP +.IR "Conforming to" : +POSIX.1-2001 and later. +.PP +.IR "See also" : +.BR accept (2), +.BR bind (2), +.BR connect (2), +.BR gethostbyaddr (2), +.BR getnameinfo (2), +.BR socket (2) +.PP +See also the +.I sockaddr +structure in this page. +.RE .\"------------------------------------- ssize_t ----------------------/ .TP .I ssize_t From patchwork Sat Apr 3 19:39:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462015 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=B5CZsak2; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS461dRzz9sSC for ; Sun, 4 Apr 2021 05:42:14 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2F75C3851C27; Sat, 3 Apr 2021 19:41:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2F75C3851C27 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478915; bh=2GlcMmH2kWCQoDG3vdgebvruVwKjcTNBhMWoT9Wxodw=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=B5CZsak2ZTlVe/UX99FYiSaj9b/pB9Xwx7uaQvYxzHOqDyJnWF72SsjZeZWEsfo9V Y+93tzbIdEQ5tSrLILG8i9FZN5BJD93T0oSuQxUk1kv2G24c7aSqbEVDlryUr+CQw/ ZcSJ0I7FDRiaBMM5gQFGqsa66rbjBV3US9gH6Foo= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by sourceware.org (Postfix) with ESMTPS id 918A8385E447 for ; Sat, 3 Apr 2021 19:41:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 918A8385E447 Received: by mail-wm1-x336.google.com with SMTP id f22-20020a7bc8d60000b029010c024a1407so5757501wml.2 for ; Sat, 03 Apr 2021 12:41:51 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=2GlcMmH2kWCQoDG3vdgebvruVwKjcTNBhMWoT9Wxodw=; b=h3ZFpHpbNnA7FBZCNQeCpNCAYySKScbX+k/ET0GNY/DUV7OqVsFa5VO1UELenDx3fx UVvsMr2rxl8Hqy+irZwQTbp+CpMmeiR2CdVhuA9aJlKjZ8uo8cVBR7ZjkUeeg06RIZFd t5GA40slpCcK/ivt+rQLhoUrlcbgHayVMT1agQdcwuDF+mkb4Ekufj3VMLVw68CqUu+V usH+1sPxLQaitMR5GD4Axy+n3whOVLzHHwwr2CsiNvPI1GAVbpeFTS1C2WS4ZoFXc3Zi J/t6kKY8GJACyhiNodVFTk2ZnJBbO2CAwyVILS9cxnW3WU5Q2IxqviJJx49FnTaF4Ii1 gm1Q== X-Gm-Message-State: AOAM531Cf4mslSsRvFjrr+RWXeygLq8Se49JvXJtNFsZ3P6h3V1gP31M jJLlBuj8HDDoRnnbVxYT+Bo= X-Google-Smtp-Source: ABdhPJwdKSdCkg2pIMqt8MWP1yX9YjC8Bxiez6IeLP4zsXythCjDn53cTsq4AYjh/9TfZSoofYuNDw== X-Received: by 2002:a05:600c:2145:: with SMTP id v5mr18388252wml.65.1617478910796; Sat, 03 Apr 2021 12:41:50 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:50 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 04/35] socklen_t.3: New link to system_data_types(7) Date: Sat, 3 Apr 2021 21:39:56 +0200 Message-Id: <20210403194026.102818-5-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man3/socklen_t.3 | 1 + 1 file changed, 1 insertion(+) create mode 100644 man3/socklen_t.3 diff --git a/man3/socklen_t.3 b/man3/socklen_t.3 new file mode 100644 index 000000000..db50c0f09 --- /dev/null +++ b/man3/socklen_t.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 From patchwork Sat Apr 3 19:39:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462016 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=cO+6FZ5e; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS4C1pYVz9sSC for ; Sun, 4 Apr 2021 05:42:19 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C499D3851C33; Sat, 3 Apr 2021 19:41:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C499D3851C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478915; bh=05/KP7vJhvkE2Vr+ZV4ZGftwCp2ksqL5BUThcW4yjm8=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=cO+6FZ5eNpbVjZfAPpkLSiHtOXiXTgp4GGVbpYk99qK4Qt6lnpGoUNyKA+mzF2O+f N88p8BIFjbQx8HuUri8gduXA1/wjqNCeI09oKfZcNwSAFmKqRkyfUzK38zl2WLsdLe vhkr1eckAjnPdUYQckzQXeJuHOmP8RfeHGf+INDk= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by sourceware.org (Postfix) with ESMTPS id 497C8385E449 for ; Sat, 3 Apr 2021 19:41:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 497C8385E449 Received: by mail-wm1-x32a.google.com with SMTP id f22-20020a7bc8d60000b029010c024a1407so5757509wml.2 for ; Sat, 03 Apr 2021 12:41:52 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=05/KP7vJhvkE2Vr+ZV4ZGftwCp2ksqL5BUThcW4yjm8=; b=WLZKI8w5ZwZhTsnD2hL8oJM5PUMyuFm5NZbU2XRoYdJZg48+NyJws92HB0oxtfvzwp V2Mn3bjYDK0rHCeUJ0zo98wktmWfKXbuL7mbb6Sp9GaCBeNwAx4Q7I2A1vH4QSTIQ8hL /qKbbbwLfshogPdKtJ2af2XGLTJehDQiNQtxo8+cSZPjNogWcUBoWByPY15lyUOrLsIm FPy7X5d0TU/NvgP0q/N0TRcvcvZNiYRWA3+/ZaGmGGazmjVA1AdILUs1f4aPf0QQOPlq WG9SOIA+e2WqYCrhYzkH+IniP2aVdr5wP1g4I2jEzBe1x7O92N4ltcfrHa+42mkTChm/ 3zKg== X-Gm-Message-State: AOAM532h8l0HbVmMzciJaGOFEObNOGcvehVGJgP+PfAwbBI3vBQNDDz4 z9tKkzqB4e79lBmmul0JbEc= X-Google-Smtp-Source: ABdhPJw+1kfTp8GmC/kI2SOUEPBF/W7d28/M/aPxf14OzuSpyFFYTQRVy0JTBFalCIIM3mX39q+2bw== X-Received: by 2002:a05:600c:2cd8:: with SMTP id l24mr17890018wmc.88.1617478911506; Sat, 03 Apr 2021 12:41:51 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:51 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 05/35] access.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 3 Apr 2021 21:39:57 +0200 Message-Id: <20210403194026.102818-6-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man2/access.2 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/man2/access.2 b/man2/access.2 index 4a6e28db3..f24a73161 100644 --- a/man2/access.2 +++ b/man2/access.2 @@ -49,15 +49,20 @@ access, faccessat, faccessat2 \- check user's permissions for a file .PP .BI "int access(const char *" pathname ", int " mode ); .PP -.BR "#include " "/* Definition of AT_* constants */" +.BR "#include " " /* Definition of " AT_* " constants */" .B #include .PP .BI "int faccessat(int " dirfd ", const char *" pathname ", int " \ mode ", int " flags ); /* But see C library/kernel differences, below */ .PP -.BI "int faccessat2(int " dirfd ", const char *" pathname ", int " \ -mode ", int " flags ); +.BR "#include " " /* Definition of " AT_* " constants */" +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #include +.PP +.BI "int syscall(SYS_faccessat2," +.BI " int " dirfd ", const char *" pathname ", int " mode \ +", int " flags ); .fi .PP .RS -4 From patchwork Sat Apr 3 19:39:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462017 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=MQjBqifX; dkim-atps=neutral Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS4H1QYgz9sSC for ; Sun, 4 Apr 2021 05:42:23 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7B9E5385142A; Sat, 3 Apr 2021 19:41:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B9E5385142A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478917; bh=q7IOiVrQjHRTRmbdVaEa4LKpd5wHcjiuSaqgIJt7lkc=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=MQjBqifXklsJCIeljhNxUu0U6NHs5bFtIG8MjAkRHgHDWbSW3mvOQSg/od4NBfJNj U9HwCNGAC6FVC/dqSrq/U72rshfq5iwQjR9vRQRtj7RFZ/H9Zuqf/ur5zWV96P9obB nvo70zl5XRjqsl9qYVt7X4NsWgA3UucPIaF+3QtE= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by sourceware.org (Postfix) with ESMTPS id ED703385ED4A for ; Sat, 3 Apr 2021 19:41:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org ED703385ED4A Received: by mail-wm1-x32b.google.com with SMTP id k128so3930647wmk.4 for ; Sat, 03 Apr 2021 12:41:52 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=q7IOiVrQjHRTRmbdVaEa4LKpd5wHcjiuSaqgIJt7lkc=; b=HyJf2lYPaxpGUTd7Kl76RUCQFs3sz5L+AsdiQ5J/tsabOC4w8tDgZw1UqxKoedR70h yLp0+BAI5GFObKp4j6CiD+zgyUaVQD1ZWe9XjWQelN7s+GNVf4DunkhIPTEazDGdO94A wQwlgO2RrWXyoqyXTpaivFbfGK01BS/22WTnHQF2iz4ubJBcTeuGuQID8temJ6VnzYcM RO7IKz93Q2mqf7F7ShVpwsOeXho0yV6hPEI11YOhnaTEg/iTPl7gSdIlCAzr0DXW4TuY rHDki/afNTrpMWni7xOXoiYZXCE9TFNsT+GbMveLOa6B56FSUQFId8dygdhC62Zqzp81 8ilw== X-Gm-Message-State: AOAM532H8HJvkQlPxFl/wceAWVTus4o2Alocojbu4vnHlHsoUAJCi2Uz Yk5VZ8Y44IVXhFRNarmvlcM= X-Google-Smtp-Source: ABdhPJxhYsS2siJ8/778XjpVtskjH0W/ZgqP1J8AoHyNRKY2PtmMuw6TcQv3zmGxgyNPleh+wWiP9A== X-Received: by 2002:a1c:4b0e:: with SMTP id y14mr6638380wma.26.1617478912142; Sat, 03 Apr 2021 12:41:52 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:51 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 06/35] add_key.2: Remove unused include Date: Sat, 3 Apr 2021 21:39:58 +0200 Message-Id: <20210403194026.102818-7-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" was only needed for size_t, AFAIK. That is already (and more precisely) documented in system_data_types(7). Let's remove it here, as it's not really needed for calling add_key(). Signed-off-by: Alejandro Colomar --- man2/add_key.2 | 1 - 1 file changed, 1 deletion(-) diff --git a/man2/add_key.2 b/man2/add_key.2 index f3d803adf..dca44b8e7 100644 --- a/man2/add_key.2 +++ b/man2/add_key.2 @@ -14,7 +14,6 @@ add_key \- add a key to the kernel's key management facility .SH SYNOPSIS .nf -.B #include .B #include .PP .BI "key_serial_t add_key(const char *" type ", const char *" description , From patchwork Sat Apr 3 19:39:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462019 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=SmyGOzVq; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS4X58yTz9sSC for ; Sun, 4 Apr 2021 05:42:36 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0C778385E449; Sat, 3 Apr 2021 19:42:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C778385E449 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478920; bh=jk79jF3k9E6vfPguSO5Yh2Y/ohCtW/UIxIkavyhEbp4=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=SmyGOzVqaNfVa6Tc7p2SyHc/M/TIgXUifAdCU2+oMdsktfZYfLDNiG8ZVhuMR/ut8 PeZzOYC+HKEcaZg/dO+gazGMQ7FGxJkq72WntTK78uoawigL71rp4VrwWUQlMPpgK2 Pb88yWOno7JuexxoyljQ9DvGSxmJoyLSA652GD2Y= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by sourceware.org (Postfix) with ESMTPS id 9FF433851C0D for ; Sat, 3 Apr 2021 19:41:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9FF433851C0D Received: by mail-wm1-x332.google.com with SMTP id p19so3942212wmq.1 for ; Sat, 03 Apr 2021 12:41:53 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=jk79jF3k9E6vfPguSO5Yh2Y/ohCtW/UIxIkavyhEbp4=; b=EzkJAVTDuOAe9ue3ib9j3DKXuVrII9hJ15w2MVRH/L5W23Gptcj8os4LQFSLfm039r QukG7D467nZUAPlYtwmW4bt8PXEyImlqOvBGf1fXgcdyxy/kGhL6IkMwAMcSK705W71U qEgKBa1bPkwGEfyxG60EUGws9l5GY/FyYLObKHu1tIk5Gt0gdrldAty6eEwjOoV8eyKp mIyTJCtFO63vJtSG+J8BpMHR77gJwYDiuEmEZhzA14nr5L5L7uh0ReTok5LvqoxW+Dfa QwU1bMvbpQwh2fMwo7GS8TeoUXVF9jSEI3d0BrxAlDEP/BzX1DueTYZIZ1qZcz6abn/y ZIWQ== X-Gm-Message-State: AOAM530NIgFIKIWXtXHZ4tKVAVtrHeMSFNg8wUQte4a5Nm0ddahb8IuB 8aU8cvu+ExsCPUQVOQgkbfs= X-Google-Smtp-Source: ABdhPJyFVIQn2jzxrp1/6EMdsF49N+BVsdmjjw40pxO936y010MAccvndvd6uNxHgCNn5BriydZWIA== X-Received: by 2002:a1c:43c6:: with SMTP id q189mr18285900wma.80.1617478912846; Sat, 03 Apr 2021 12:41:52 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:52 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 07/35] alloc_hugepages.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 3 Apr 2021 21:39:59 +0200 Message-Id: <20210403194026.102818-8-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" The page didn't specify includes, and the syscalls are extint, so instead of adding incomplete information about includes, just leave it without any includes. Signed-off-by: Alejandro Colomar --- man2/alloc_hugepages.2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/man2/alloc_hugepages.2 b/man2/alloc_hugepages.2 index 07193c542..cc76fc495 100644 --- a/man2/alloc_hugepages.2 +++ b/man2/alloc_hugepages.2 @@ -27,11 +27,12 @@ alloc_hugepages, free_hugepages \- allocate or free huge pages .SH SYNOPSIS .nf -.BI "void *alloc_hugepages(int " key ", void *" addr ", size_t " len , -.BI " int " prot ", int " flag ); +.BI "void *syscall(SYS_alloc_hugepages, int " key ", void *" addr \ +", size_t " len , +.BI " int " prot ", int " flag ); .\" asmlinkage unsigned long sys_alloc_hugepages(int key, unsigned long addr, .\" unsigned long len, int prot, int flag); -.BI "int free_hugepages(void *" addr ); +.BI "int syscall(SYS_free_hugepages, void *" addr ); .\" asmlinkage int sys_free_hugepages(unsigned long addr); .fi .SH DESCRIPTION From patchwork Sat Apr 3 19:40:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462018 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=q7LcCM0c; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS4S4cqbz9sSC for ; Sun, 4 Apr 2021 05:42:32 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 78275386103E; Sat, 3 Apr 2021 19:41:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 78275386103E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478919; bh=mrkfk1quWdjBX9VDibOMAzdhIk8NhlqMcKJaPgXG5vw=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=q7LcCM0c/+Jo0qAsaw/7FuLh82+sqI1fk8gSLi+SdloTx2sYETvKzLk3JDaI6N590 umyfW0YgdmyC/9OT49izX4IKwXjdz8WZ3OdpBa6bHIUAFB828AVCOV8rMEApqJenfC ygBykHe9AaVOqDmi5E+/qywi1GNs58zD5kE6Hn4g= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by sourceware.org (Postfix) with ESMTPS id 566CF3851C19 for ; Sat, 3 Apr 2021 19:41:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 566CF3851C19 Received: by mail-wm1-x336.google.com with SMTP id b2-20020a7bc2420000b029010be1081172so3804769wmj.1 for ; Sat, 03 Apr 2021 12:41:54 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=mrkfk1quWdjBX9VDibOMAzdhIk8NhlqMcKJaPgXG5vw=; b=i9Qa1wXPqirHN3l+hxFrjV9YjVt5t3A6QQApwG5Tult5soCI3vhchEuHOuNgEtONPg p7GgyJz+scwXNJBzrnFn/GzHI+ePEYYrBjDX41haAS/SnRePVL+h1vNuQekrP/9XXuDX K++gYCuBLsWdiwk5AA0se0StQUNI54MVEvMV84O2sQdwYS3mr86WiI4IknUpcugGcaGG Aqjykpo0ZFGaOe5Ytq2Yw+YGZFJ0kSD6vU33KkCFhfSH/0uwLS2lwGlZ1idbVaqFB1eK ilfsnOvT3Zbj35PT51qex46CAlJTK1H2amVvMqPxYf4D+V0ZzLLs8dbzWImUhg9ihBWp rAtw== X-Gm-Message-State: AOAM531pNv7CS2vq9iNaDmwBXIuARxJYTQyGQ1EkJqU9mwQJ38cJzkzk aSnhuOw+OSjjqWYYkzCkcOM= X-Google-Smtp-Source: ABdhPJyG61E8VOsYvZFS+o+IivYLoPJK4N6RLwtIsQvAE3y8TVoA/aiXvjfCbaso0qcdN4cVejbQLw== X-Received: by 2002:a05:600c:2204:: with SMTP id z4mr18813744wml.31.1617478913506; Sat, 03 Apr 2021 12:41:53 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:53 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 08/35] arch_prctl.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 3 Apr 2021 21:40:00 +0200 Message-Id: <20210403194026.102818-9-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man2/arch_prctl.2 | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/man2/arch_prctl.2 b/man2/arch_prctl.2 index 1ddeca595..f8073d625 100644 --- a/man2/arch_prctl.2 +++ b/man2/arch_prctl.2 @@ -27,15 +27,14 @@ arch_prctl \- set architecture-specific thread state .SH SYNOPSIS .nf -.B #include +.BR "#include " " /* Definition of " ARCH_* " constants */" .B #include +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #include .PP -.BI "int arch_prctl(int " code ", unsigned long " addr ); -.BI "int arch_prctl(int " code ", unsigned long *" addr ); +.BI "int syscall(SYS_arch_prctl, int " code ", unsigned long " addr ); +.BI "int syscall(SYS_arch_prctl, int " code ", unsigned long *" addr ); .fi -.PP -.IR Note : -There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION .BR arch_prctl () sets architecture-specific process or thread state. @@ -177,9 +176,6 @@ and in the same thread is dangerous, as they may overwrite each other's TLS entries. .PP -Glibc does not provide a wrapper for this system call; call it using -.BR syscall (2). -.PP .I FS may be already used by the threading library. Programs that use From patchwork Sat Apr 3 19:40:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462020 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=Qmx1QPrd; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS4d0CzQz9sWF for ; Sun, 4 Apr 2021 05:42:41 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8DFDF3861019; Sat, 3 Apr 2021 19:42:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8DFDF3861019 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478920; bh=lKHL7xxGpUL+d+UpVuRwD2E0iUbd5YaO2mOPwYyxNBg=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Qmx1QPrdlGYf9mlEDMIlZwAop2pIZG1w49hiGLbiBdqA5xhVayIuTmdiVDyu4UtgD fARPPBRUzUUDEe2OM8vRmAWy9sGZ+W/ogUYWqfvhFRHDU/XldfNmlYhDj929FX+4NW RpW7iNYCz/UVjVZk20atFqhauHZGFSk7hpt2DoOY= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id EFFD03851C23 for ; Sat, 3 Apr 2021 19:41:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EFFD03851C23 Received: by mail-wr1-x429.google.com with SMTP id i18so4024096wrm.5 for ; Sat, 03 Apr 2021 12:41:54 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=lKHL7xxGpUL+d+UpVuRwD2E0iUbd5YaO2mOPwYyxNBg=; b=qTE396pwMUMSnV9ptcyLeVy/x5bDdGymS5ycBPIYjRYnx4Mmza0fhvpzbryT/vcCi+ RdAkxicmbjKL+mPvSBjOQb0IUtQVJ8HbkFfZBKzjmQ+HnGSBPRp989NVkjob03zIXc1H nkKpDYWekwhPwFDJ2dC0d8HwMMBXbRsu3gKF39cq0tghz4ZgQj1sbzQG6hzO0UVfqPM0 r+lU+GcFBzC+5fqLnDIQtEuDb85WAoEXfUGXjYIaM6RcZuxZKKXXr5yGsS2SX0/3s9J0 t6KVfD5lQ7nwNLhE0AJOaMfJhOGIwUJ57aOWBguLNClZNdOAIAmGu9IYw5FbcJ+8Ukt7 Gk6A== X-Gm-Message-State: AOAM532cMsoRZazAlY1BmF+pzhOYvDdoS9LXiAi2+CLuYvPjcDPxJiuu 6M4Ca+eQ5ZPUBoD+Cfh6VpA= X-Google-Smtp-Source: ABdhPJx16CYOC3/VDx0+5cm8nEcvxSxXJDpOhOZEtX0txayCDf5UZBJRLm52iUU1ZPwJov3ouL6jcA== X-Received: by 2002:adf:f083:: with SMTP id n3mr20959204wro.134.1617478914199; Sat, 03 Apr 2021 12:41:54 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:53 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 09/35] arch_prctl.2: SYNOPSIS: Remove unused includes Date: Sat, 3 Apr 2021 21:40:01 +0200 Message-Id: <20210403194026.102818-10-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" AFAICS, there's no reason to include that. All of the macros that this function uses are already defined in the other headers. Cc: glibc Signed-off-by: Alejandro Colomar --- man2/arch_prctl.2 | 1 - 1 file changed, 1 deletion(-) diff --git a/man2/arch_prctl.2 b/man2/arch_prctl.2 index f8073d625..7ae5b350c 100644 --- a/man2/arch_prctl.2 +++ b/man2/arch_prctl.2 @@ -28,7 +28,6 @@ arch_prctl \- set architecture-specific thread state .SH SYNOPSIS .nf .BR "#include " " /* Definition of " ARCH_* " constants */" -.B #include .BR "#include " " /* Definition of " SYS_* " constants */" .B #include .PP From patchwork Sat Apr 3 19:40:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462021 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=RaerZait; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS4j1JzPz9sSC for ; Sun, 4 Apr 2021 05:42:45 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7CB6D386102C; Sat, 3 Apr 2021 19:42:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7CB6D386102C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478921; bh=95FmrA4H8nqvZ9OQeG4Dh0kLkA1VLnSc6nqAgxvFvvI=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=RaerZaitZoe6bxLwqkxqY0rqTaey+yFbWnebIsPA03mNxA71bcgE1npw36U14q68P vdtlsvhnbZSs7iE5WfiBzrxwIcG3c11D7QMxOwndiR1nSnMZLHJvLgWrnVQuKgNZbC drQ//hGQuRXnjkgjMc/bvoJZ42CT+BerTP80qYnI= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by sourceware.org (Postfix) with ESMTPS id A45C13851C2E for ; Sat, 3 Apr 2021 19:41:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A45C13851C2E Received: by mail-wm1-x333.google.com with SMTP id o6so985903wmq.3 for ; Sat, 03 Apr 2021 12:41:55 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=95FmrA4H8nqvZ9OQeG4Dh0kLkA1VLnSc6nqAgxvFvvI=; b=OCFVTp2RB2gMi2EVtuhTXN24khweHPBUIgIfxWE+qjTNDBIFG1ztiDbT4R77mDMvdK fK1lKK0EIpltskZMJs4VIfwBNk3Rl26QsgeDEiROU8fUlsMAFPbJFXcrdGuTbu3ulqwM ScFay/ceQ3jcU2twPi4HO0BCpQ5w+QKGS22TO/dttIKJa2BTDxeVQ6mv6B7iam3t2iBy JfJWYEXeCG2S1cPyVj4lr8Mt7RtesTNrkKEIr/OQmJQTN6qkrFqH5BTwduSEC06fyXZb WR8R+9Tc8izB4/0fR2KI2DVrWjBwq8hna12iHxzoHjc8jYDMUINzmBoYvlkYhwNIfs4l Vgnw== X-Gm-Message-State: AOAM532RcoYfKjepIy5gEPsrOsG6zS7wz4MIdUCidzkNF4qOnaJCxvL/ AU6wKZcEplCKpjySz/yGNV8= X-Google-Smtp-Source: ABdhPJzqDY2H5NrMbSTMjulx42xFm0sZfES2Puw2rd2NfsamGL044rxjbyqq5ENXypVRERUqi9VKTQ== X-Received: by 2002:a7b:c119:: with SMTP id w25mr17764850wmi.127.1617478914870; Sat, 03 Apr 2021 12:41:54 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:54 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 10/35] capget.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 3 Apr 2021 21:40:02 +0200 Message-Id: <20210403194026.102818-11-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man2/capget.2 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/man2/capget.2 b/man2/capget.2 index 6de51b72c..a2d897cc7 100644 --- a/man2/capget.2 +++ b/man2/capget.2 @@ -18,14 +18,17 @@ capget, capset \- set/get capabilities of thread(s) .SH SYNOPSIS .nf -.B #include +.RB " /* Definition of " CAP_* " and " \ +_LINUX_CAPABILITY_* " constants */" +.B #include +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #include .PP -.BI "int capget(cap_user_header_t " hdrp ", cap_user_data_t " datap ); -.BI "int capset(cap_user_header_t " hdrp ", const cap_user_data_t " datap ); +.BI "int syscall(SYS_capget, cap_user_header_t " hdrp , +.BI " cap_user_data_t " datap ); +.BI "int syscall(SYS_capset, cap_user_header_t " hdrp , +.BI " const cap_user_data_t " datap ); .fi -.PP -.IR Note : -There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION These two system calls are the raw kernel interface for getting and setting thread capabilities. @@ -40,7 +43,7 @@ The portable interfaces are .BR cap_set_proc (3) and .BR cap_get_proc (3); -if possible, you should use those interfaces in applications. +if possible, you should use those interfaces in applications; see NOTES. .\" .SS Current details Now that you have been warned, some current kernel details. @@ -239,9 +242,6 @@ No such thread. .SH CONFORMING TO These system calls are Linux-specific. .SH NOTES -Glibc does not provide a wrapper for this system call; call it using -.BR syscall (2). -.PP The portable interface to the capability querying and setting functions is provided by the .I libcap From patchwork Sat Apr 3 19:40:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462023 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=uesPv2Dq; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS4r4lghz9sSC for ; Sun, 4 Apr 2021 05:42:52 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 990EA388A409; Sat, 3 Apr 2021 19:42:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 990EA388A409 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478922; bh=EpXhDfjANekpqRoKyHYo29H6mLCXF+4mapysiZHKSf0=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=uesPv2Dq6Zd2S8g0kbk+ZSP9LWsp5CdayqYLX4FnHN4nmZ9r0kdXQMB1fxwQ6R4YS ZL4gwY91kJm9EnRlQfq5kNhk4JqnMAldz+2oUoUjy7ek//2P4/rioyHodvNLII8W+o B5oH5fw5mTMtUPO+7qNY+/e6cyVc6K0mx8VMDKaY= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by sourceware.org (Postfix) with ESMTPS id 5C66A385141D for ; Sat, 3 Apr 2021 19:41:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5C66A385141D Received: by mail-wr1-x435.google.com with SMTP id k8so7489345wrc.3 for ; Sat, 03 Apr 2021 12:41:56 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=EpXhDfjANekpqRoKyHYo29H6mLCXF+4mapysiZHKSf0=; b=VGJVWNdk8v/hLJa08PQ78JxOwjrzR1S3mKkq8WAqKHSupigrOE4EJdexj/ZHpOeEnY lb4hCHq4sUZZUhQSu4e7qaN/5+8grXw8Umk6U2jcm2twXXyZE1/7VbiANaHX4PlOSkIx b21+QIc3jTkR7ZjCfTbPiJk5ka5QBfHoGvwyea2Gp04EePL8XZ8cKEewp8iyZs44/CDO 9CFR2B6YaSihV+nOIYs3BxmuKnDAkbZkXIcMgsCXoPBFzQLWzTDT4kaOz3+9FrUkmV26 8Rpqj5353lyUkjV6i3IT6V/K4wkWDdXbpquYcUU6OMsigWXKVff68pk7ajh3BpRo2wJD NkbA== X-Gm-Message-State: AOAM5333SYA+qDmwG55Ca+XNtB0HGPADM1Fww6P/eO84rkGOQE7vTdUY uR2Dwe2YPZUSGmC0vlHDREG2RqxLkmY= X-Google-Smtp-Source: ABdhPJy41U8XiJjHK95H389nPVcIFu2uaXQ7SkV6lQVZJJDYCSVP02Od9i1SkQd/FkfXd8wL1/c3jQ== X-Received: by 2002:adf:e5c8:: with SMTP id a8mr21799355wrn.352.1617478915559; Sat, 03 Apr 2021 12:41:55 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:55 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 11/35] clone.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 3 Apr 2021 21:40:03 +0200 Message-Id: <20210403194026.102818-12-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" The CLONE_* constants seem to be available from either or , and since clone3() already includes for 'struct clone_args', is not really needed, AFAICS; however, to avoid confussion, I also included for clone3() for consistency: clone() is getting CLONE_* from , and it would confuse the reader if clone3() got the same CLONE_* constants from a different header. Signed-off-by: Alejandro Colomar --- man2/clone.2 | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/man2/clone.2 b/man2/clone.2 index fa7d1103e..f455c97d8 100644 --- a/man2/clone.2 +++ b/man2/clone.2 @@ -56,13 +56,13 @@ clone, __clone2, clone3 \- create a child process .PP /* For the prototype of the raw clone() system call, see NOTES */ .PP -.BI "long clone3(struct clone_args *" cl_args ", size_t " size ); -.fi +.BR "#include " " /* Definition of " "struct clone_args" " */" +.BR "#include " " /* Definition of " CLONE_* " constants */" +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #include .PP -.IR Note : -There is no glibc wrapper for -.BR clone3 (); -see NOTES. +.BI "long syscall(SYS_clone3, struct clone_args *" cl_args ", size_t " size ); +.fi .SH DESCRIPTION These system calls create a new ("child") process, in a manner similar to @@ -1541,11 +1541,6 @@ One use of these systems calls is to implement threads: multiple flows of control in a program that run concurrently in a shared address space. .PP -Glibc does not provide a wrapper for -.BR clone3 (); -call it using -.BR syscall (2). -.PP Note that the glibc .BR clone () wrapper function makes some changes From patchwork Sat Apr 3 19:40:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462022 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=QAXsQ1US; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS4n0ghyz9sSC for ; Sun, 4 Apr 2021 05:42:49 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0C2A6388A405; Sat, 3 Apr 2021 19:42:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C2A6388A405 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478922; bh=TV1ZaGzpzoXjid5LXMYW52L7tDzb+jhqCC6Ks0Q7om8=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=QAXsQ1USOjWaJ3Gu8fKPl2/Ko+iCeKEsXwPaewD0s0gOZ+cWPCfarOVyRYnJNiKkU kJQ9g1AkF33XkUPzqcy/GdbiK+VO8X2CKU1qsXoPvPA5w/SXKLd/JbpxXFTDFt9GBy JBRpVtJH9MXVgHajeA9YQrTrvgG698FAvzH1AgiA= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by sourceware.org (Postfix) with ESMTPS id F03FA385E019 for ; Sat, 3 Apr 2021 19:41:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F03FA385E019 Received: by mail-wr1-x42e.google.com with SMTP id v4so7456445wrp.13 for ; Sat, 03 Apr 2021 12:41:56 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=TV1ZaGzpzoXjid5LXMYW52L7tDzb+jhqCC6Ks0Q7om8=; b=ef9wV3WzHhTjaYUwkK+u46DL+lDMiU4OpcyWRVyuBVFv6utMz/m2Hqu7/p5qIhWRkg oSNZvZxyGIdoovDgZHqEU5ScnjnApdbiPbpggAhxSuh38cAVNW9G68/+VhWzfoTZCyCa Ho63GU+stayFiRmZu1oAtW7/QnTijZnYpfyXcj4Kuwd/qgvESku2aaY4Y+RxdApBrWpj fgOM4MzwR00Rmz7I0hqgrBlhlg90eRBwzA3Xu3ypSUq3/RK0S1z6IcXk4bWN5c5wAm2d U7tiUUrlihJ1xSHKYorf7Z1G+QaDblI0LmoLi9DzmV3vT8uVDCK6KCQCRYWhKHD48zrI GlSA== X-Gm-Message-State: AOAM530eYQoUxqPXdH3QMucSW4v9ZdUwBm/HMhT5sDGmVH4NiihLiw3j 0+q2HuZ563/ZHPekfMr/pN8= X-Google-Smtp-Source: ABdhPJxc+JMRjSHdkwCgDMUqJf+SW9syuxKbgmiRTchlLNpKo+p5d7u/VRugpx0zrX7jlmle3m/Etw== X-Received: by 2002:adf:ea12:: with SMTP id q18mr21290409wrm.238.1617478916196; Sat, 03 Apr 2021 12:41:56 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:55 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 12/35] delete_module.2: Add missing include Date: Sat, 3 Apr 2021 21:40:04 +0200 Message-Id: <20210403194026.102818-13-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man2/delete_module.2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/man2/delete_module.2 b/man2/delete_module.2 index bb0a812a6..174ef04d2 100644 --- a/man2/delete_module.2 +++ b/man2/delete_module.2 @@ -27,6 +27,8 @@ delete_module \- unload a kernel module .SH SYNOPSIS .nf +.BR "#include " " /* Definition of " O_* " constants */" +.PP .BI "int delete_module(const char *" name ", unsigned int " flags ); .fi .PP From patchwork Sat Apr 3 19:40:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462024 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=VzeQ40tY; dkim-atps=neutral Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS4w4byJz9sSC for ; Sun, 4 Apr 2021 05:42:56 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2909E388A40D; Sat, 3 Apr 2021 19:42:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2909E388A40D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478923; bh=ch5eqq1avqKbROCSo5D535aJuRy/ICKQTAFg9B9mLAY=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=VzeQ40tYwWmWk1RfpaBQnCIvGQ66YULpMJf8CBxzEuf7svWfrYffRKg4gj/5qMFHg 7xKjkynyboojbH7HBSy6nAPY6pPj72SLTDd1YmEI6hEYKMozeKoD8QWuT7mwibRF6l vMx+x3HzYwIXg8/UNwnp3D7GVENIVEp6+rnjK5gU= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by sourceware.org (Postfix) with ESMTPS id B53FA3851C0D for ; Sat, 3 Apr 2021 19:41:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B53FA3851C0D Received: by mail-wm1-x32b.google.com with SMTP id p19so3942271wmq.1 for ; Sat, 03 Apr 2021 12:41:57 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=ch5eqq1avqKbROCSo5D535aJuRy/ICKQTAFg9B9mLAY=; b=XIXl1/SnQBu/9+uBqKlCppol4dFCOTAttk/DNIYqVxJlLBvtViLFHFrMtHQMwgk0XC ZnVgc3hxDh8cEAvwRO22ivzfB4ZlYvCsBL3Acf9hmcq1afAPG6tEnPVYn7DXkjJhizDc ivwR+LEeXy9dOSJ86Ia7mjBf+ZfUypUX+QWkNLHOzcCcFWZpEwwAVbXn7Se6s6URQfnS xyEWFQUBVEzVQ5xeJXnP4HgYzxJ/KV38uLSvFmmLKiphkWn1hMa8b0umdXSthX11VgSs NkUfXV7SgGe5hvK4KimyYIxK41cVgTW60O9zakSfN6n/ZCygS+p8JQK1q65oI4Xm5zzO fJNg== X-Gm-Message-State: AOAM530BxUExZMt2+xClsC3JJYV5nWo+P4XV5aSHbu1t754f6Lk7E7Nm zHpBoA6gIvWvNdLui3x63+o= X-Google-Smtp-Source: ABdhPJyVYI9DIheGbrRCThZjvhuS8HEToEcli8x0lkT6ChrMQejyQienwf7as3uVQHM1RvcOkUGLQw== X-Received: by 2002:a1c:4b15:: with SMTP id y21mr18656342wma.94.1617478916908; Sat, 03 Apr 2021 12:41:56 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:56 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 13/35] dup.2: SYNOPSIS: Use consistent comments through pages Date: Sat, 3 Apr 2021 21:40:05 +0200 Message-Id: <20210403194026.102818-14-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man2/dup.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/dup.2 b/man2/dup.2 index 725b9d7d5..b9e0828b0 100644 --- a/man2/dup.2 +++ b/man2/dup.2 @@ -45,7 +45,7 @@ dup, dup2, dup3 \- duplicate a file descriptor .BI "int dup2(int " oldfd ", int " newfd ); .PP .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" -.BR "#include " " /* Obtain O_* constant definitions */" +.BR "#include " " /* Definition of " O_* " constants */" .B #include .PP .BI "int dup3(int " oldfd ", int " newfd ", int " flags ); From patchwork Sat Apr 3 19:40:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462025 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=Heh6541E; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS5059t9z9sSC for ; Sun, 4 Apr 2021 05:43:00 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id ADBB53851C1B; Sat, 3 Apr 2021 19:42:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ADBB53851C1B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478923; bh=JXWn8Nd3MCs94z9YfHZPmIU6x0WwZCWfTr+hRs6FLmw=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Heh6541E8XmRegvrT4N1tLpDhC/zErOYT1A39XXxZk0RftnBkt0rxM1wO0SZ5KmfC kDWGzn3RKHmkYVM1tVuozCekoyKxW4I1ZqlMNFTpD+BV8ktfGk583kSDqS0rZ16AsV TctEFqGOqUo5HSOwVz9lQ4TnzD7WjhWg+WY6hKmc= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by sourceware.org (Postfix) with ESMTPS id 653033860C30 for ; Sat, 3 Apr 2021 19:41:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 653033860C30 Received: by mail-wr1-x42d.google.com with SMTP id j18so7479775wra.2 for ; Sat, 03 Apr 2021 12:41:58 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=JXWn8Nd3MCs94z9YfHZPmIU6x0WwZCWfTr+hRs6FLmw=; b=qlsr5WeptRnxnd6SPq5j9VPzy6dfjjq+CWHJsDWK6GszcouN35yYqUsBvxSNS/Tnpa vFxTdfg1v4tzem38IysT+z3J3ywOy/idOjvDYxuVNi21YNvhISC5VtfDj0PaYiMvcNQE E7a18Gi+1dqAoMvt1a28HShCgs6q90S+ZEaWvfrkCb9DvmQG5i4i0Vlv0/49gJwDQirO WmYGtRQJlDYioRVBF0uBcmXYy+Z4Xthq4bmT9Kj0XsZmdsVs3ImvigLvn6Soyg0ooqN5 BBSf6LqygEkrBloYLZ4HsIzTKY8522yrcftLr6EeEtkCDyScVGBqC1xJjZqXhkO3RbQC KYvA== X-Gm-Message-State: AOAM53246pVZ4SZbnCSE26FwJyrMPylcYbaj3Y8kRxZdYXRgx+Lqo/0/ ENWlo/SLLlvnJ66dZ+xLoXc= X-Google-Smtp-Source: ABdhPJxQLEArSc3cLGbNLZCtQQVLIyLQZ9FiatQrB5VPOeO2lYt+YYMmQ6bxF+kFKVkYG/4tWj6qBg== X-Received: by 2002:a05:6000:147:: with SMTP id r7mr21618052wrx.25.1617478917622; Sat, 03 Apr 2021 12:41:57 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:57 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 14/35] execveat.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 3 Apr 2021 21:40:06 +0200 Message-Id: <20210403194026.102818-15-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Add , which contains AT_* definitions used by execveat(). Signed-off-by: Alejandro Colomar --- man2/execveat.2 | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/man2/execveat.2 b/man2/execveat.2 index 855832765..c566f53df 100644 --- a/man2/execveat.2 +++ b/man2/execveat.2 @@ -28,15 +28,14 @@ execveat \- execute program relative to a directory file descriptor .SH SYNOPSIS .nf +.BR "#include " " /* Definition of " AT_* " constants */" +.BR "#include " " /* Definition of " SYS_* " constants */" .B #include .PP -.BI "int execveat(int " dirfd ", const char *" pathname , -.BI " const char *const " argv "[], const char *const " envp [], -.BI " int " flags ); +.BI "int syscall(SYS_execveat, int " dirfd ", const char *" pathname , +.BI " const char *const " argv "[], const char *const " envp [], +.BI " int " flags ); .fi -.PP -.IR Note : -There is no glibc wrapper for this system call; see NOTES. .\" FIXME . See https://sourceware.org/bugzilla/show_bug.cgi?id=27364 .SH DESCRIPTION .\" commit 51f39a1f0cea1cacf8c787f652f26dfee9611874 @@ -209,9 +208,6 @@ the natural idiom when using is to set the close-on-exec flag on .IR dirfd . (But see BUGS.) -.PP -Glibc does not provide a wrapper for this system call; call it using -.BR syscall (2). .SH BUGS The .B ENOENT From patchwork Sat Apr 3 19:40:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462026 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=x9Eo5+2w; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS546F2Mz9sWF for ; Sun, 4 Apr 2021 05:43:04 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3EDC3388A406; Sat, 3 Apr 2021 19:42:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3EDC3388A406 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478924; bh=q0jKLIqj3qeyEIhaBjfiAz+YCJa/50JK+Uxol1J6xcg=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=x9Eo5+2w78+vB4I/hnI36E8N1Ye5GGDJWqFJRz0mbDrSwnIOerhGWtAxc2LR3G0h0 N4x9YM1mG9dalwTM5WmLV0syG+Tow8Niot8rqW2fxO0FzCLXGXzuFSmtXHJXFb26LN fH4U2skVmSoR7+QH90zh8aj1+bdj4dqp2Z7KM0bY= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by sourceware.org (Postfix) with ESMTPS id 0C0E0385141D for ; Sat, 3 Apr 2021 19:41:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0C0E0385141D Received: by mail-wm1-x336.google.com with SMTP id o6so985931wmq.3 for ; Sat, 03 Apr 2021 12:41:58 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=q0jKLIqj3qeyEIhaBjfiAz+YCJa/50JK+Uxol1J6xcg=; b=GdMA65BAtfJM4uRxLyRT9D4T+ymOfrCM/hN2lU3Fm5WUW3se4j0pZgdLNLrOxzv0t3 yYQDGXmITmpGG2icTVCwUJ+NVTaFHnwxFZvIf6GyaBbkAaI06zFdGWT1lPofxEEsvyyj fG2rzUVVTp25adYq+By6E7aadRsmx0Zn6ttKtuvBeIMW7fpbCQZd5NutAqgG5iXy5qaH o6NgfebetA4HGamVXe/k9ogGC0kB0+WWSYnTBsKac0wp3TMMCOOOvyM61A0EnFi5ulV4 12qloBPcIzaCEZtmFkrpcSEUYozAG7tKZFSr9ywVfCLKTRhOmM2PySlXl29u0jJLvbE0 PprQ== X-Gm-Message-State: AOAM530e1J01jdQ8dGLt/5sk8ZAU+QROe4yHsyY+DOMk5s2tobQgaWH4 FsDVESuCIr7uhMK0N+9jhW8= X-Google-Smtp-Source: ABdhPJzKcCuvuLncmuk7yiEEDa6ELlHMjK4bOnFVdexHfbGaMdMxUIA4Wb+7+gX7WA1oAJp04Rod0Q== X-Received: by 2002:a1c:9a02:: with SMTP id c2mr2796449wme.131.1617478918271; Sat, 03 Apr 2021 12:41:58 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:58 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 15/35] exit_group.2: Use 'noreturn' in prototypes Date: Sat, 3 Apr 2021 21:40:07 +0200 Message-Id: <20210403194026.102818-16-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" This function never returns to its caller. Signed-off-by: Alejandro Colomar --- man2/exit_group.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/exit_group.2 b/man2/exit_group.2 index d26ec8c70..4fd314262 100644 --- a/man2/exit_group.2 +++ b/man2/exit_group.2 @@ -29,7 +29,7 @@ exit_group \- exit all threads in a process .nf .B #include .PP -.BI "void exit_group(int " status ); +.BI "noreturn void exit_group(int " status ); .fi .SH DESCRIPTION This system call is equivalent to From patchwork Sat Apr 3 19:40:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462027 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=iSsdvhvj; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS586FbFz9sSC for ; Sun, 4 Apr 2021 05:43:08 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3E3A33851C07; Sat, 3 Apr 2021 19:42:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E3A33851C07 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478925; bh=PmEQnn7Rc35IBLQYixL7E97gBoLlm/QBiyhyexZdivM=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=iSsdvhvj2g51ny0s97+mbboP8ni1w+nWSse3EsQo9gHTelNCLzSbL+Sj0DMI4oJ1i ywj6MclD937RTz/a7XTapWpf43nttFWuCtONOAkx2H9rGCqu4622qswEWAg10dlXw4 GRHZ3j0XUfvTuRIE8s4fLfkWVi5gOC4gEelxMr3U= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by sourceware.org (Postfix) with ESMTPS id B68033860C38 for ; Sat, 3 Apr 2021 19:41:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B68033860C38 Received: by mail-wr1-x432.google.com with SMTP id i18so4024205wrm.5 for ; Sat, 03 Apr 2021 12:41:59 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=PmEQnn7Rc35IBLQYixL7E97gBoLlm/QBiyhyexZdivM=; b=OA30D5Qx/Lp+P0n1cEg3ZybJ72a270ImYU+vwnBxK68U2u6lz7MRTm8WSr5NVCmHmX 5xt/TB9T3EfdpZzI/AJoaVAbZE4R9caS0+VUA9YcQTPtM2vd+mKGEajH0AoWbb9yN3MB suAAxNOexct1AzNkSbBRirbV9Prj+7oQj+Vk4XKpJ+L3l3WZARMLJiiQYlz/u4+JN1eQ WW0gKS7lNNbhD4zQwfpOHcmiaWDAW1OEshX9uIy9U5hTHYKaMPv35CcqavRuk2PsMwsq t9KhMfrexVNR3UV6YdMTCWmVC4y2gq8JOq5HOh48zbCq2EiUm4aRlrqWs3e4oCCVoWU3 RPUg== X-Gm-Message-State: AOAM532IZAoWHcFEbNS4FfRDUH7ia4gQfeOGdkmpFFd2d/kNBWBj4Hbn U+uGWIpBry5WBiEhx4xDTIs= X-Google-Smtp-Source: ABdhPJzIQfKM5liD2Z7nrx4axfH956SydppGl6T3p/r0phFev4wQ+tMwEl/XfPYmuVD0nah+YfMgTg== X-Received: by 2002:adf:f40e:: with SMTP id g14mr21513354wro.174.1617478918975; Sat, 03 Apr 2021 12:41:58 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:58 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 16/35] exit_group.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 3 Apr 2021 21:40:08 +0200 Message-Id: <20210403194026.102818-17-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" is not needed. We need for syscall(), and for SYS_exit_group. Signed-off-by: Alejandro Colomar --- man2/exit_group.2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/man2/exit_group.2 b/man2/exit_group.2 index 4fd314262..b512927d4 100644 --- a/man2/exit_group.2 +++ b/man2/exit_group.2 @@ -27,9 +27,10 @@ exit_group \- exit all threads in a process .SH SYNOPSIS .nf -.B #include +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #inlcude .PP -.BI "noreturn void exit_group(int " status ); +.BI "noreturn void syscall(SYS_exit_group, int " status ); .fi .SH DESCRIPTION This system call is equivalent to From patchwork Sat Apr 3 19:40:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462028 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=AwNkD/eL; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS5D6VlSz9sSC for ; Sun, 4 Apr 2021 05:43:12 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C2942388A415; Sat, 3 Apr 2021 19:42:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C2942388A415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478925; bh=8sXcJxfoGscdez3mIIgG0Vwgw6xUHy5fJqoPTId1UhU=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=AwNkD/eL+lu2y/HjEYGnb1RvlTEx6O55i+tlpfqoOawfj2Sok6D/yyHNn1BuLoOVI xWBP1s+tWraTTXwpfovMjolEJFB4wclhkFJES/iZ5tEkQ+MBVqjhs3c5RiECRqNitS FVTCRyhy9/KZbXfD0piWTM9JMHBP4GwbdzIQsrw4= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by sourceware.org (Postfix) with ESMTPS id 643C3386101F for ; Sat, 3 Apr 2021 19:42:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 643C3386101F Received: by mail-wm1-x336.google.com with SMTP id g18-20020a7bc4d20000b0290116042cfdd8so638545wmk.4 for ; Sat, 03 Apr 2021 12:42:00 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=8sXcJxfoGscdez3mIIgG0Vwgw6xUHy5fJqoPTId1UhU=; b=OUydkSWrskhhlEJnGrJ11W0/hjjItbiv7cEzzu9VYoTZui2lQGLQ9AEPuPz+8IzAP/ b1RasMcO8MaBd+X/YeoKLMvwQ/qjhADvofeZ2K43B+jNYLlB2oBpovuHSJa50G6yaT9P rWm7IvfYnKFR6pKGdxIYrmLe1sox2RwsrnAP5HgQpwXLKKTcTbHUu522Q+TSaG/OHbdI 5PLZ21qKRCZ8plsgYeXRmO/7kfB2+JaZd8ODamayVJGAZHSFOHX42DSpHkWy4JiEFiOl NCj62FuE41+MyR4scm7GcinxLmkhoo88IWDnDBVUsX3fbX8b51CvQcs0EJUd8gOnb6e7 +P6w== X-Gm-Message-State: AOAM530S3RPWUszWuHZnwSGUIE6oMhEZHHIogo65gTdbQGRWmaClECY0 GY9KtBghGs41O1mC+cB78VY= X-Google-Smtp-Source: ABdhPJzp3ft/6ObO1L1nyY1AMtbgfDkh8Gr375lvaGHf4XId8iMl21VDImY112QtbahrpSfgYj7XQg== X-Received: by 2002:a1c:9a51:: with SMTP id c78mr7253898wme.160.1617478919629; Sat, 03 Apr 2021 12:41:59 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:59 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 17/35] fanotify_init.2: Add comment: why more than one include is needed Date: Sat, 3 Apr 2021 21:40:09 +0200 Message-Id: <20210403194026.102818-18-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man2/fanotify_init.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/fanotify_init.2 b/man2/fanotify_init.2 index 2418bbdd2..2b44fc6ec 100644 --- a/man2/fanotify_init.2 +++ b/man2/fanotify_init.2 @@ -26,7 +26,7 @@ fanotify_init \- create and initialize fanotify group .SH SYNOPSIS .nf -.B #include +.BR "#include " " /* Definition of " O_* " constants */" .B #include .PP .BI "int fanotify_init(unsigned int " flags ", unsigned int " event_f_flags ); From patchwork Sat Apr 3 19:40:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462029 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=JytSR2rL; dkim-atps=neutral Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS5J3Dmrz9sSC for ; Sun, 4 Apr 2021 05:43:16 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 55CB1388A412; Sat, 3 Apr 2021 19:42:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55CB1388A412 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478926; bh=fwhwr6f7qb06ZDUqOxxmDfgFb3kytZmjcBLKXopOTrs=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=JytSR2rLvJ4AaQ0ntChy3RjnVLFOSq32/WX69PFUYPrjgGq3ENJ1yv3ldPXTnuPJd odOqAwpL6t+mYdjEQ9Czt2Uy1Qk1+//XWLXVo40eBk1UQ9oav49oc+NUuNn5KxY2qE YIpKXtjVIvP5lGip+zL20H3YUmjsZDL53VybXLPo= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id 08A043861026 for ; Sat, 3 Apr 2021 19:42:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 08A043861026 Received: by mail-wm1-x330.google.com with SMTP id j4-20020a05600c4104b029010c62bc1e20so3804584wmi.3 for ; Sat, 03 Apr 2021 12:42:00 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=fwhwr6f7qb06ZDUqOxxmDfgFb3kytZmjcBLKXopOTrs=; b=fIt5tBnu38aM10WkGgxkRrdWixWSHT12VsWp+4NCBl/gTKPOeqeQUExt0wArMri/2M /zPWoeTo17spQMhf1giAsb5Tj3n7vCoboGYRaB2hWiugDsyEm/tBBahLK6qOBpmsPu2j EeuAspfVa2T4CjM3qbGSPufqVsmAUvFG9nzHWj6UQj8xZzHSQr98rh2dDS/iBWrH72MA dLDN6F1HGyPMd5q9Yav3VrzIz7O8bgH369MmGyfFixsVwc6wbihrSzN2lwMlGh05cX7B 4R+42fXx/HmEWbPduS1sVX7m7tJiijewehzEcp3UoMZmNTlxcBJ6biQ+hHxDeiOz9jUI r3yA== X-Gm-Message-State: AOAM5323jBAwW7Qjp4Qa1N1tq7yz0F/h/tQ4pBujDxfTfkwTwtevztrq pGhHkTFUEXt+4W+/EHqXomk= X-Google-Smtp-Source: ABdhPJxnPtB2HN5kUG275PWcoBGZgZS24y+7eIBqTtRlHwJZXHvZb1+v085dDGj1phQehXlJIM0VuQ== X-Received: by 2002:a7b:c385:: with SMTP id s5mr17366824wmj.17.1617478920257; Sat, 03 Apr 2021 12:42:00 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:00 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 18/35] fcntl.2: Remove unused include Date: Sat, 3 Apr 2021 21:40:10 +0200 Message-Id: <20210403194026.102818-19-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" I couldn't find a reason for including . All the macros used by fcntl() are defined in . For comparison, FreeBSD and OpenBSD don't specify in their manual pages. Signed-off-by: Alejandro Colomar --- man2/fcntl.2 | 1 - 1 file changed, 1 deletion(-) diff --git a/man2/fcntl.2 b/man2/fcntl.2 index de87eec1f..7b5604e3a 100644 --- a/man2/fcntl.2 +++ b/man2/fcntl.2 @@ -69,7 +69,6 @@ fcntl \- manipulate file descriptor .SH SYNOPSIS .nf -.B #include .B #include .PP .BI "int fcntl(int " fd ", int " cmd ", ... /* " arg " */ );" From patchwork Sat Apr 3 19:40:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462030 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=gEKIwoby; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS5N5qRzz9sSC for ; Sun, 4 Apr 2021 05:43:20 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E38373851C26; Sat, 3 Apr 2021 19:42:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E38373851C26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478927; bh=V5uiLR+ON/9jELwFRyhOf85vS9zd2T+icii+8Xp6azA=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=gEKIwoby5LTBaPmRrmOtdMqr4e9rECaiRp7SAmupXBG6OhjUmNZurzbwdPvrRs42t JbYpTeBYsdHhRey/sSYslhdLYCVOtc9epJU7UjUsCDg2uIsL87Nb9pd5VatpvrhPJE wwYg60/byJ2a/ptCh6W0Nsx5copfPNhbKZ8VP8qM= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by sourceware.org (Postfix) with ESMTPS id AC7AC385041D for ; Sat, 3 Apr 2021 19:42:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AC7AC385041D Received: by mail-wm1-x32f.google.com with SMTP id f22-20020a7bc8d60000b029010c024a1407so5757629wml.2 for ; Sat, 03 Apr 2021 12:42:01 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=V5uiLR+ON/9jELwFRyhOf85vS9zd2T+icii+8Xp6azA=; b=TQS87A9Q08fAPYgLLcsa2lalmyt9BzcFo2hAZGDKmSM9U2KwTc3FNnNO+oqKume0od Bk1Mj+lsEmSRAq8kHLgjiizMQB+RKTKT5Vs57r8QzlGvAM1dNJavLCX2xTLVH7wyiPiP mD15ipahnPXyVoXjgsgJmmDmOzF5N1afZOY4MikLQlgGFwzJTqk1Tq6hjv5y9TQcDmYB P18R3x0lWbaT3mS+DzGEuU2x7HxF7V0e4b+BOD7Ys+NaWJZYSlGX74etzUT60v2bI/pb aDB/nfL8FMs1xLk50CEM2HBYkRMzNfXTFTRpMxbt/rFcOpqBcvZBCvLnPsXJkH5V5y7i vauQ== X-Gm-Message-State: AOAM533bXbKghnBfCb+kD126pY6B2DGyX+7aL2WS/RylXsaqAITw3RNU VGArAbpdcmSu0DdNKCkrJLM= X-Google-Smtp-Source: ABdhPJwVpBu5z/IxVm7HVyiwZ68uknjOUDOy/X6H0jCAPfE3ynYK7YMB5RMe/9UJCxapKcj9Q454Tw== X-Received: by 2002:a1c:b002:: with SMTP id z2mr18218859wme.121.1617478920888; Sat, 03 Apr 2021 12:42:00 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:00 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 19/35] futex.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 3 Apr 2021 21:40:11 +0200 Message-Id: <20210403194026.102818-20-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" At the same time, document only headers that are required for calling the function, or those that are specific to the function: is required for the syscall() prototype. is required for the syscall name SYS_xxx. is specific to this syscall. However, uint32_t is generic enough that it shouldn't be documented here. The system_data_types(7) page already documents it, and is more precise about it. The same goes for timespec. As a general rule a man[23] page should document the header that includes the prototype, and all of the headers that define macros that should be used with the call. However, the information about types should be restricted to system_data_types(7) (and that page should probably be improved by adding types), except for types that are very specific to the call. Otherwise, we're duplicating info and it's then harder to maintain, and probably outdated in the future. Signed-off-by: Alejandro Colomar --- man2/futex.2 | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/man2/futex.2 b/man2/futex.2 index 389c25224..7a19e50d2 100644 --- a/man2/futex.2 +++ b/man2/futex.2 @@ -25,18 +25,16 @@ futex \- fast user-space locking .SH SYNOPSIS .nf .PP -.B #include -.B #include -.B #include +.BR "#include " " /* Definition of " FUTEX_* " constants */" +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #include .PP -.BI "long futex(uint32_t *" uaddr ", int " futex_op ", uint32_t " val , -.BI " const struct timespec *" timeout , \ +.BI "long syscall(SYS_futex, uint32_t *" uaddr ", int " futex_op \ +", uint32_t " val , +.BI " const struct timespec *" timeout , \ " \fR /* or: \fBuint32_t \fIval2\fP */" -.BI " uint32_t *" uaddr2 ", uint32_t " val3 ); +.BI " uint32_t *" uaddr2 ", uint32_t " val3 ); .fi -.PP -.IR Note : -There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION The .BR futex () @@ -1695,9 +1693,6 @@ and a sixth argument was added in Linux 2.6.7. .SH CONFORMING TO This system call is Linux-specific. .SH NOTES -Glibc does not provide a wrapper for this system call; call it using -.BR syscall (2). -.PP Several higher-level programming abstractions are implemented via futexes, including POSIX semaphores and various POSIX threads synchronization mechanisms From patchwork Sat Apr 3 19:40:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462031 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=M+2H9qlf; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS5S5sGcz9sSC for ; Sun, 4 Apr 2021 05:43:24 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7BD76388A42A; Sat, 3 Apr 2021 19:42:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7BD76388A42A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478927; bh=od3nVNvd6lfIlcamsSsLIjaETo+dX83Tof4HnlB2lP4=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=M+2H9qlfIz8YXWoPY3/6YUWus7/oATBlZlPVSPMDZg32uPgpzqjZYK9GG/9NBL9f2 fo9z5EsmvkRAPAd6waoArgVaIgosi45dZ4YvJDMmqdr/R837L/2VsfqWwxXsl1cd+h wCimZooFzrt1VsHI2wLduNx7TZXs1UsF5kSTFzTA= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id 500CB3851C23 for ; Sat, 3 Apr 2021 19:42:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 500CB3851C23 Received: by mail-wr1-x429.google.com with SMTP id v11so7470320wro.7 for ; Sat, 03 Apr 2021 12:42:02 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=od3nVNvd6lfIlcamsSsLIjaETo+dX83Tof4HnlB2lP4=; b=eunt1BFXTbgMw8N/Tn7PBvmTQAZEd/iXp6ErzMRvXq0UnkrrbQj1SE650mXEaAeVMM x1z+oVA+UWvdLJXFNBkzG6KuMAIjFNfntAu6K+RonI14F2b02u7Ao0uY8YCPMyu9fp+L Jb9P0QFu9rQeiKNrZ4TrwBn7Lfm5vvzsI0kdD6+uPL4Uo2uL+QGNv1Jdre83gKNUODEK BuOc1zrv5spv4+LaOWmkaHLSi0gbzV6O9nQ9nC6P3ltk/XQPMT/dJ4E8Hl7XXOvSnonR 4FlBTV76J/GoGIkarLpyn/yncvclrl0PThedWNeIUl2RHKyoQDbpbsqcnIc2GEkhTyND 1N1A== X-Gm-Message-State: AOAM530FO37/sL00J0mfdfZ3lMm51QTOqm+z1FPzjb4bJjbhdaSWONzZ i78h1PAR01ovya/a2c6vxAw= X-Google-Smtp-Source: ABdhPJwYZQYMcPN4/LhnDaQxzUNHINfFgaeYpnXxu7ukhexPRywAfBZ1LjIoJnq8m87NUUZ4VN8R8A== X-Received: by 2002:adf:f190:: with SMTP id h16mr21360380wro.187.1617478921541; Sat, 03 Apr 2021 12:42:01 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:01 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 20/35] futimesat.2: ffix Date: Sat, 3 Apr 2021 21:40:12 +0200 Message-Id: <20210403194026.102818-21-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man2/futimesat.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/futimesat.2 b/man2/futimesat.2 index 6ac9a9200..86e941fe5 100644 --- a/man2/futimesat.2 +++ b/man2/futimesat.2 @@ -28,7 +28,7 @@ futimesat \- change timestamps of a file relative to a \ directory file descriptor .SH SYNOPSIS .nf -.B #include /* Definition of AT_* constants */ +.BR "#include " " /* Definition of " AT_* " constants */" .B #include .PP .BI "int futimesat(int " dirfd ", const char *" pathname , From patchwork Sat Apr 3 19:40:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462032 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=hCU3q7Wr; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS5X4SCjz9sWF for ; Sun, 4 Apr 2021 05:43:28 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0FE4F385141F; Sat, 3 Apr 2021 19:42:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0FE4F385141F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478928; bh=28zBalVKo2kS79bb6WX7Y54TEzZgkL3eEQgmpO+rtvk=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=hCU3q7WrG2DUQgaR6xmQS595Js/zqg3CnzKnV0QUdVm4svN4zATl+Nq9cONFF7tUP fcZotHm2SA61bg/DdN8nH5a6/LHyCgqv06m2Ntyj1P6gqQIKy8CgYJhHYmJooPdelm G2X9SyjN9LoBIKcIMx/8sOZYFf5TuMNVbyAWDVN4= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id E9AD4388A40A for ; Sat, 3 Apr 2021 19:42:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E9AD4388A40A Received: by mail-wr1-x42c.google.com with SMTP id j7so7502596wrd.1 for ; Sat, 03 Apr 2021 12:42:02 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=28zBalVKo2kS79bb6WX7Y54TEzZgkL3eEQgmpO+rtvk=; b=KK2w268S43ZXhPW2/amTpR+N0msKE9jDM3TtPK31qUUOO804Th5Ciw9SZigWboXcWJ W2m3Vz1k7PaN0/D4xkdDtZIjCKRx42PKiWRa1Q6lMPrOEemyfZpdmaA96dCCTYwtPB33 nVqltpphbbLQNq5lMve8mAw8kiYtd28cpyNqvg8eRLUmX3mQkU7ahrTxqU2VFWSN2Ona newwvIEE2MEZKYVqDb77Ft5FDfLjM44S8K8Mi1slbPVgF820XYZu1Pq45ggc4X+XZFMM xou7c71IkiavU78Yckn66OeXFxceVryYjPFfkMcbA7UVEmecqSGLsJiWgZbj2V1JntpU vBXg== X-Gm-Message-State: AOAM532euy3WPH1/FSbmwO2IHQASsf9FtPUlnlKx3JlxGCtktrCnllHV SU1LpcUTDcKJ1CZecXsnF84= X-Google-Smtp-Source: ABdhPJzjFK/K7bZYbbPXigcEmrN1EIpkgzvl+yzceNNKRBYTBiJKWcRTVXtxRInDvV/ZDjIjkDWMSg== X-Received: by 2002:adf:c449:: with SMTP id a9mr9768556wrg.146.1617478922166; Sat, 03 Apr 2021 12:42:02 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:01 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 21/35] getdents.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 3 Apr 2021 21:40:13 +0200 Message-Id: <20210403194026.102818-22-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man2/getdents.2 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/man2/getdents.2 b/man2/getdents.2 index ec00a73ba..6a9f4e04c 100644 --- a/man2/getdents.2 +++ b/man2/getdents.2 @@ -33,7 +33,11 @@ getdents, getdents64 \- get directory entries .SH SYNOPSIS .nf -.BI "long getdents(unsigned int " fd ", struct linux_dirent *" dirp , +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #include +.PP +.BI "long syscall(SYS_getdents, unsigned int " fd \ +", struct linux_dirent *" dirp , .BI " unsigned int " count ); .PP .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" @@ -43,9 +47,9 @@ getdents, getdents64 \- get directory entries .fi .PP .IR Note : -There is no glibc wrapper for -.BR getdents (); -see NOTES. +There is no definition of +.B struct linux_dirent +in glibc; see NOTES. .SH DESCRIPTION These are not the interfaces you are interested in. Look at From patchwork Sat Apr 3 19:40:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462033 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=JHw9acX7; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS5c5tXTz9sSC for ; Sun, 4 Apr 2021 05:43:32 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 098D9388A434; Sat, 3 Apr 2021 19:42:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 098D9388A434 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478929; bh=4RUXZNNPRHFOrslSAajMyr/oneUNBsE8l+hRPjLljlU=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=JHw9acX7mSIivPQrBGgvaYOo0KUCx9xrVznIakGXBHVORmAJhKlTYuenYeaRhIPka tKNJutEGb5BDtxehS7MXf6x/9YtDSAd2FCYGp0YTHZJo1+YEjrNqQzdxrC69eIOqiC wMfUIR65gkqVc/JZYFJl1hkIaO0AC6P4ayEUg8oo= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by sourceware.org (Postfix) with ESMTPS id 98C75388A40E for ; Sat, 3 Apr 2021 19:42:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 98C75388A40E Received: by mail-wr1-x42e.google.com with SMTP id a6so1471372wrw.8 for ; Sat, 03 Apr 2021 12:42:03 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=4RUXZNNPRHFOrslSAajMyr/oneUNBsE8l+hRPjLljlU=; b=UG/3Avf/IjLerhDvbytYMExnHM/xKmrrr6YB1Dy2nvwJEJBjynrhD4xkoWZd6I6qYu z43dNOU4guzbPLiUv9/Ats7LJbYK6UwbONV24+qoF94gNZjx7ChEpTReVyCkL7g1rYtn V5nimTKApYahxSJzBFC0+7QStaSzxAz7ulgswgLZAj2VsHfPu1LXqUSAXDLu3A3izisY u5chzlDbnSrL0ut1jqk3UnlbwqNylwS6AcZNyvqPBv+x6eWMwr9LrooAedv7Ghq8Ak35 mZNuGR28kR60nRwuWO5sgxfN7B9DDQtrmIufvwxHfegtazN/LWeMAJG7MZTOw6ZDTQ7b XDUw== X-Gm-Message-State: AOAM530/GHP1XS2TO2bzpmiPJzxpM/z/jFOLAWjCZ2YSkjkciKIZYZUd OgvIAXCVyXu7wA9PylRC4Co= X-Google-Smtp-Source: ABdhPJx34GM5cO+QbFdWb/3UyZ9QwXNkusuIy0vT9MYDYbG7FTVc1tIjLz9l42vP/pcim8rnk59/Rg== X-Received: by 2002:a05:6000:250:: with SMTP id m16mr21992003wrz.325.1617478922822; Sat, 03 Apr 2021 12:42:02 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:02 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 22/35] getpriority.2: Remove unused include Date: Sat, 3 Apr 2021 21:40:14 +0200 Message-Id: <20210403194026.102818-23-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" is not needed to get the function declaration nor any constant used by the function. It was only needed (before POSIX.1) to get 'struct timeval', but that information would be more suited for system_data_types(7), and not for this page. Signed-off-by: Alejandro Colomar --- man2/getpriority.2 | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/man2/getpriority.2 b/man2/getpriority.2 index e3d518028..d6744989d 100644 --- a/man2/getpriority.2 +++ b/man2/getpriority.2 @@ -47,7 +47,6 @@ getpriority, setpriority \- get/set program scheduling priority .SH SYNOPSIS .nf -.B #include .B #include .PP .BI "int getpriority(int " which ", id_t " who ); @@ -209,18 +208,6 @@ the real or effective user ID of the process \fIwho\fP. All BSD-like systems (SunOS 4.1.3, Ultrix 4.2, 4.3BSD, FreeBSD 4.3, OpenBSD-2.5, ...) behave in the same manner as Linux 2.6.12 and later. -.PP -Including -.I -is not required these days, but increases portability. -(Indeed, -.I -defines the -.I rusage -structure with fields of type -.I struct timeval -defined in -.IR .) .\" .SS C library/kernel differences Within the kernel, nice values are actually represented From patchwork Sat Apr 3 19:40:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462034 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=vWj3JxSr; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS5j0bjHz9sSC for ; Sun, 4 Apr 2021 05:43:37 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8F765388A438; Sat, 3 Apr 2021 19:42:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8F765388A438 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478929; bh=HAiRQP2GtgEF1v9z/PyEJIuscLwk5tIDe0zM0JUVKt0=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=vWj3JxSrP8PH5kC2MFbFEUQIsM+sh+vvoScdfc2a9m04gf70xhBFMMglJtg6sooop hET+4A8hN9vH/LBFCWpAJFWgf9dSaMze36amd/5hJcHCu8vj4/Ejga9CI4ZfScqpCZ U9wDf3ylJyLEnOn02AWVecUUHHppjmwUWHabdirc= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by sourceware.org (Postfix) with ESMTPS id 482FB388A415 for ; Sat, 3 Apr 2021 19:42:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 482FB388A415 Received: by mail-wm1-x332.google.com with SMTP id j4-20020a05600c4104b029010c62bc1e20so3804615wmi.3 for ; Sat, 03 Apr 2021 12:42:04 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=HAiRQP2GtgEF1v9z/PyEJIuscLwk5tIDe0zM0JUVKt0=; b=VxSAwRMtBk41+qeNeF4PzYQOnvlBLxMP2osoJ6pSxqSghakLEMsIH2JOOevTCfSEXF 5l9OpQ8tYE9JjK+TRtoaZzpcoRMgGuV4UAjMOx53QS3Aou3YPBJiIGtgo2Iclw1pkZhQ e9jlJ4Da6keYvOSJWragIyk+stmKkcFEJBi7xNypidpFvzRGizqwd37+YWqb0i7wCMIs xEB/l8W1xpbqfZeaKJtO5wmcQ2o8x0x2vYG+KGsJ8/Vr4AIAwVeDSdr/RE74FAsLbzE9 3Az/3CvrrIo2KFxPPiBXKv/8XcaOnhr0uJuYlzNgc9op2EgjHiPmarGs2v6tagGKgbqj r72g== X-Gm-Message-State: AOAM532aCGZZ7u8z8R9x5QOlUBluiYuq3IEKftyxwjW7+j0Dj8jILRtA bNkl9go/X34E26XI4SGV7A4= X-Google-Smtp-Source: ABdhPJx5ORf2crCpmJirnInwwesom7wVCyN/Xan181TvuDwlZ4L22gmvOKf6WaPLqd/o9dScdgCzbQ== X-Received: by 2002:a7b:cdf7:: with SMTP id p23mr18253778wmj.26.1617478923480; Sat, 03 Apr 2021 12:42:03 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:03 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 23/35] getrlimit.2, getrusage.2: Remove unused include Date: Sat, 3 Apr 2021 21:40:15 +0200 Message-Id: <20210403194026.102818-24-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" is not required by any of these function declaration or macro definition used by these functions. It's maybe (or maybe not) needed by some tipe inside the rlimit structure, but that info belongs to system_data_types(7), not here. Signed-off-by: Alejandro Colomar --- man2/getrlimit.2 | 1 - man2/getrusage.2 | 9 --------- 2 files changed, 10 deletions(-) diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index 444c50525..648fd3c85 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -66,7 +66,6 @@ getrlimit, setrlimit, prlimit \- get/set resource limits .SH SYNOPSIS .nf -.B #include .B #include .PP .BI "int getrlimit(int " resource ", struct rlimit *" rlim ); diff --git a/man2/getrusage.2 b/man2/getrusage.2 index d3c0de8a0..85c4ffed1 100644 --- a/man2/getrusage.2 +++ b/man2/getrusage.2 @@ -41,7 +41,6 @@ getrusage \- get resource usage .SH SYNOPSIS .nf -.B #include .B #include .PP .BI "int getrusage(int " who ", struct rusage *" usage ); @@ -230,14 +229,6 @@ is Linux-specific. Resource usage metrics are preserved across an .BR execve (2). .PP -Including -.I -is not required these days, but increases portability. -(Indeed, -.I struct timeval -is defined in -.IR .) -.PP In Linux kernel versions before 2.6.9, if the disposition of .B SIGCHLD is set to From patchwork Sat Apr 3 19:40:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462035 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=el3IoXhL; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS5m6Wp6z9sSC for ; Sun, 4 Apr 2021 05:43:40 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1E4FE388A436; Sat, 3 Apr 2021 19:42:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E4FE388A436 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478930; bh=xbl3Scz+Whx5QdNUVdsmqGH+HBuFLIhFEIq1ddPemjU=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=el3IoXhLl4b9EZ7bXnVjSWSVsyiFRr/TLaqNmyZhZ1eb73f4kt3ujEdYzh6wjJa8Z ZwKJl+4bOnTjPakkIHncxI7skSM65acsm+z68m+t0Df08pxQMxbJO+aP869fRXJ/0A AOKQ97oA3U76Hq+G5sk6pBHlAMIAGj5kbVdYkXqA= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by sourceware.org (Postfix) with ESMTPS id D7CD4388A41B for ; Sat, 3 Apr 2021 19:42:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D7CD4388A41B Received: by mail-wm1-x32a.google.com with SMTP id j20-20020a05600c1914b029010f31e15a7fso5761388wmq.1 for ; Sat, 03 Apr 2021 12:42:04 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=xbl3Scz+Whx5QdNUVdsmqGH+HBuFLIhFEIq1ddPemjU=; b=POe8RQk+KK8qK5ah0PTs6o51jcKBFk72y9lE1ClqX8tshC7e5+5V9uUFNCOr1txcuq qRyXECHHxQUDBS7ErKmbwr6hgl33LHVfoQkRyNYyG0V8JUMv00BARo4xz4ZGIyZtkuL4 nElnl2M0+KiUaEBAEMNsl6wpTOK4D2zbBwCWtjSU2Ec2o7eZCwRvAYaazYyy+AKWYKyg n4hmYWDFCU6WDgDscG74QYsF5ZgepMFL/q143iS4L6M8aeLPFmcgwyoLRGpHgZrwUy/x xDoXKEO3S6kLbwbL24cNQq71GXIojCSaHov0FZImqZvu9RKlIFc+Ok2GrihkIcXsLtC7 6NUg== X-Gm-Message-State: AOAM533boCxm2JrLJ9w5myH6f198mvActK+PN5+Cya+jgTAf/f4vFkVb SgJV/mh+8zUm+pK8NGhWV00= X-Google-Smtp-Source: ABdhPJw9MbupC8UtY345wr2lFZjYUjfgY6S2SSUjGstfFEmwZuvoMHPmQ2RFF8b4S3MkCdJKq/6S6A== X-Received: by 2002:a05:600c:2ca:: with SMTP id 10mr18530318wmn.40.1617478924107; Sat, 03 Apr 2021 12:42:04 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:03 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 24/35] getunwind.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 3 Apr 2021 21:40:16 +0200 Message-Id: <20210403194026.102818-25-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man2/getunwind.2 | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/man2/getunwind.2 b/man2/getunwind.2 index 45535dccf..2c44506c7 100644 --- a/man2/getunwind.2 +++ b/man2/getunwind.2 @@ -29,16 +29,14 @@ getunwind \- copy the unwind data to caller's buffer .SH SYNOPSIS .nf -.B #include .B #include +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #inlcude .PP -.BI "long getunwind(void " *buf ", size_t " buf_size ); +.BI "long syscall(SYS_getunwind, void " *buf ", size_t " buf_size ); .fi -.PP -.IR Note : -There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION -.I Note: this function is obsolete. +.I Note: this system call is obsolete. .PP The IA-64-specific @@ -102,9 +100,5 @@ and is available only on the IA-64 architecture. This system call has been deprecated. The modern way to obtain the kernel's unwind data is via the .BR vdso (7). -.PP -Glibc does not provide a wrapper for this system call; -in the unlikely event that you want to call it, use -.BR syscall (2). .SH SEE ALSO .BR getauxval (3) From patchwork Sat Apr 3 19:40:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462036 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=WsXzPY8R; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS5r5BDvz9sSC for ; Sun, 4 Apr 2021 05:43:44 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A537A388A43A; Sat, 3 Apr 2021 19:42:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A537A388A43A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478930; bh=pcPv5Fuq5z0fIsLcPIO2L+6g4NPWa5MD8jyc9rRrveQ=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=WsXzPY8RJYlGysIqROQDIj7xDfDMSMpSsDRZ/yDovzzL6a8ZN/18T/Xu2yrnlYNqm plrYh0esDpp4NOTZULtZIRn/H5RHio6TQr7AlF+qsFSGEnDXVNFcazPXHB8ytCncaq tUPsRjskuHch+Www5n/hB29Wyuuix6TH+w0YOJ3Q= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by sourceware.org (Postfix) with ESMTPS id 86FD6388A40A for ; Sat, 3 Apr 2021 19:42:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 86FD6388A40A Received: by mail-wr1-x435.google.com with SMTP id f6so1394021wrv.12 for ; Sat, 03 Apr 2021 12:42:05 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=pcPv5Fuq5z0fIsLcPIO2L+6g4NPWa5MD8jyc9rRrveQ=; b=FVqQCYLf8LSzWIO5V8Qc14ZHNl/UagSgms0PBjF/Nyifr51Bv/2mNpamuXEUQVGTmA obYVwJAumVAiVPAPX3cJ7aWi5OPbnBHFZYXjchw96ZurhjGxvQuCJYGdowk3pGgALILB jKRsGIbz6BH9xhTX8JTZhBZJl6y1mCRq8QxZeRV5Q35oYKZCnE3h6v84zwPkZoHpNoB+ R4wIsGUxQespRMbly6rEbdz5eYCPZAOeZmy8hb8MhO01HGIahUoFWQUI+nwCeLysEaWd GUisRZZaiCTny6pQR6+PiOarbpYlVS1qLtCroAMfNZzdFBa9MdHpfd6Mk8mmk7AmlCEQ ishg== X-Gm-Message-State: AOAM530I5wnppdP4tXhlZZNJmSCChNwi5SIl4/hvNO/ck5RgmXAHaDSl Dl1th9k2u6+b1C7WnnwLcz8= X-Google-Smtp-Source: ABdhPJz16SNF8uSPoP45lesjqi1ttat57OHzCNoycwO7s/Bn/WPz5Hcl0Un9IlZ3aJ1oEo9MV9SgxQ== X-Received: by 2002:a5d:4bcb:: with SMTP id l11mr22125568wrt.390.1617478924754; Sat, 03 Apr 2021 12:42:04 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:04 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 25/35] get_robust_list.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 3 Apr 2021 21:40:17 +0200 Message-Id: <20210403194026.102818-26-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man2/get_robust_list.2 | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/man2/get_robust_list.2 b/man2/get_robust_list.2 index dd43cded2..b1368ddd3 100644 --- a/man2/get_robust_list.2 +++ b/man2/get_robust_list.2 @@ -32,16 +32,16 @@ get_robust_list, set_robust_list \- get/set list of robust futexes .SH SYNOPSIS .nf -.B #include -.B #include +.BR "#include " \ +" /* Definition of " "struct robust_list_head" " */" +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #include .PP -.BI "long get_robust_list(int " pid ", struct robust_list_head **" head_ptr , -.BI " size_t *" len_ptr ); -.BI "long set_robust_list(struct robust_list_head *" head ", size_t " len ); +.BI "long syscall(SYS_get_robust_list, int " pid , +.BI " struct robust_list_head **" head_ptr ", size_t *" len_ptr ); +.BI "long syscall(SYS_set_robust_list," +.BI " struct robust_list_head *" head ", size_t " len ); .fi -.PP -.IR Note : -There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION These system calls deal with per-thread robust futex lists. These lists are managed in user space: @@ -138,9 +138,6 @@ could be found. These system calls were added in Linux 2.6.17. .SH NOTES These system calls are not needed by normal applications. -No support for them is provided in glibc. -In the unlikely event that you want to call them directly, use -.BR syscall (2). .PP A thread can have only one robust futex list; therefore applications that wish From patchwork Sat Apr 3 19:40:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462037 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=mWpXxIsw; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS5w4KBXz9sSC for ; Sun, 4 Apr 2021 05:43:48 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 35759388A437; Sat, 3 Apr 2021 19:42:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35759388A437 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478931; bh=p0f8BoiZYLQmhvKOCDhjF7wsghptfqlQ/SkPDxqZjMU=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=mWpXxIswAa1vYcKGzBsOicMLy6lnColOS5w3l3yeO/e0OgId8gEQ6heMQLhQNyQgr IrApOQCkZiXQeLEIop2JjFNG4MMjl7aE541b1Kd6bG4mlMqx4G0b+F8a30bktAkmXl mzkWl4WhqqDPc2vlvXLvjP2VfJKXGyrXFuVcnUaw= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id 6BEDA388A41B for ; Sat, 3 Apr 2021 19:42:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6BEDA388A41B Received: by mail-wr1-x434.google.com with SMTP id f12so1502070wro.0 for ; Sat, 03 Apr 2021 12:42:06 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=p0f8BoiZYLQmhvKOCDhjF7wsghptfqlQ/SkPDxqZjMU=; b=rMPe/m9FG6BHMSHrVZUGlsSyhGyiMzV6aky4qGEdGt6H4+A+dwpQPlV/YypUNkXGbx XQWncFFfLxgEcrM5xstjboE3slaf93jnlxlX0WvU0NceXqA3Dxn6kIPaGu96BvREzx5c McfNe3NrcyiONCyy5UtWJiAB9I/Rc+bMqQTI4HfF6w5A/Ov6TFeUXccLD6GOK5qJjKIc 7gIlJrdhQd8Ar+0BHHmeaVxPsNGaZAmMIeRomkh0TtpDkwZ8ct3K4vrPNolarS1juFLy +v/y7fCXuoDlTOxMOZNHV6ZM5Jj8QtMAgFcBCQMXx+xt1gPlJgbkcmVSF6ifyR3ffWM2 4/ug== X-Gm-Message-State: AOAM531XSZtgoGShoAgdFrzUxSLkimuqwkumh6b4iuhQx6F27xJ6gyxZ mp1aMgSD2qGPEZiT7MKz0Gk= X-Google-Smtp-Source: ABdhPJz5tjDn4XnhJUjyCkIL5Jug5x/re9Kk+aOEbdtTv6sJdw31TG5fpztrr0VQ/tSFRbPEK/FcEA== X-Received: by 2002:adf:f241:: with SMTP id b1mr2335431wrp.45.1617478925399; Sat, 03 Apr 2021 12:42:05 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:05 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 26/35] delete_module.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 3 Apr 2021 21:40:18 +0200 Message-Id: <20210403194026.102818-27-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man2/delete_module.2 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/man2/delete_module.2 b/man2/delete_module.2 index 174ef04d2..21c9e9d8d 100644 --- a/man2/delete_module.2 +++ b/man2/delete_module.2 @@ -28,12 +28,11 @@ delete_module \- unload a kernel module .SH SYNOPSIS .nf .BR "#include " " /* Definition of " O_* " constants */" +.BR "#include " " /* Definition of " SYS_* " constants */" +.BR "#include .PP -.BI "int delete_module(const char *" name ", unsigned int " flags ); +.BI "int syscall(SYS_delete_module, const char *" name ", unsigned int " flags ); .fi -.PP -.IR Note : -There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION The .BR delete_module () From patchwork Sat Apr 3 19:40:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462038 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=LuTmSz/N; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS603TGnz9sWF for ; Sun, 4 Apr 2021 05:43:52 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BA7A5388A40C; Sat, 3 Apr 2021 19:42:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA7A5388A40C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478931; bh=8TFK8xXdP43GW9I6xb7LKbzdmP2koXz0JhfalTMMk60=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=LuTmSz/N86wkycMLX8wYEAiCWqqboFWQcmIaF4iGksTco2grqUBtRPimti1R7Eulq u/iRr1UYI4BED7sjZfchPpItlQZbjk0jeZmM5CyqFPX6zi3hoznkMWKzXPTBsQ23rJ VpjTEp6U3iy6tHcIViTfuSPyfhTmOl+ks/BNqQl4= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id D16AD388A40A for ; Sat, 3 Apr 2021 19:42:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D16AD388A40A Received: by mail-wr1-x434.google.com with SMTP id a6so1471426wrw.8 for ; Sat, 03 Apr 2021 12:42:06 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=8TFK8xXdP43GW9I6xb7LKbzdmP2koXz0JhfalTMMk60=; b=FOL2OnBasclD0C+5eFBSaVJJ3YQABRyQFpqArlIQw+L8tnnQXejR0zlsAhpTmfPGZI EUGPgwQRC21oac00tRxfxa7teVbURZINrkjA2/DnxuMuYcdb7F06toJLMcMZZgH0JuSs y0a3Rr1h4bF21AV/aUyr2pclnT1w+oP9CHrwXuu516lf2oC2Dd26jcC7wvI8kinKKffA B27buOVEz6ZScJz2/+tH5Tc8waCxCWMsPx6OwbR36xS7hlRr3wPFLpUFvinyEw/aROO5 EhMZ11JZfkZ1Da1KEBbjv1zZ3VlDJnCJKpB/nJeoMhv/AxHljfRm85TwHMhhcIkS0L16 pzOA== X-Gm-Message-State: AOAM531KMBvRCYPwaM3BUVlaa6OG/hLy8Rbgwhlchy6sI1qr4FyQS2bN 7MvyoB1r4lIh00iY9xrJUl8= X-Google-Smtp-Source: ABdhPJxlRrfozYACLJ+L8VMNTgx74VGEGfQbFwLNmf5mKvPrRGg1ZcAyE7ETwyjK7kEsoJMOI3a0aQ== X-Received: by 2002:adf:fa0a:: with SMTP id m10mr8562010wrr.147.1617478926055; Sat, 03 Apr 2021 12:42:06 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:05 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 27/35] init_module.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 3 Apr 2021 21:40:19 +0200 Message-Id: <20210403194026.102818-28-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man2/init_module.2 | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/man2/init_module.2 b/man2/init_module.2 index e158ce9fa..13d1b7f0a 100644 --- a/man2/init_module.2 +++ b/man2/init_module.2 @@ -29,14 +29,15 @@ init_module, finit_module \- load a kernel module .SH SYNOPSIS .nf -.BI "int init_module(void *" module_image ", unsigned long " len , -.BI " const char *" param_values ); -.BI "int finit_module(int " fd ", const char *" param_values , -.BI " int " flags ); -.fi +.BR "#include " " /* Definition of " MODULE_* " constants */" +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #include .PP -.IR Note : -There are no glibc wrappers for these system calls; see NOTES. +.BI "int syscall(SYS_init_module, void *" module_image ", unsigned long " len , +.BI " const char *" param_values ); +.BI "int syscall(SYS_finit_module, int " fd ", const char *" param_values , +.BI " int " flags ); +.fi .SH DESCRIPTION .BR init_module () loads an ELF image into kernel space, @@ -268,11 +269,6 @@ manually declare the interface in your code; alternatively, you can invoke the system call using .BR syscall (2). .PP -Glibc does not provide a wrapper for -.BR finit_module (); -call it using -.BR syscall (2). -.PP Information about currently loaded modules can be found in .IR /proc/modules and in the file trees under the per-module subdirectories under From patchwork Sat Apr 3 19:40:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462039 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=mIn0//Bg; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS6425rwz9sSC for ; Sun, 4 Apr 2021 05:43:56 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9AD67388A838; Sat, 3 Apr 2021 19:42:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9AD67388A838 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478932; bh=cjP+0WLA+OK4vEf2vwLQ9Kext4PONnX5i2wBNqV4HN4=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=mIn0//Bg4rPstUyHjgIy0qf95Ef29eJjDW+R9EwkE6H/w3ZSrskUg8viWJrNaDybF kIrTQM901HyADZDlfQZIuLwz2g88JYim22dLJ6K/cSfx13AyI6WqSEuYEmZsuAkYNb 9lMHyPTlzX1HM2hUwIJQmJLmTpipc4cGy7DhGOFU= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by sourceware.org (Postfix) with ESMTPS id 81321388A42C for ; Sat, 3 Apr 2021 19:42:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 81321388A42C Received: by mail-wr1-x42a.google.com with SMTP id v4so7456676wrp.13 for ; Sat, 03 Apr 2021 12:42:07 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=cjP+0WLA+OK4vEf2vwLQ9Kext4PONnX5i2wBNqV4HN4=; b=fdQNnEf093lC78RtJTx/tUGCw9oSgXgj1U36E4q+fbeHgySYxMAwVJk6MGY5sjh6dg 4fne4d9JK4qj8nvffKs5GtbjkT7R6Lq5/KRfync/SmqG5mV71QFx2m8uTiD0iXZxgtSO iwvcBKne3wymsiMI8hQ6mFb0eKNB0VkKWAJ2S/Ko0oNct7w46h1bkez2BPXNzNGuQ+55 5njNfZOPcI2nOBZaIgN4tyNa11whOVoYv+2im64B6U57q7Acg7Bq18wZT3nfjFrSgxyL JrNm2W+xVI298gm4xXUPNIPR5Ff8Az/82b/XOqXT5W8kAxH54+4rbVoRARRWO4iL6qzS K54A== X-Gm-Message-State: AOAM530Y8h3Q5hBjVtYWd3Vjg/W24Wn2GKTDOiNflo24JEwbwfAZVZ7x UdNiZZN1OebJPuQKamuQ6rc= X-Google-Smtp-Source: ABdhPJzE7Be8O2vg1BgD9je8hjiibyTBn0H+M5iw2N6p3aJARXYZG9xV4mtho5Zaj0kAn2CFquy8xg== X-Received: by 2002:adf:f94c:: with SMTP id q12mr21222253wrr.283.1617478926696; Sat, 03 Apr 2021 12:42:06 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:06 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 28/35] io_cancel.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 3 Apr 2021 21:40:20 +0200 Message-Id: <20210403194026.102818-29-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" In this case there's a wrapper provided by libaio, but this page documents the raw kernel syscall. Signed-off-by: Alejandro Colomar --- man2/io_cancel.2 | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/man2/io_cancel.2 b/man2/io_cancel.2 index e09984ecd..248fe5791 100644 --- a/man2/io_cancel.2 +++ b/man2/io_cancel.2 @@ -9,14 +9,13 @@ io_cancel \- cancel an outstanding asynchronous I/O operation .SH SYNOPSIS .nf -.BR "#include " " /* Defines needed types */" +.BR "#include " " /* Definition of needed types */" +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #include .PP -.BI "int io_cancel(aio_context_t " ctx_id ", struct iocb *" iocb , -.BI " struct io_event *" result ); +.BI "int syscall(SYS_io_cancel, aio_context_t " ctx_id ", struct iocb *" iocb , +.BI " struct io_event *" result ); .fi -.PP -.IR Note : -There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION .IR Note : this page describes the raw Linux system call interface. @@ -68,10 +67,7 @@ The asynchronous I/O system calls first appeared in Linux 2.5. is Linux-specific and should not be used in programs that are intended to be portable. .SH NOTES -Glibc does not provide a wrapper for this system call. -You could invoke it using -.BR syscall (2). -But instead, you probably want to use the +You probably want to use the .BR io_cancel () wrapper function provided by .\" http://git.fedorahosted.org/git/?p=libaio.git From patchwork Sat Apr 3 19:40:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462040 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=PWQqr3ia; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS676cyFz9sWK for ; Sun, 4 Apr 2021 05:43:59 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4E856388A42B; Sat, 3 Apr 2021 19:42:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E856388A42B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478933; bh=jpTauroY8G8IalgxTPUBztQad5Ip+0cRVxsXmdTky9M=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=PWQqr3ia8Oiv+3IdMt//MFFkVgb+sa8DJie/hQiF5gTdJO1diqiTQxdr56NY0m0tk gdySTVMmRziZVmv4NwGoIXX/MmIb01t+TWnMdMjwjYhv7SVRNcvYx6La7tKe+W1w2q fLITmZTuQg5qQSb5UJLg2j6BJegK3DqJ3rdIjIAg= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by sourceware.org (Postfix) with ESMTPS id 31A9B388A431 for ; Sat, 3 Apr 2021 19:42:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 31A9B388A431 Received: by mail-wm1-x335.google.com with SMTP id j4-20020a05600c4104b029010c62bc1e20so3804658wmi.3 for ; Sat, 03 Apr 2021 12:42: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:in-reply-to :references:mime-version:content-transfer-encoding; bh=jpTauroY8G8IalgxTPUBztQad5Ip+0cRVxsXmdTky9M=; b=lOvNwW8kbRE+jVwX4LEj7EBQozKnMoJ8xKPuH1H+EalSV07z1reXrP9V9h8UzJ9A4l PW226zd/oBEJmVrw+8fYIXw/RJdt0SpJmxPLXj2GItaNErYJzQuhEyWByN2FJMnn1QEt yBqsDGsVgKpThW7W6v+Bbvk0I6RxfU7Zmku5dEgZPDoiGfJ5AMDJBNMhg3DEMZd5S0GD oHU0ZEYwIketYOqnQHUf5QQ6+/pEgMyqws/gSAETEf9lbzu9yr5d+No6rd6+i7v2Mny6 PBZkxGvRJQxMqvjk7vodHhNIS0kr5nQDZAjcTMwhG0RsGwhS0k3r6YgbtKes2GSGz7Pr zj2Q== X-Gm-Message-State: AOAM533dAZw7q9eHN/ASLov1aMXUBw7DseT/KL6skYaNUtaBAUIRSue2 ibX4wEwuslRYjr0K0RSkVd4= X-Google-Smtp-Source: ABdhPJx3sfIRL3rme+m3vs5efwWrLcaEc6KIXOdBg2pExPGMXzEX5ur0MqQQHKoxO0e/NTufQC59nQ== X-Received: by 2002:a7b:ca44:: with SMTP id m4mr18176223wml.103.1617478927426; Sat, 03 Apr 2021 12:42:07 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:07 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 29/35] ioctl_fat.2: Make clear why is each header exactly needed. Date: Sat, 3 Apr 2021 21:40:21 +0200 Message-Id: <20210403194026.102818-30-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Only the one that provides the prototype doesn't need a comment. Signed-off-by: Alejandro Colomar --- man2/ioctl_fat.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man2/ioctl_fat.2 b/man2/ioctl_fat.2 index 30e410280..ea50bf319 100644 --- a/man2/ioctl_fat.2 +++ b/man2/ioctl_fat.2 @@ -26,7 +26,8 @@ ioctl_fat \- manipulating the FAT filesystem .SH SYNOPSIS .nf -.B #include +.BR "#include " " /* Definition of [" V ] FAT_* +.RB " * and " ATTR_* " constants */" .B #include .PP .BI "int ioctl(int " fd ", FAT_IOCTL_GET_ATTRIBUTES, uint32_t *" attr ); From patchwork Sat Apr 3 19:40:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462041 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=JxZG7D+m; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS6C6sQ6z9sWF for ; Sun, 4 Apr 2021 05:44:03 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AEA10388A83E; Sat, 3 Apr 2021 19:42:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AEA10388A83E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478934; bh=iREGDXfl4LN7ZWoNbGsogzcWSlWSRhR9EqXVUx36K5A=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=JxZG7D+m8dnrOLgxcbFaavoKRZbw+9GOBLKwru5H7HSe054/ufagRiV8KdDJ4yzPY Wsbr7O8sisNsIrBeeatrKY37YKvZtQng0d/9Q8lQDkL6FB41YqxTz4lohunAih6Ldr JTO+1oXkqbLpAyOFl5ZZzsHZAVta61AuWLXnRfgM= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id EBC5A388A433 for ; Sat, 3 Apr 2021 19:42:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EBC5A388A433 Received: by mail-wm1-x32d.google.com with SMTP id o6so986026wmq.3 for ; Sat, 03 Apr 2021 12:42: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:in-reply-to :references:mime-version:content-transfer-encoding; bh=iREGDXfl4LN7ZWoNbGsogzcWSlWSRhR9EqXVUx36K5A=; b=R5uDkKj2jt4HEO01OHckDOAEEPAy9QT4a8+/0IhV+JydEckxZHEG/ApDgNMQ99+Jxp UsWqMGnMD07PjShGItY098RpSnYs+MXnet82liyPoMBGCZCVvbbc/dZEDHXxlfK1F5LP yAY99esZpelJkBGVTial67FFWSoYEDO6EcXRTqeF0p82QiDOmqVXmfGUJro2AjicxOWw LjmF7OZLzEA2/itwDWPxNFKzwMI5yakC/YPvTXkzizLQnsNKDpDfU1aNBNcOfTLxAVf+ aCTChbkJeOQ0ykx4k29SoFTCmhaROy4+Mubvax3n6XTN0pOBml8ahM9P5SnY2uhTdqhS 1ckw== X-Gm-Message-State: AOAM531RXsovtkolUfbcd8VsI0XZykN7s1aO2tj+k6U27nyEpbwf5QN4 JWzFlrocnGli/L7UPDB3UyI= X-Google-Smtp-Source: ABdhPJzo+tzghpnpF2r9AYf802Oo2Uxu8hhlmzs69EOsMw3Y4ckUsnksI/Crc5Gta5PiW6q4Mu2HHw== X-Received: by 2002:a05:600c:358c:: with SMTP id p12mr18081405wmq.19.1617478928089; Sat, 03 Apr 2021 12:42:08 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:07 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 30/35] ioctl_fat.2: ffix Date: Sat, 3 Apr 2021 21:40:22 +0200 Message-Id: <20210403194026.102818-31-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man2/ioctl_fat.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man2/ioctl_fat.2 b/man2/ioctl_fat.2 index ea50bf319..daceafc83 100644 --- a/man2/ioctl_fat.2 +++ b/man2/ioctl_fat.2 @@ -34,9 +34,9 @@ ioctl_fat \- manipulating the FAT filesystem .BI "int ioctl(int " fd ", FAT_IOCTL_SET_ATTRIBUTES, uint32_t *" attr ); .BI "int ioctl(int " fd ", FAT_IOCTL_GET_VOLUME_ID, uint32_t *" id ); .BI "int ioctl(int " fd ", VFAT_IOCTL_READDIR_BOTH," -.BI " struct __fat_dirent[2] " entry ); +.BI " struct __fat_dirent " entry [2]); .BI "int ioctl(int " fd ", VFAT_IOCTL_READDIR_SHORT," -.BI " struct __fat_dirent[2] " entry ); +.BI " struct __fat_dirent " entry [2]); .fi .SH DESCRIPTION The From patchwork Sat Apr 3 19:40:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462042 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=axJurhuW; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS6H6nfRz9sSC for ; Sun, 4 Apr 2021 05:44:07 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3BA48385141D; Sat, 3 Apr 2021 19:42:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3BA48385141D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478935; bh=Em+awrERrgpR+vP9EtLB4H/xnCP91tdyUvlumguvIM8=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=axJurhuW5PbK3RjdWqIprmI+ki0HYx9IVvktuXHcLzMhv3X3EqdOquv56xDb7xNCz 9hm6+az8zlAGc8pH3VtXJlND3aHFtmdyxwUWM1x+OIBwVqT0jfXcsuBzVI60rB0ehY 562t2tBRlMxm/bCc7R8q2ddpIIz3hLGDs+Agh22k= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id 8D11F388A437 for ; Sat, 3 Apr 2021 19:42:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8D11F388A437 Received: by mail-wr1-x431.google.com with SMTP id q26so1791292wrz.9 for ; Sat, 03 Apr 2021 12:42:09 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Em+awrERrgpR+vP9EtLB4H/xnCP91tdyUvlumguvIM8=; b=U5osK0xzgt01gblSq+te7vB81Z5YNJ8jmbU6ptLHuh+dSKX9imlA9hMDvy0ceJYFJ7 NxoRLHmpSHuaOR1YeHMX/AMwKPq/paEy7ONnAZ4GyS8b2FJ80+DX8F9aPI9SfRSZLyIZ ANzyumUb3ccZ8mkvcZtmj1vM7xEBREdrco6Tm0u7X0N8SlKhRhsLFHbSVk3kcdK5/Srh mmdjU5m2uvvV3FcZofKHun/sm7Ac6i+MROf67eNMh2Yxut2wTIdZ3ybos0iAHosmrF6t NH/LPuPRRjuLIN4DTHJyPA33mEAW2US+s58NxfRC5VWoWXcRVgWFTfkIHPbPeNRp+1U3 9F0w== X-Gm-Message-State: AOAM531EMbHaKuRUaWqTxiwhiLhDKOe8T9Rk7QAIzUdCtteh5zI0/e5M DYITuZg1LTIye9QTa1drjXM= X-Google-Smtp-Source: ABdhPJwibp7SJf1TTXvnfp835KPsJcFL7MkZlP+GJq3Lw6v7Hw38r7JmV4G0g11MN4FZMXBNIVfJNw== X-Received: by 2002:a5d:63d2:: with SMTP id c18mr21149905wrw.277.1617478928796; Sat, 03 Apr 2021 12:42:08 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:08 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 31/35] ioctl_ficlonerange.2: Make clear why is each header exactly needed. Date: Sat, 3 Apr 2021 21:40:23 +0200 Message-Id: <20210403194026.102818-32-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Only the one that provides the prototype doesn't need a comment. Signed-off-by: Alejandro Colomar --- man2/ioctl_ficlonerange.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/ioctl_ficlonerange.2 b/man2/ioctl_ficlonerange.2 index 34c171941..75ab14bc4 100644 --- a/man2/ioctl_ficlonerange.2 +++ b/man2/ioctl_ficlonerange.2 @@ -25,8 +25,8 @@ ioctl_ficlonerange, ioctl_ficlone \- share some the data of one file with another file .SH SYNOPSIS .nf +.BR "#include " " /* Definition of " FICLONE* " constants */" .B #include -.B #include .PP .BI "int ioctl(int " dest_fd ", FICLONERANGE, struct file_clone_range *" arg ); .BI "int ioctl(int " dest_fd ", FICLONE, int " src_fd ); From patchwork Sat Apr 3 19:40:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462043 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=RCjlJ5sY; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS6M4r75z9sSC for ; Sun, 4 Apr 2021 05:44:11 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C08D5388C004; Sat, 3 Apr 2021 19:42:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C08D5388C004 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478935; bh=g+VwRFXtYBld7qOq7F/JsLYm3jgnuUj08yDbJ/0ktzM=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=RCjlJ5sYYWsD75nn+HEXNjC7tXtwUV/ls3ZSWyssIOEJrj7VzrJiMFJOA6UTjbHA5 Ast5nEAQXPP8tMmGNMpAaG+gtF8Snh1tEO6dLW7vhekGtRJBd7qjEyS/3dSgSR5Ayl Nkyy8IrNYktWqmTBc4fSKeXHyT48qieZ1dKRjtjk= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by sourceware.org (Postfix) with ESMTPS id 5B6D2388A40C for ; Sat, 3 Apr 2021 19:42:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5B6D2388A40C Received: by mail-wr1-x433.google.com with SMTP id q26so1791313wrz.9 for ; Sat, 03 Apr 2021 12:42:10 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=g+VwRFXtYBld7qOq7F/JsLYm3jgnuUj08yDbJ/0ktzM=; b=IRtUdYB9sc9GO56pDAZW7zfn3m2lLnpsqnszlpzRi971LDQthiFwrrzsJHBWzeTWGM eCzZIT/IfywinnvX1jdsp0pbPbIkff7QaYR/axq7L28AJSSFppmVpK2MsSJosLGy/7V1 /vaLdNYQ/N4KNZKphxg/rQz17jPB9uVk6KcxVf5982xVi1smKwsqkFnfaC+FfSsYjbh7 pOzRteyXUHW/wLthzDOztl4PYb4RkL+RBIYhGceFeCv9FvLVWqBqb6XigFvDcwlelyB9 dc02ncaxlHFium7EfPVEFTZe9S9vI6v7/Q/+8eMVDM1fjHmn16pY2+W7Oi61E5Y9h5yI tfjg== X-Gm-Message-State: AOAM530oEe2SrRajbmGSS9qwLj8h5J5q5O+2X3s9WyTYDwvI3uAJCVhI nAwyzt/ZZnWjtJ72mBSYXq8= X-Google-Smtp-Source: ABdhPJxr2lkhppSrUoo/8AW8CAgrjCR2hygXD04YtrJK6ZWG/B2+JIHrmw7HR7qajncB1OMDcADNUg== X-Received: by 2002:adf:c401:: with SMTP id v1mr21966692wrf.242.1617478929581; Sat, 03 Apr 2021 12:42:09 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:09 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 32/35] ioctl_fideduperange.2: Make clear why exactly is each header needed Date: Sat, 3 Apr 2021 21:40:24 +0200 Message-Id: <20210403194026.102818-33-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Only the include that provides the prototype doesn't need a comment. Also sort the includes alphabetically. Signed-off-by: Alejandro Colomar --- man2/ioctl_fideduperange.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man2/ioctl_fideduperange.2 b/man2/ioctl_fideduperange.2 index 1df0628d0..e924ed248 100644 --- a/man2/ioctl_fideduperange.2 +++ b/man2/ioctl_fideduperange.2 @@ -25,8 +25,9 @@ ioctl_fideduperange \- share some the data of one file with another file .SH SYNOPSIS .nf +.BR "#include " " /* Definition of " FIDEDUPERANGE +.RB " * and " FILE_DEDUPE_* " constants */" .B #include -.B #include .PP .BI "int ioctl(int " src_fd ", FIDEDUPERANGE, struct file_dedupe_range *" arg ); .fi From patchwork Sat Apr 3 19:40:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462044 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=YBb1FAD4; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS6R0tT3z9sWF for ; Sun, 4 Apr 2021 05:44:15 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4FFAD388A826; Sat, 3 Apr 2021 19:42:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4FFAD388A826 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478936; bh=K5YwIWG/8F5sW1/imtEvmVktAteriFqdqPrFxoJWAT8=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=YBb1FAD4K4WL5//90RT6wsfbjwlXDye1YI0v8BTEe0ChwHDWkLpi4zuHYE51SYQgb /ziXrS5f0RMAb7fuijPtizqQZ6q6RFuP/41kWRQqPssAgC5jTb9iIbN7P90gc8Wu/w fC0GfLVn0jrzxTpD0jkyaQ3at5D6TFUXOstRRZoo= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id 01968388A80D for ; Sat, 3 Apr 2021 19:42:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 01968388A80D Received: by mail-wm1-x331.google.com with SMTP id t5-20020a1c77050000b029010e62cea9deso3810820wmi.0 for ; Sat, 03 Apr 2021 12:42:10 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=K5YwIWG/8F5sW1/imtEvmVktAteriFqdqPrFxoJWAT8=; b=qqMUNRj/wPS7ot77QvxrDflyZ+BPWMMLG0FBqM4NCi68ORJacrQsXxzZVP5CcRJ5Al we03/hSxE30lrT9wAnuRykTVom7yzDtT8JaQ5+6snBWSZ9MILzTdxTwW0F0vNUJ/+uFi nUhRhAHq57CTgQJYn94rydqs/FFnZWR6e4g3LrvCaINq2rJfXYd1tIWmZJtBtTAgfEgt iLmstdGr6OJJ4HzR2N3thr8/4FzAJDqUTdk+1bQ9b9AExJCfsoBiOLQcH7Z+lhTmLzEm dyAbSCak2ADB2RlGL5pBxLYRni4UHk60fQyjZZrTn2jnHP/3w4JZEUdXe8ZKziKa/Myo hngg== X-Gm-Message-State: AOAM532FcL1VVQAK4hqS5V4CjoiVFTQqFo1VeC2Gj/8nWFhE4V4qUI6h 8C3mnqhx7zWYnZVoXSDgdatOCAUC1HA= X-Google-Smtp-Source: ABdhPJzqIpI9n41/ARL5ewvWAfnmqU+KTCL0O2dMk/8HZiONPxqy/j+8F6ZtneAMvVNR7gn1sW7ieg== X-Received: by 2002:a1c:2541:: with SMTP id l62mr3766340wml.188.1617478930227; Sat, 03 Apr 2021 12:42:10 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:10 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 33/35] ioctl_fslabel.2: ffix Date: Sat, 3 Apr 2021 21:40:25 +0200 Message-Id: <20210403194026.102818-34-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man2/ioctl_fslabel.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/ioctl_fslabel.2 b/man2/ioctl_fslabel.2 index 9f5e0dbbd..af17256f0 100644 --- a/man2/ioctl_fslabel.2 +++ b/man2/ioctl_fslabel.2 @@ -36,7 +36,7 @@ If a filesystem supports online label manipulation, these .BR ioctl (2) operations can be used to get or set the filesystem label for the filesystem on which -.B fd +.I fd resides. The .B FS_IOC_SETFSLABEL From patchwork Sat Apr 3 19:40:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462045 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=LxPEGTdj; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS6W26Gjz9sWK for ; Sun, 4 Apr 2021 05:44:19 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D4218388C00B; Sat, 3 Apr 2021 19:42:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D4218388C00B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478936; bh=zA/Kc4vVuNWjWtGr/s1ntmcO/fLpSST0xf2nzzr9+wo=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=LxPEGTdj7AL3j2W8gZpP2jY+7EruNFoqVCjw66N/F5c7ak898FrIfV9b1CMWOt73X Y0rfb5r2QuHTHryGy0N6WxjTB6F7L+5wd1yS8IVVhCRO1Oa+3dF4wAZCC818xZK3q8 7NZeIByebTAZD3qoFbphfe3buSCKwAvcBSw4An8M= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by sourceware.org (Postfix) with ESMTPS id A96F5388A825 for ; Sat, 3 Apr 2021 19:42:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A96F5388A825 Received: by mail-wm1-x32e.google.com with SMTP id j4-20020a05600c4104b029010c62bc1e20so3804711wmi.3 for ; Sat, 03 Apr 2021 12:42:11 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=zA/Kc4vVuNWjWtGr/s1ntmcO/fLpSST0xf2nzzr9+wo=; b=Zjqa+pK9MXiE5u20tced8XoE+o5nOBE0DcDb19ucy+TCJDHzIDL9tJHksPxDAQByAv vaqgi3416ykLyhrY9iGUqVt0jElYsqn0tV2ZEK947RZBw0JTJnH2O8OquSj/nKhVQFKN 5va4t8ECT5w9A7vhsCAKLd50S98u1gAvdQwsmGcymycqDeYCGB//CilT8Q2RVXxXngYe 17+NCaQ6C6vOdoRLOaQf9jhWPSmqB6bB+26zG8kp6tpdcPLbOnkDJKWKX9EzrdqnH2eU z+r9r0IXqrA8B9iDdFTVSzQWKkTxlPoOToJpVSYFhSxELIcnbjLnSFET95vyLQeU/Wmn cH7Q== X-Gm-Message-State: AOAM530SA75dq5XLhUMCyiD1A+gIxsMf2tdNq0PkZIaD2s46FA37o256 aayQiUm2ro28onmmaVdo8UvYOUfMCVs= X-Google-Smtp-Source: ABdhPJwC25IQcdHBD1o6DAHE5ytc3E+JQeUCKh1nh/25oKA/k49FeOTMr/m8bEN57oYox1J4HrPidQ== X-Received: by 2002:a1c:5f54:: with SMTP id t81mr18259321wmb.84.1617478930899; Sat, 03 Apr 2021 12:42:10 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:10 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 34/35] ioctl_fslabel.2: Make clear why exactly is each header needed Date: Sat, 3 Apr 2021 21:40:26 +0200 Message-Id: <20210403194026.102818-35-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Only the include that provides the prototype doesn't need a comment. Also sort the includes alphabetically. Signed-off-by: Alejandro Colomar --- man2/ioctl_fslabel.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/ioctl_fslabel.2 b/man2/ioctl_fslabel.2 index af17256f0..30435e1e9 100644 --- a/man2/ioctl_fslabel.2 +++ b/man2/ioctl_fslabel.2 @@ -25,8 +25,8 @@ ioctl_fslabel \- get or set a filesystem label .SH SYNOPSIS .nf +.BR "#include " " /* Definition of " *FSLABEL* " constants */" .B #include -.B #include .PP .BI "int ioctl(int " fd ", FS_IOC_GETFSLABEL, char " label [FSLABEL_MAX]); .BI "int ioctl(int " fd ", FS_IOC_SETFSLABEL, char " label [FSLABEL_MAX]); From patchwork Sat Apr 3 19:40:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462046 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=cXxZAF8t; dkim-atps=neutral Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCS6Z49bxz9sWF for ; Sun, 4 Apr 2021 05:44:22 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 62A3E388A80D; Sat, 3 Apr 2021 19:42:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 62A3E388A80D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478937; bh=R9IcsjPnDHU/dmEexCAQKAtwymjal0P+vsDSQhy0Pq4=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=cXxZAF8t2QzbzBEam82H89BrlP7nZL9zlLn4fO2RfmTeIFUG21cJIkxcbcFo9m+se llpZxZPtiofODr8L+QUNpeYLAMNP83OQY0dF4/gj4ySmhVGmgO06tYn50Kj2O2nMy+ 3QWZi6ThOUv9/S3lOzHcZtzyk2lKXv3B3LJdlcNc= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id 5C849388A826 for ; Sat, 3 Apr 2021 19:42:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5C849388A826 Received: by mail-wm1-x330.google.com with SMTP id g18-20020a7bc4d20000b0290116042cfdd8so638682wmk.4 for ; Sat, 03 Apr 2021 12:42:12 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=R9IcsjPnDHU/dmEexCAQKAtwymjal0P+vsDSQhy0Pq4=; b=AVOo11drG8PA2+LKPP9f9VEP2hphdgT6llJ6C0xaiiwOiAF4NdYixj+RZ2xd+WffRk WS8iAULly3c6e770XUt/HCfYfck0tluv8TkVRdRBJ4DpbGUiRKZMHJR3JI31OFKGFl8Y Wva3NBTwIBSITgxbg2CSjSu9Xm0Gr3fSX8To5QzvcDETHlotcwhCIcraSuMD+ELRZu+I hLvrzrxW9IzovfiHpF0LIs9KVXFS+jARDcrKjP6y4tYuNsfO/pl48Ve2azO8OOWpP6mh fhjIugkJx9OyeGDM7aML70XrRnw/LeozbF6TiFTgS92odEV+TebQZm8gZDbF0h/pb5nQ G5jg== X-Gm-Message-State: AOAM530FW1s+HOzuaDpeQTsjQrIjqGasc2UAuHkWrBHDSaWz+Ag1yeMp gG6062hw14K8dV9oT88VtOY= X-Google-Smtp-Source: ABdhPJwRgEgHD515hkziNyncxbWWQQuO872UYmirB7RGd3W+fF/yXGpa0odlIJ5bucmjLQ4C8IFIQg== X-Received: by 2002:a05:600c:2145:: with SMTP id v5mr18389169wml.65.1617478931595; Sat, 03 Apr 2021 12:42:11 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:11 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 35/35] ioctl_getfsmap.2: Make clear why exactly is each header needed Date: Sat, 3 Apr 2021 21:40:27 +0200 Message-Id: <20210403194026.102818-36-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" doesn't seem to be needed! Only the include that provides the prototype doesn't need a comment. Also sort the includes alphabetically. Signed-off-by: Alejandro Colomar --- man2/ioctl_getfsmap.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man2/ioctl_getfsmap.2 b/man2/ioctl_getfsmap.2 index 4ff1c8a90..55a9ad620 100644 --- a/man2/ioctl_getfsmap.2 +++ b/man2/ioctl_getfsmap.2 @@ -25,9 +25,9 @@ ioctl_getfsmap \- retrieve the physical layout of the filesystem .SH SYNOPSIS .nf +.BR "#include " " /* Definition of " FS_IOC_GETFSMAP , +.RB " * " FM?_OF_* ", and " *FMR_OWN_* " constants */" .B #include -.B #include -.B #include .PP .BI "int ioctl(int " fd ", FS_IOC_GETFSMAP, struct fsmap_head * " arg ); .fi