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)<p>So TL;DR only implement custom syscalls if you intend to maintain for all of its consequences in the future.<p>Here's the tweet on Synology - <a href="https://twitter.com/RichFelker/status/1357733309737021444" rel="nofollow">https://twitter.com/RichFelker/status/1357733309737021444</a>