4 ms·
I know how dynamic linkers work and am not arguing against using the libc interface in general. I'm saying that this program intentionally doesn't use those int
by saagarjha 6y ago
I know how dynamic linkers work and am not arguing against using the libc interface in general. I'm saying that this program intentionally doesn't use those interfaces.
- andy_threos_io 6y agoThe system call library is NOT libc.
- saagarjha 6y agoThen Apple doesn't have it.
- andy_threos_io 6y ago/usr/lib/system/libsystem_kernel.dylib
- andy_threos_io 6y agoyou don't know about it /usr/lib/system/libsystem_kernel.dylib ex. https://stackoverflow.com/questions/37656016/osx-setgid-system-call-which-api-is-the-correct-one https://stackoverflow.com/questions/37656016/osx-setgid-syst...
- saagarjha 6y agoThat's part of libSystem, macOS's libc implementation…
- vetinari 6y agoThis can be a problem on macOS; Apple doesn't keep compatibility among releases at sysenter level. Golang used to run into this, they switched to using libSystem in 1.11: https://golang.org/doc/go1.11#runtime https://golang.org/doc/go1.11#runtime