Modifying the Linux Kernel – New Syscalls
I remember Synology ships their NAS with custom vendor syscalls that used unassigned syscall numbers at the time, but those numbers are now clashing with real syscalls - causing undefined behaviour when running arbitrary code (e.g. Docker)So TL;DR only implement custom syscalls if you intend to maintain for all of its consequences in the future.Here's the tweet on Synology - https://twitter.com/RichFelker/status/1357733309737021444