<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hakurei/container/container_test.go, branch develop</title>
<subtitle>low-level userspace tooling for Rosa OS</subtitle>
<id>http://src.rosa.moe/hakurei/atom/container/container_test.go?h=develop</id>
<link rel='self' href='http://src.rosa.moe/hakurei/atom/container/container_test.go?h=develop'/>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/'/>
<updated>2026-08-25T05:53:29Z</updated>
<entry>
<title>container: enter init path early</title>
<updated>2026-08-25T05:53:29Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-08-25T05:48:27Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=1c3761bb53c95d75751f95e8f77d9d1e5928b968'/>
<id>urn:sha1:1c3761bb53c95d75751f95e8f77d9d1e5928b968</id>
<content type='text'>
There is generally no use case where any setup is required before init, and requiring the explicit function call is error-prone and unnecessary. It also causes trouble with packages using a similar trick. This change moves argv0 check early and makes it an import side effect. The stub will be removed in v0.5.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>container: optionally map uid/gid 0 as init</title>
<updated>2026-05-07T06:15:47Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-05-07T06:15:28Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=d4144fcf7f9217d2a2dcec21202421d5fa9d4928'/>
<id>urn:sha1:d4144fcf7f9217d2a2dcec21202421d5fa9d4928</id>
<content type='text'>
Unfortunately required to work around flawed APIs like binfmt_misc.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>container: improve capability handling</title>
<updated>2026-05-07T05:27:28Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-05-07T05:14:06Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=bad66facbc1b555d8883534c27ada586fc15df9c'/>
<id>urn:sha1:bad66facbc1b555d8883534c27ada586fc15df9c</id>
<content type='text'>
This cleans up preserving caps for expansion and correctly sets privileged caps.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>container: abandon response on termination</title>
<updated>2026-05-06T15:58:02Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-05-06T15:50:47Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=4aba014eac0c11bd184364b506b3e15d5716e947'/>
<id>urn:sha1:4aba014eac0c11bd184364b506b3e15d5716e947</id>
<content type='text'>
This prevents blocking on early failure.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>container: check capability in test helper</title>
<updated>2026-05-06T12:05:54Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-05-06T12:05:54Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=779ba994ce8811a747a902359fe2e9c488a8563e'/>
<id>urn:sha1:779ba994ce8811a747a902359fe2e9c488a8563e</id>
<content type='text'>
This makes corresponding nixos tests redundant.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>container/initoverlay: configure via fsconfig</title>
<updated>2026-05-03T17:29:56Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-05-03T17:07:52Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=da11b26ec16ef9ed61045fdbb03c4090286bfeba'/>
<id>urn:sha1:da11b26ec16ef9ed61045fdbb03c4090286bfeba</id>
<content type='text'>
This works around the page size limit at the cost of negligible performance regressions.

Closes #34.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>internal/landlock: relocate from package container</title>
<updated>2026-04-10T14:56:45Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-04-10T14:56:45Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=b39064037625d1757a65913086ec3a247ad5bb29'/>
<id>urn:sha1:b39064037625d1757a65913086ec3a247ad5bb29</id>
<content type='text'>
This is not possible to use directly, so remove it from the public API.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>internal/params: relocate from package container</title>
<updated>2026-04-07T07:37:44Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-04-07T07:31:46Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=c61cdc505f05decd940cb2d861241039a49251e3'/>
<id>urn:sha1:c61cdc505f05decd940cb2d861241039a49251e3</id>
<content type='text'>
This does not make sense as part of the public API, so make it internal.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>all: optionally forbid degrading in tests</title>
<updated>2026-04-07T06:22:52Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-04-07T06:18:28Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=e4355279a1624833e36455a1a85788dbe091464e'/>
<id>urn:sha1:e4355279a1624833e36455a1a85788dbe091464e</id>
<content type='text'>
This enables transparently degradable tests to be forced on in environments known to support them.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>container: transparently degrade landlock in tests</title>
<updated>2026-04-07T06:03:48Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-04-07T06:03:48Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=289fdebead872b1b011b8fe892d43a2f234703d1'/>
<id>urn:sha1:289fdebead872b1b011b8fe892d43a2f234703d1</id>
<content type='text'>
Explicitly requiring landlock in tests will be supported in a future change.

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