Re:OS X 10.10.5 kernel local privilege escalation
by amluto on Monday August 17, 2015 @01:47PM
(#10074790)
There were only ever "vsyscall" entries for three syscalls: time, gettimeofday, and getcpu.
On recent kernels, the vsyscalls are actually the slowest way of all to ask for the time or the cpu number. They're only supported at all as a fallback, and the fallback is very slow, because it tries to mitigate exploit risks due to having code at a fixed address.
On recent kernels, the vsyscalls are actually the slowest way of all to ask for the time or the cpu number. They're only supported at all as a fallback, and the fallback is very slow, because it tries to mitigate exploit risks due to having code at a fixed address.
https://lwn.net/Articles/446528/