58 points · by blueblueue · 3y ago · 38 comments
https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash....
> Bash handles several filenames specially when they are used in redirections, as described in the following table. If the operating system on which Bash is running provides these special files, bash will use them; otherwise it will emulate them internally with the behavior described below.
> ...
> Bash attempts to open the corresponding [...] socket.
https://www.gnu.org/software/gawk/manual/gawkinet/gawkinet.h...
For example, one could run gawk under dash (scripting shell) instead of bash (interactive shell), for instance in a script.
Cacheable accesses would break that use case.
CPU got cache for caching memory
I would expect the memory access to happen through the CPU and its cache, avoiding such problems.
- root can install device drivers which have full executable run of the system anyway and do anything you can do with this device; this is also true on Windows.
- read about CONFIG_STRICT_DEVMEM - https://man7.org/linux/man-pages/man4/mem.4.html#:~:text=Sin....
- wait until you hear about `/dev/kmem`.
- it's possible to build a Linux kernel without `/dev/mem` support and also without loadable module support (I think), so if your threat model indicates this needs to be addressed it is possible.
Oddly enough, no. Or atleast last time I tried on Ubuntu I had to disable secure boot. Seemed like an easier way than to sign the build files