new pidfd_open wrapper from glibc2.36 is undocumented in manpages-dev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
manpages (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
glibc2.36 shipping with Ubuntu 22.10 has pidfd_open and other pidfd_* support. manpages-dev still reports "Note: glibc provides no wrapper for pidfd_open(), necessitating the use of syscall(2)" and recommends the less ideal `int syscall(
This is a new behaviour this August 2022 according to https:/
$ lsb_release -rd
Description: Ubuntu 22.10
Release: 22.10
$ apt-cache policy manpages-dev
manpages-dev:
Installed: 5.13-1
Candidate: 5.13-1
Version table:
*** 5.13-1 500
500 https:/
500 https:/
100 /var/lib/
$ apt-cache policy libc6
libc6:
Installed: 2.36-0ubuntu4
Candidate: 2.36-0ubuntu4
Version table:
*** 2.36-0ubuntu4 500
500 https:/
100 /var/lib/
# Expected behaviour
The function exists from `#include <sys/pidfd.h>`. It should recommend something like the line there with ```extern int pidfd_open (__pid_t __pid, unsigned int __flags) __THROW;```.
$ readelf -Ws /lib/x86_
1425: 000000000011fbe0 37 FUNC GLOBAL DEFAULT 16 pidfd_open@
# Actual behaviour
$ zcat /usr/share/
glibc provides no wrapper for
---
ProblemType: Bug
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
Dependencies:
DistroRelease: Ubuntu 22.10
Package: manpages 5.13-1
PackageArchitec
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
Tags: kinetic
Uname: Linux 6.0.1-surface x86_64
UpgradeStatus: Upgraded to kinetic on 2022-09-29 (25 days ago)
UserGroups: dialout docker kvm lpadmin lxd plugdev sudo systemd-journal video wireshark
_MarkForUpload: True
apport information