if everything TRULY is a file, then the only syscalls you need are open, read, and write. you can implement everything else on top of open, read, and write. change my mind.
-
Show this thread
-
Replying to @mycoliza
read() and write() should not access other properties of the calling process for security reasons; such things make attacks possible, both against the kernel and against other processes. see, for example, the band-aid fix e6bd18f57aad1a2d1ef40e646d03ed0f2515c9e3 for IB
2 replies 0 retweets 0 likes
the true universal syscall is ioctl()
5:51 PM - 28 Mar 2018
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.