Saagar Jha
(replying to Dark Sage Torunka :verified:)
@kmeisthax This is going to break applications that use dlsym to look up symbols in libc though
Saagar Jha
(replying to Saagar Jha)
@kmeisthax Like if you take this to its logical conclusion it’s just “applications should specify which system calls they use” which is literally just what pledge does and it’s enforced by the kernel and not in some weird ad-hoc IP to syscall number lookup scheme
Dark Sage Torunka :verified:
(replying to Saagar Jha)
@saagar 2033: OpenBSD now requires all applications provide a control flow graph of the entire binary and validates it against the stack trace at every libc call