Message ID | 20210313192526.350200-11-alx.manpages@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces@sourceware.org> 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=<UNKNOWN>) 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=BeB9z6ub; 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 4DyXjt6Xmqz9sRR for <incoming@patchwork.ozlabs.org>; Sun, 14 Mar 2021 06:26:42 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2EAF8388C034; Sat, 13 Mar 2021 19:26:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2EAF8388C034 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1615663562; bh=16hG+prRGYsc90zoRGQcsQFv1GBR/nIH049+WtOVoWA=; 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=BeB9z6ubNUAklsnCBVDVXeW242skvOdnlbOrz8qpBPDE04FdOv/9ZIU1rIkjkvhC8 LlOP8rbi3XpestStIfLPEitdxh4Izn075OCR1ZfiP7nu1kXKZgpJaSYgNfR4Rj++TK 4tgQ3BmzZE5LKEf2Nakca99I537eFhc1NGzUuEME= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by sourceware.org (Postfix) with ESMTPS id 340C0388A811 for <libc-alpha@sourceware.org>; Sat, 13 Mar 2021 19:25:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 340C0388A811 Received: by mail-wr1-x430.google.com with SMTP id y16so6617123wrw.3 for <libc-alpha@sourceware.org>; Sat, 13 Mar 2021 11:25:58 -0800 (PST) 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=16hG+prRGYsc90zoRGQcsQFv1GBR/nIH049+WtOVoWA=; b=HPhwcGPFCNURJoekNIcTY+MgvME3dXtcJwpDwn/evsypLZemO2medTdUfU+CuZnAZY hxvAASuYc6frKqcnAtfU7woGW4eLu+JqdiDeO2kwJPyVVYBfFNSTQBJ9tqbpKVA+z8rq r/fsIEL6PYbr1PmNbW6GZCc55oWzvMi2dJw+qfoniL2aJ1mdHJpUwzTA5/YgZencdRM1 5O7tgO9mwibv/H4hFj/qWCctz1Lj9X/WHSl5yZxdbbNYsGAglJPrunuTb2AI0vD2xfQT 5FkJ6uTSwT6r4eOIU9+5CRLxYUdkprzm0Q9pQ+f7gzJisAGRuZ2lPMlsNljF4LUgvJJo t0uQ== X-Gm-Message-State: AOAM533tpjCSJ+yaE1D+5xqWPfmRNSWezhPXtQdhiXWi6ZHj7ICYW1oQ UaBoG829hJqOIm5XdbKP/kJL4BEBClVVKw== X-Google-Smtp-Source: ABdhPJy9L87AixTdY5x8ZssPvIuDW/oCBWr4JSxUVtdGl9Wt2BQEc4B8QXOaVssg/RMvaplZLlgSrw== X-Received: by 2002:adf:f648:: with SMTP id x8mr20244639wrp.157.1615663557329; Sat, 13 Mar 2021 11:25:57 -0800 (PST) Received: from localhost.localdomain ([170.253.51.130]) by smtp.googlemail.com with ESMTPSA id j136sm7670964wmj.35.2021.03.13.11.25.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Mar 2021 11:25:57 -0800 (PST) To: mtk.manpages@gmail.com Subject: [RFC v3 10/17] exit_group.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sat, 13 Mar 2021 20:25:20 +0100 Message-Id: <20210313192526.350200-11-alx.manpages@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210214133907.157320-1-alx.manpages@gmail.com> References: <20210214133907.157320-1-alx.manpages@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.5 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 <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Alejandro Colomar via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Alejandro Colomar <alx.manpages@gmail.com> Cc: Alejandro Colomar <alx.manpages@gmail.com>, linux-man@vger.kernel.org, libc-alpha@sourceware.org, linux-kernel@vger.kernel.org, Florian Weimer <fweimer@redhat.com> Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces@sourceware.org> |
Series |
[RFC] execve.2: SYNOPSIS: Document both glibc wrapper and kernel sycalls
|
expand
|
diff --git a/man2/exit_group.2 b/man2/exit_group.2 index d26ec8c70..5bf207bd3 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 <linux/unistd.h> +.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */" +.B #inlcude <unistd.h> .PP -.BI "void exit_group(int " status ); +.BI "void syscall(SYS_exit_group, int " status ); .fi .SH DESCRIPTION This system call is equivalent to
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> --- man2/exit_group.2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)