<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hakurei/sandbox/seccomp, branch develop</title>
<subtitle>low-level userspace tooling for Rosa OS</subtitle>
<id>http://src.rosa.moe/hakurei/atom/sandbox/seccomp?h=develop</id>
<link rel='self' href='http://src.rosa.moe/hakurei/atom/sandbox/seccomp?h=develop'/>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/'/>
<updated>2025-07-02T12:31:29Z</updated>
<entry>
<title>hakurei: move container helpers toplevel</title>
<updated>2025-07-02T12:31:29Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-07-02T12:31:29Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=eec021cc4b4eb42bc9c8311755826828bfba1996'/>
<id>urn:sha1:eec021cc4b4eb42bc9c8311755826828bfba1996</id>
<content type='text'>
Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>sandbox: expose seccomp interface</title>
<updated>2025-07-01T19:47:13Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-07-01T19:38:28Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=31aef905fa819310ee7694775a836c294ff742e4'/>
<id>urn:sha1:31aef905fa819310ee7694775a836c294ff742e4</id>
<content type='text'>
There's no point in artificially limiting and abstracting away these options. The higher level hakurei package is responsible for providing a secure baseline and sane defaults. The sandbox package should present everything to the caller.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>sandbox/seccomp: prepare -&gt; export</title>
<updated>2025-07-01T15:32:48Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-07-01T15:32:48Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=26b7afc890e23af19fe6662fd27f46b47e9feea9'/>
<id>urn:sha1:26b7afc890e23af19fe6662fd27f46b47e9feea9</id>
<content type='text'>
Export makes a lot more sense, and also matches the libseccomp function.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>sandbox/seccomp: native rule slice in helpers</title>
<updated>2025-07-01T15:22:27Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-07-01T15:22:27Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=d5532aade0c3f042c5daa7d1c16e7cce2f4b524a'/>
<id>urn:sha1:d5532aade0c3f042c5daa7d1c16e7cce2f4b524a</id>
<content type='text'>
These helper functions took FilterPreset as input for ease of integration. This moves them to []NativeRule.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>sandbox/seccomp: native rule type alias</title>
<updated>2025-07-01T15:00:08Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-07-01T15:00:08Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=0c5409aec7455cbe9e34b0e4d2f0edf0bc3c6e37'/>
<id>urn:sha1:0c5409aec7455cbe9e34b0e4d2f0edf0bc3c6e37</id>
<content type='text'>
This makes it easier to keep API stable.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>sandbox/seccomp: resolve rules natively</title>
<updated>2025-07-01T13:11:32Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-07-01T11:23:33Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=1a8840bebc673672235b6e10b1b9386f24751757'/>
<id>urn:sha1:1a8840bebc673672235b6e10b1b9386f24751757</id>
<content type='text'>
This enables loading syscall filter policies from external cross-platform config files.

This also removes a significant amount of C code.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>sandbox/seccomp: extra constants</title>
<updated>2025-07-01T11:15:42Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-07-01T11:15:42Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=1fb453dffe4c83866fedfa4590be30ec65e815ff'/>
<id>urn:sha1:1fb453dffe4c83866fedfa4590be30ec65e815ff</id>
<content type='text'>
These all resolve to pseudo syscall numbers in libseccomp, but are necessary anyway for other platforms.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>sandbox/seccomp: implement syscall lookup</title>
<updated>2025-06-30T15:35:27Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-06-30T15:35:27Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=e03d702d088ad78645d1cce448713ef71b12e803'/>
<id>urn:sha1:e03d702d088ad78645d1cce448713ef71b12e803</id>
<content type='text'>
This uses the Go map and is verified against libseccomp.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>sandbox/seccomp: wire extra syscall</title>
<updated>2025-06-30T15:32:08Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-06-30T15:32:08Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=241dc964a6bb2116cd95a78dbbc35f9792dad554'/>
<id>urn:sha1:241dc964a6bb2116cd95a78dbbc35f9792dad554</id>
<content type='text'>
These values are only useful for libseccomp.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>sandbox/seccomp: emit syscall constants</title>
<updated>2025-06-30T11:34:33Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-06-30T11:34:33Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=8ef71e14d511d0b85bc9e419aee4c43147a4eefa'/>
<id>urn:sha1:8ef71e14d511d0b85bc9e419aee4c43147a4eefa</id>
<content type='text'>
Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
</feed>
