<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[https:&#x2F;&#x2F;www.evanjones.ca&#x2F;setenv-is-not-thread-safe.html today I learned.]]></title><description><![CDATA[<p class="quote-inline">RE: <a href="https://infosec.exchange/@pancake/116572937101696701" rel="nofollow noopener"><span>https://</span><span>infosec.exchange/@pancake/1165</span><span>72937101696701</span></a></p><p><a href="https://www.evanjones.ca/setenv-is-not-thread-safe.html" rel="nofollow noopener"><span>https://www.</span><span>evanjones.ca/setenv-is-not-thr</span><span>ead-safe.html</span></a> today I learned. Wow.</p>]]></description><link>https://board.circlewithadot.net/topic/b1327dd2-13b6-41c4-9dd9-e4971a10d914/https-www.evanjones.ca-setenv-is-not-thread-safe.html-today-i-learned.</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 06:55:11 GMT</lastBuildDate><atom:link href="https://board.circlewithadot.net/topic/b1327dd2-13b6-41c4-9dd9-e4971a10d914.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 May 2026 12:36:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to https:&#x2F;&#x2F;www.evanjones.ca&#x2F;setenv-is-not-thread-safe.html today I learned. on Thu, 14 May 2026 13:06:06 GMT]]></title><description><![CDATA[<p><span><a href="/user/xabean%40infosec.exchange">@<span>xabean</span></a></span> yeah i assume setenv is not thread safe, but i assume that if i fork a process i can setenv before calling execvp.. turns out it's not the case. POSIX is full of traps, in macos fork(2) manpage explains that in the last section. it's like a limbo for anything that's not listed in man 7 signal-safety.</p>]]></description><link>https://board.circlewithadot.net/post/https://infosec.exchange/users/pancake/statuses/116573075296756160</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://infosec.exchange/users/pancake/statuses/116573075296756160</guid><dc:creator><![CDATA[pancake@infosec.exchange]]></dc:creator><pubDate>Thu, 14 May 2026 13:06:06 GMT</pubDate></item></channel></rss>