Skip to content

aarch64: userspace fails to parse vdso through auxv #1324

Open
@shrik3

Description

@shrik3

test code (note: should be GPL but I forgot where the code was from).

https://paste.sr.ht/blob/2bd3b5a16686b99fe4790d298d90d6a38c90f3a8

on native aarch64 (kernel 5.15)

$ ./test
VDSO @ 0xffff871d8000
__kernel_rt_sigreturn  @ (nil) 
__kernel_clock_getres  @ 0xffff871d8760 
__kernel_clock_gettime @ 0xffff871d8720 
__kernel_gettimeofday  @ 0xffff871d8740

with Quark:

docker run --rm --runtime=quark_d test
VDSO @ 0xa000001000
__kernel_rt_sigreturn  @ (nil) 
__kernel_clock_getres  @ (nil) 
__kernel_clock_gettime @ (nil) 
__kernel_gettimeofday  @ (nil)

(note: I didn't include @chl337 's vdso patch as it has nothing to do with userspace and auxv)

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions