Jan Schaumann on Nostr: You all know how `popen(3)` shells out and thus has been the cause of countless ...
You all know how `popen(3)` shells out and thus has been the cause of countless command injections, but did you also know that #NetBSD has `popenve(3)`, which uses `execve(2)` instead?
https://man.netbsd.org/popenve.3Seriously, other #Unix versions should pick that up.
Published at
2024-10-29 02:35:27Event JSON
{
"id": "07c63190776e8aed94e1f6e8b7f45183b9381e670cfe81ee62965cb9592ddf5b",
"pubkey": "b3087ccfbff4c2e2e16a3af148b6a3a27fe07bb1e7628b714a11e5f26711f263",
"created_at": 1730169327,
"kind": 1,
"tags": [
[
"t",
"NetBSD"
],
[
"t",
"Unix"
],
[
"proxy",
"https://mstdn.social/users/jschauma/statuses/113388377028070803",
"activitypub"
]
],
"content": "You all know how `popen(3)` shells out and thus has been the cause of countless command injections, but did you also know that #NetBSD has `popenve(3)`, which uses `execve(2)` instead?\n\nhttps://man.netbsd.org/popenve.3\n\nSeriously, other #Unix versions should pick that up.",
"sig": "513407c53667c4b4b6fbb755f6d010fce8b731132463f71740160a586e1a816b987f2805de9bc5a78cda3aa362638873771025689af420d5b04af55024fe4f64"
}