<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hakurei/helper/seccomp, branch develop</title>
<subtitle>low-level userspace tooling for Rosa OS</subtitle>
<id>http://src.rosa.moe/hakurei/atom/helper/seccomp?h=develop</id>
<link rel='self' href='http://src.rosa.moe/hakurei/atom/helper/seccomp?h=develop'/>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/'/>
<updated>2025-03-14T13:42:40Z</updated>
<entry>
<title>seccomp: move out of helper</title>
<updated>2025-03-14T13:42:40Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-03-14T13:42:40Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=2647a71be1f287e50011a65653b9e9c806627899'/>
<id>urn:sha1:2647a71be1f287e50011a65653b9e9c806627899</id>
<content type='text'>
Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>helper/seccomp: improve error handling</title>
<updated>2025-03-12T06:52:48Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-03-12T06:52:48Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=29c3f8becb875de308be9238f5ca0ba9f35eb7bd'/>
<id>urn:sha1:29c3f8becb875de308be9238f5ca0ba9f35eb7bd</id>
<content type='text'>
This passes both errno and libseccomp return value.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>helper/seccomp: seccomp_load on negative fd</title>
<updated>2025-03-12T06:18:52Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-03-12T06:18:52Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=be16970e770554b3c2191da41eb9bd4472b323e4'/>
<id>urn:sha1:be16970e770554b3c2191da41eb9bd4472b323e4</id>
<content type='text'>
Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>fortify: keep external files alive</title>
<updated>2025-02-22T18:24:37Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-02-22T18:24:37Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=eda4d612c2e64321766e1074a698caeae843102a'/>
<id>urn:sha1:eda4d612c2e64321766e1074a698caeae843102a</id>
<content type='text'>
This should eliminate sporadic failures, like the known double close in "seccomp".

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>fmsg: implement suspend in writer</title>
<updated>2025-02-16T09:51:53Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-02-16T08:26:09Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=e599b5583dd821ed26bdfc01f7f67d4a317b9843'/>
<id>urn:sha1:e599b5583dd821ed26bdfc01f7f67d4a317b9843</id>
<content type='text'>
This removes the requirement to call fmsg.Exit on every exit path, and enables direct use of the "log" package. However, fmsg.BeforeExit is still encouraged when possible to catch exit on suspended output.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>helper: use generic extra files interface</title>
<updated>2025-02-13T14:34:15Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-02-13T14:15:34Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=fe7d208cf76fa6f24bb9d12ba29b5ed61d837ce3'/>
<id>urn:sha1:fe7d208cf76fa6f24bb9d12ba29b5ed61d837ce3</id>
<content type='text'>
This replaces the pipes object and integrates context into helper process lifecycle.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>helper/seccomp: use sync.Once for closeWrite</title>
<updated>2025-02-13T13:49:16Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-02-13T13:49:16Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=d1d20c06fb0c3ed5aaff15f284921a5e61c291e1'/>
<id>urn:sha1:d1d20c06fb0c3ed5aaff15f284921a5e61c291e1</id>
<content type='text'>
This makes the code much cleaner, and eliminates the intermittent ErrInvalid errors.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>helper/seccomp: benchmark exporter</title>
<updated>2025-02-13T13:37:51Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-02-13T13:37:51Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=1e6a0596687ee772fd53317727f5724dd119668c'/>
<id>urn:sha1:1e6a0596687ee772fd53317727f5724dd119668c</id>
<content type='text'>
Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>helper/seccomp: eliminate data race on pfd</title>
<updated>2025-02-13T01:40:51Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-02-13T01:40:51Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=099da78af5b78ac69a9c3550229a29d8dac0e9f8'/>
<id>urn:sha1:099da78af5b78ac69a9c3550229a29d8dac0e9f8</id>
<content type='text'>
Turns out the doc comment on os.File was lying about its methods being safe for concurrent use. The race detector picked up a data race from concurrent use of Fd and Close.

This change eliminates that by calling Fd in the prepare routine.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>helper/seccomp: panic on invalid closeWrite use</title>
<updated>2025-02-07T03:58:20Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-02-07T03:58:20Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=568d7758d5308457967672997d9d2e786c7403f1'/>
<id>urn:sha1:568d7758d5308457967672997d9d2e786c7403f1</id>
<content type='text'>
Returning an error here puts exporter in an invalid state. The caller should guard against this condition instead.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
</feed>
