Hacker News new | ask | show | jobs
by autoliteInline 1729 days ago
'it would cause a massive backward-compatibility problem to switch to something other than an integer.'

lol. of course.

Suggestion numero two. A dedicated syscall for additional syscalls that has a dedicated parameter for a GUID. We can add a third level in 2050 or so.

1 comments

Registering paths in /dev, /proc, or /sys seems like the way to go. Slightly slower than a syscall, because the kernel has to do text comparison with the path (such as /dev/foobar) you're reading/writing/ioctling.