From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by sourceware.org (Postfix) with ESMTPS id 7D8D838515EF for ; Sun, 4 Apr 2021 11:59:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7D8D838515EF Received: by mail-wr1-x42f.google.com with SMTP id f12so2624033wro.0 for ; Sun, 04 Apr 2021 04:59: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=xbl3Scz+Whx5QdNUVdsmqGH+HBuFLIhFEIq1ddPemjU=; b=FmGQMrKeOSyh5iVh357ikVN7nue9OAJ5tGwdGDwM1ezuw+fPQoTK6EUpjM0SgDDpCp z/b1CevjPAOuMNC7Dt0Ayy0CHLqtW0E/UBIRoTbKTgEwvmyhiPJpDO25CUZJ/eOok3Ye QPzQa1cOfOnh0zy6hm3BQudfaTfYjvCRNwLiJi0bC5BsooG5lyGN58+voVTzn8YsE2aQ ury866xOKVnoUPYMAhn+1FnwxYLtzimOYRKR6z8ksA6vPNRSgPQySX4WlCQ/6XU0gt4T zevfgAje/LEmhQ/EkoZCp/1oTDkSZspKSHPgqNIkAXYkIZTrBbdPj7fwWjN2LljdwUkZ 3pwg== X-Gm-Message-State: AOAM530iFC/FOFVtsUjIoY3O6ofM5G3Ob2Hvzig5D6tobLStevoOTu2T tu4eh9jJxpHhf28H4Ml02gA= X-Google-Smtp-Source: ABdhPJz10uorz7kosqPgXgbFbzRGXzb+WP320MIbrA0KIw3KAvXTDMhNHIDTD7qyb8HiF6S3NqvYEw== X-Received: by 2002:a5d:424c:: with SMTP id s12mr25042794wrr.161.1617537589661; Sun, 04 Apr 2021 04:59:49 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id u2sm23786967wrp.12.2021.04.04.04.59.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Apr 2021 04:59:49 -0700 (PDT) From: Alejandro Colomar To: mtk.manpages@gmail.com Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Subject: [PATCH v5 24/35] getunwind.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sun, 4 Apr 2021 13:58:37 +0200 Message-Id: <20210404115847.78166-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.3 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-List-Received-Date: Sun, 04 Apr 2021 11:59:51 -0000 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) -- 2.31.0