Page MenuHomeFreeBSD

libc/*/SYS.h: remove SYCALL macro
ClosedPublic

Authored by brooks on Dec 11 2023, 9:13 PM.
Tags
None
Referenced Files
F83294536: D42996.id131261.diff
Wed, May 8, 1:12 PM
Unknown Object (File)
Jan 23 2024, 7:11 AM
Unknown Object (File)
Jan 12 2024, 2:46 AM
Unknown Object (File)
Dec 23 2023, 4:04 AM
Unknown Object (File)
Dec 13 2023, 3:34 AM
Subscribers

Details

Summary

This hasn't been a univerally available interface since it was removed
from amd64 by commit efbef97de9805dec95db09953426f0b21bb2964f in 2004.
I removed the last consumers in 2016 when I replaced pipe(2) with
pipe2(2) in commit b60998c6331e2be21f1fc29fa6c82d94a1f72ef0.

Sponsored by: DARPA

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I love the smell of deleted cruft.

This revision is now accepted and ready to land.Dec 11 2023, 9:20 PM

it would be nice if there were a universal _SYSCALL for all platforms... x86 seems to be missing it... Sometimes I want to create binaries with *JUST* system calls... though maybe libsys will be that thing?

But this is fine.

In D42996#980425, @imp wrote:

it would be nice if there were a universal _SYSCALL for all platforms... x86 seems to be missing it... Sometimes I want to create binaries with *JUST* system calls... though maybe libsys will be that thing?

Coming soon, but I figured I'd get this one out of the way since it's lower risk than touching code that's actually used.

Forgot to tick accepted, but clicking it harder after brooks' answer :)

This revision was automatically updated to reflect the committed changes.