<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hakurei/container/container.go, branch v0.3.7</title>
<subtitle>low-level userspace tooling for Rosa OS</subtitle>
<id>http://src.rosa.moe/hakurei/atom/container/container.go?h=v0.3.7</id>
<link rel='self' href='http://src.rosa.moe/hakurei/atom/container/container.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: use policy name in log message</title>
<updated>2026-03-11T11:20:34Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-03-11T11:20:34Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=1e8ac5f68ef6911c278b4c48722a1924d996206c'/>
<id>urn:sha1:1e8ac5f68ef6911c278b4c48722a1924d996206c</id>
<content type='text'>
This is more helpful than having the user resolve the integer.

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>container: use /proc/self/exe directly</title>
<updated>2026-02-28T11:44:44Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-02-28T11:42:33Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=c74c269b66770f0eddde255d2805b79f274409e9'/>
<id>urn:sha1:c74c269b66770f0eddde255d2805b79f274409e9</id>
<content type='text'>
This is a more reliable form of pathname to self and also cheaper than os.Executable.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>container: improve documentation</title>
<updated>2026-02-28T11:18:30Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-02-28T11:18:30Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=cd9b534d6b1d432d3c997ccc5b14f630afb9dda6'/>
<id>urn:sha1:cd9b534d6b1d432d3c997ccc5b14f630afb9dda6</id>
<content type='text'>
This change removes inconsistencies collected over time in this package.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>container: set scheduling policy</title>
<updated>2026-02-26T07:29:47Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-02-26T07:29:47Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=a6160cd410b1def222018cd88951fcbbf1a65f5c'/>
<id>urn:sha1:a6160cd410b1def222018cd88951fcbbf1a65f5c</id>
<content type='text'>
This is thread-directed so cannot be done externally. The glibc wrapper exposes this behaviour so most multithreaded programs using this is straight up incorrect.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>container/init: configure interface lo</title>
<updated>2026-01-10T18:36:20Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-01-10T18:32:21Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=2494ede1067d5071d3cc7d355cdc2ae3fac66dc5'/>
<id>urn:sha1:2494ede1067d5071d3cc7d355cdc2ae3fac66dc5</id>
<content type='text'>
This enables loopback networking when owning the net namespace.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>container: optionally allow orphan</title>
<updated>2025-12-27T00:12:02Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-12-27T00:12:02Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=3d720ada922def503977d6972aa953ffe924e714'/>
<id>urn:sha1:3d720ada922def503977d6972aa953ffe924e714</id>
<content type='text'>
This is required for the typical daemonise use case.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>container: set FD_CLOEXEC on all open files</title>
<updated>2025-11-11T15:18:29Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-11-11T15:18:11Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=ac3463589035394bedbedb15a323298251ed2c14'/>
<id>urn:sha1:ac3463589035394bedbedb15a323298251ed2c14</id>
<content type='text'>
While fd created from this side always has the FD_CLOEXEC flag, the same is not true for files left open by the parent. This change prevents those files from leaking into the container.

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