Linux Kernel Space and Graphics
-
University of Toronto ☛ Unix /dev/fd and dup(2)
A narrow Linux-specific reason that opening /dev/fd/N forces permissions re-checks is probably partly because /dev/fd is a symbolic link to /proc/self/fd, which is a self-referential instance of a general Linux /proc facility that allows you to open what any process's file descriptor points to, provided that you have the necessary permissions. This includes file descriptors for things that are now deleted (I've used this to rescue a file that I accidentally removed but a process still had open). You obviously need to do permissions checks on this in general, so it would take extra code to special case re-opening your own file descriptors.
-
Tomeu Vizoso: Etnaviv NPU update 9: We got there!
Progress
Since the last update I finally got the whole of MobileNetv1 running at full-accuracy on the NPU with Mesa: [...] -
Mike Blumenkrantz: Hibernation
As readers are no doubt aware by now, SGC goes into hibernation beginning around November, and that time is nearly upon us once more. To cap out another glorious year of
shitpostinghighly technical and informative blogging, I’ll be attempting to put up a newsworthy post every day.