On Fri, Mar 11, 2022 at 03:06:55PM +1100, luv-main wrote:
> https://www.spinellis.gr/blog/20220310/
>
> "Thanks to a tweet
> <https://twitter.com/AaronToponce/status/1501973596532461594> by Aaron
> Toponce <https://twitter.com/AaronToponce> I learned about the Linux
> |/dev/full| pseudo-device. Write system calls to it always fail with a
> |ENOSPC| (no space on device) error. With it finding software that doesn???t
> check for failed writes is a piece of cake. ..."
>
> This reminds me of a journal article from the 80s about the fragility of
> commercial Unix to unexpected input ... around the CrashMe times I think.
>
> Also of Stewart Smith's wisdom
>
> I see /dev/full on both Cygwin  & Linux as mentioned in the blog post.

Reading /dev/full provides a stream of NUL chars (same as /dev/zero)
_______________________________________________
luv-main mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to