Message ID | 20210403194026.102818-25-alx.manpages@gmail.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patches-gcc@linaro.org Received: by 2002:a4a:2705:0:0:0:0:0 with SMTP id l5csp2162866oof; Sat, 3 Apr 2021 12:43:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykxXA9fEjq5goaIpt1lwOwt+XcySFN/3hhi7npiAk0Gf/wtWAwQYJDge6XGKeCKKcnShf0 X-Received: by 2002:a17:906:3a94:: with SMTP id y20mr20031925ejd.35.1617479019668; Sat, 03 Apr 2021 12:43:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617479019; cv=none; d=google.com; s=arc-20160816; b=qlEm2g5lnqul3BKtdtD6zHGs0WZ8O5DuC4IvfhdDzyBK4SCkGez8dXrF0Ggn9eiVtt tPIoW2iLQa7eHGnULUhLIV+bHfpy2M7dh1iPgNmmzoUCvvcdN+u9odFeWGumkrWeavz4 MYr26CzpWoLfqfatfOfNIFQRYmRMv40nFZlIKu55xDq1Vxz+MectXcTnU53Mpp+pufdL 1dmg8+i+hat1x/nyt3V8uyWfBjG+JNvhYDQjVh8kqVPikLAVjZp82eeDqXPoxg6no1NB SG9jpnaNWUCotf/U9j9sqeDwQZ0wlxHWyv6bzcKCpHNDY1g9jy/C083/GwfLF/91xX6w DX7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:dmarc-filter:delivered-to:dkim-signature :dkim-filter; bh=xbl3Scz+Whx5QdNUVdsmqGH+HBuFLIhFEIq1ddPemjU=; b=c/vgZq7HwI3rejmtk6QneKDljFeQoC9zEQ48uuEMCAWOKHz5CVPQ1c9FfVrou8y+yn RApSStJCXhJI/03GYL7Yvdu8bLTrHw2ug5RsAMNdIw52Y7bzlG7MO4hJ5Th0ODrzkayq LoOJt4yxZ7FXCv6mFgS7wHAr13SwCSgu5KpgrZxqKTY+goCv8HSrC5+y7hfeR5DYvdUs xGLDXlRVVHfxMuAOfr8z/YnjtA0ps3FZXVr4rDNjCJg9hhvULxYOXTRPmpEMHoJbgo4R RJy8KDdbw/uGRfzS+/ilwHhKNtOivFx1q1UUqK0+C2CVqNJJjcok4aK77OVvG7XHOEzw d9dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=el3IoXhL; spf=pass (google.com: domain of libc-alpha-bounces@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom=libc-alpha-bounces@sourceware.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Return-Path: <libc-alpha-bounces@sourceware.org> Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id g5si9193301edy.61.2021.04.03.12.43.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:43:39 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=el3IoXhL; spf=pass (google.com: domain of libc-alpha-bounces@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom=libc-alpha-bounces@sourceware.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org 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 <libc-alpha@sourceware.org>; 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 <libc-alpha@sourceware.org>; 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-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 Content-Transfer-Encoding: 8bit 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 <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 Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces@sourceware.org> |
Series |
|
Related |
show
|
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 <syscall.h> .B #include <linux/unwind.h> +.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */" +.B #inlcude <unistd.h> .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)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> --- man2/getunwind.2 | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) -- 2.31.0