Kornel on Nostr: TIL: when running software in chroot, there is no /dev, so /dev/null can end up being ...
TIL: when running software in chroot, there is no /dev, so /dev/null can end up being a regular file, and then reading from /dev/null is a surprise.
Published at
2024-05-29 13:14:53Event JSON
{
"id": "ad56681b34dd530b18b2a81fb0b4a6aeb824044908e4bbee1a0f86e6787061e5",
"pubkey": "b2542012f4cd3dfbb8badbc0ce455effbabf3f346ac76dc6986a47d12a271cb1",
"created_at": 1716988493,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/kornel/statuses/112524557915436530",
"activitypub"
]
],
"content": "TIL: when running software in chroot, there is no /dev, so /dev/null can end up being a regular file, and then reading from /dev/null is a surprise.",
"sig": "dc93337bd132280f1ae9f3b1d00a95cbe0fcf41b79f4cc929f9e245d992fdd49c6c2962fd04b3c9745fe8d14613335ac173df1638dab7fd51f4ddd8bc01c65eb"
}