<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hakurei/internal/pkg/exec.go, branch v0.3.7</title>
<subtitle>low-level userspace tooling for Rosa OS</subtitle>
<id>http://src.rosa.moe/hakurei/atom/internal/pkg/exec.go?h=v0.3.7</id>
<link rel='self' href='http://src.rosa.moe/hakurei/atom/internal/pkg/exec.go?h=v0.3.7'/>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/'/>
<updated>2026-03-11T16:14:03Z</updated>
<entry>
<title>container: expose priority and SCHED_OTHER policy</title>
<updated>2026-03-11T16:14:03Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-03-11T16:14:03Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=196b200d0f19c41730db439c62db9b39e424f21f'/>
<id>urn:sha1:196b200d0f19c41730db439c62db9b39e424f21f</id>
<content type='text'>
The more explicit API removes the arbitrary limit preventing use of SCHED_OTHER (referred to as SCHED_NORMAL in the kernel). This change also exposes priority value to set.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>container: move scheduler policy constants to std</title>
<updated>2026-03-11T11:03:08Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-03-11T11:03:08Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=fd515badffc159b62c5140b8340164ccd29e41f5'/>
<id>urn:sha1:fd515badffc159b62c5140b8340164ccd29e41f5</id>
<content type='text'>
This avoids depending on cgo.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>container: sched policy string representation</title>
<updated>2026-03-09T09:38:31Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-03-09T09:33:49Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=19a2737148609f0b40ea31cf5cd0cb809b60722f'/>
<id>urn:sha1:19a2737148609f0b40ea31cf5cd0cb809b60722f</id>
<content type='text'>
This also uses priority obtained via sched_get_priority_min, and improves bounds checking.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>internal/pkg: move output buffer to reader</title>
<updated>2026-03-06T14:39:12Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-03-06T14:39:12Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=1e0d68a29e824b25c556d28b6a0cd0c3ab39ffef'/>
<id>urn:sha1:1e0d68a29e824b25c556d28b6a0cd0c3ab39ffef</id>
<content type='text'>
This side is the read end of a pipe and buffering reads from it ended up performing better than buffering one half of the TeeReader (which already goes through the kernel page cache anyway).

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>internal/pkg: return writer after sync</title>
<updated>2026-03-04T15:23:24Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-03-04T15:22:53Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=883d4ee4af3b937a0ba157e902636f0c23afb805'/>
<id>urn:sha1:883d4ee4af3b937a0ba157e902636f0c23afb805</id>
<content type='text'>
This fixes a use-after-free.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>internal/pkg: write per-artifact logs</title>
<updated>2026-03-04T08:27:54Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-03-03T13:47:18Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=94e3debc632b6f3f309218395339ca0e9ba754b7'/>
<id>urn:sha1:94e3debc632b6f3f309218395339ca0e9ba754b7</id>
<content type='text'>
This is currently only used by execArtifact. A later patch will add additional logging facilities.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>internal/pkg: cancel on scanner error</title>
<updated>2026-03-03T13:20:43Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-03-03T13:20:43Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=ea87664a759991a14c6891d53a488e3b7af26ee8'/>
<id>urn:sha1:ea87664a759991a14c6891d53a488e3b7af26ee8</id>
<content type='text'>
This avoids discarding output thus appearing unresponsive.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>internal/pkg: set container scheduling policy</title>
<updated>2026-02-26T07:35:23Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-02-26T07:32:35Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=c16725a679c4f47a07c27ab947bcba9e21ecac9b'/>
<id>urn:sha1:c16725a679c4f47a07c27ab947bcba9e21ecac9b</id>
<content type='text'>
This is not as necessary as it was for nix, since internal/pkg only unblocks exclusive artifacts one at a time. Still, this is useful when running alongside an unprivileged music player which cannot set itself to a higher priority.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>internal/pkg: export layer promotion</title>
<updated>2026-02-19T06:06:10Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-02-19T06:06:10Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=1619b06541ac6da630529c1d80c513ae424f8078'/>
<id>urn:sha1:1619b06541ac6da630529c1d80c513ae424f8078</id>
<content type='text'>
This is a useful helper for external tooling.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>internal/pkg: export seccomp presets</title>
<updated>2026-02-19T05:30:31Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-02-19T05:30:31Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=e335d99c6b9b21a3b24f5f055b92fb1f3406a773'/>
<id>urn:sha1:e335d99c6b9b21a3b24f5f055b92fb1f3406a773</id>
<content type='text'>
This is useful for external tooling providing an execArtifact-like environment.

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