[libc-commits] [libc] [libc] implement vdso (PR #91572)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Tue May 28 11:44:58 PDT 2024


nickdesaulniers wrote:

> The manpage you reference is incomplete w.r.t. which functions are supported on which architectures. At least, x86-64, it's missing clock_getres, which was added in 2019.
> 
> You might wish to look at the kernel sources directly, instead of this outdated documentation -- the info is in the "VERSION" section in the vdso linker scripts. E.g. `less $(git grep -l VERSION arch/**/*lds.S)`

Right, this was what I was afraid of; man pages getting out of date.  The kernel sources are the source of truth, so I'd prefer to have comments in our sources linking to the relevant sources from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/. In particular, [there's active discussion on LKML around adding a new symbol to vdso](https://lore.kernel.org/lkml/20240528122352.2485958-1-Jason@zx2c4.com/); `getrandom`.

https://github.com/llvm/llvm-project/pull/91572


More information about the libc-commits mailing list