<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hakurei/container/syscall.go, branch develop</title>
<subtitle>low-level userspace tooling for Rosa OS</subtitle>
<id>http://src.rosa.moe/hakurei/atom/container/syscall.go?h=develop</id>
<link rel='self' href='http://src.rosa.moe/hakurei/atom/container/syscall.go?h=develop'/>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/'/>
<updated>2026-04-10T14:45:51Z</updated>
<entry>
<title>container: unexport PR_SET_NO_NEW_PRIVS wrapper</title>
<updated>2026-04-10T14:45:51Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-04-10T14:45:51Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=ad2c9f36cddfd8adcd06fbe9238d176a8eb89614'/>
<id>urn:sha1:ad2c9f36cddfd8adcd06fbe9238d176a8eb89614</id>
<content type='text'>
This is subtle to use correctly. It also does not make sense as part of the container API.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>ext: move syscall wrappers from container</title>
<updated>2026-03-17T06:48:40Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-03-17T06:48:40Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=b852402f67b22a3a850ce4eb1305a3ce5898d128'/>
<id>urn:sha1:b852402f67b22a3a850ce4eb1305a3ce5898d128</id>
<content type='text'>
These are generally useful, and none of them are container-specific. Syscalls subtle to use and requiring container-specific setup remains in container.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>ext: isolate from container/std</title>
<updated>2026-03-17T04:39:26Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-03-17T04:35:48Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=cd5959fe5ab04786cd5dee3cf09f725229ae7c7b'/>
<id>urn:sha1:cd5959fe5ab04786cd5dee3cf09f725229ae7c7b</id>
<content type='text'>
These are too general to belong in the container package. This targets the v0.4 release to reduce the wrapper maintenance burden.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<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>go: 1.26</title>
<updated>2026-03-09T18:29:19Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-03-09T18:26:40Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=48cdf8bf852234ea3dad8dad3d571bb1d9546c32'/>
<id>urn:sha1:48cdf8bf852234ea3dad8dad3d571bb1d9546c32</id>
<content type='text'>
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/std: rename seccomp types</title>
<updated>2026-02-28T11:48:30Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2026-02-28T11:47:23Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=ad8f799703a4bf8d87741890ba831856af2dd145'/>
<id>urn:sha1:ad8f799703a4bf8d87741890ba831856af2dd145</id>
<content type='text'>
Aliases will be kept until 0.4.

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/syscall: export prctl wrapper</title>
<updated>2025-10-21T20:26:54Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-10-21T20:26:54Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=c5f59c5488cc529a5a7c7a89e1da56c2b44db16c'/>
<id>urn:sha1:c5f59c5488cc529a5a7c7a89e1da56c2b44db16c</id>
<content type='text'>
This is useful as package "syscall" does not provide such a wrapper. This change also improves error handling to fully conform to the manpage.

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