<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hakurei/internal/shim, branch develop</title>
<subtitle>low-level userspace tooling for Rosa OS</subtitle>
<id>http://src.rosa.moe/hakurei/atom/internal/shim?h=develop</id>
<link rel='self' href='http://src.rosa.moe/hakurei/atom/internal/shim?h=develop'/>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/'/>
<updated>2024-11-01T18:13:57Z</updated>
<entry>
<title>cmd: shim and init into separate binaries</title>
<updated>2024-11-01T18:13:57Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-11-01T18:03:44Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=584732f80ab91afb349720cfb8e9979ed2ba173e'/>
<id>urn:sha1:584732f80ab91afb349720cfb8e9979ed2ba173e</id>
<content type='text'>
This change also fixes a deadlock when shim fails to connect and complete the setup.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>shim: expose checkPid in constructor</title>
<updated>2024-10-27T15:02:55Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-10-27T14:49:37Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=60e91b9b0f2913265795893ea693f82991b69737'/>
<id>urn:sha1:60e91b9b0f2913265795893ea693f82991b69737</id>
<content type='text'>
This will be supported soon when launching via fsu.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>shim: user switcher process management struct</title>
<updated>2024-10-26T15:46:15Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-10-26T15:46:15Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=1d6ea8120552665072f5044a004128e7dbbf3a64'/>
<id>urn:sha1:1d6ea8120552665072f5044a004128e7dbbf3a64</id>
<content type='text'>
This change moves all user switcher and shim management to the shim package and withholds output while shim is alive. This also eliminated all exit scenarios where revert is skipped.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>fmsg: support temporarily withholding output</title>
<updated>2024-10-26T14:09:32Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-10-26T14:09:32Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=ae1a102882103221ef842176dfd8cb1090d5f591'/>
<id>urn:sha1:ae1a102882103221ef842176dfd8cb1090d5f591</id>
<content type='text'>
Trying to print to a shared stdout is a terrible idea. This change makes it possible to withhold output for the lifetime of the sandbox.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>shim: kill shim if setup becomes impossible</title>
<updated>2024-10-25T04:19:37Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-10-25T04:19:37Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=31350d74e51d25ee8b180a2d4234ea5d4aa55c2b'/>
<id>urn:sha1:31350d74e51d25ee8b180a2d4234ea5d4aa55c2b</id>
<content type='text'>
This prevents a hang when setup faults but the shim keeps waiting on the socket. Setup is automatically aborted when the shim is killed.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>shim: abort setup on failed start and process exit</title>
<updated>2024-10-21T12:23:56Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-10-21T12:23:56Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=cafed5f23468daf2765655325ebe7d879acdde24'/>
<id>urn:sha1:cafed5f23468daf2765655325ebe7d879acdde24</id>
<content type='text'>
Shim setup listens on a socket in the process share, if shim setup hasn't happened on exit revert will fail. This change makes sure shim setup is aborted on a doomed launch.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>fmsg: produce all output through fmsg</title>
<updated>2024-10-21T11:47:02Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-10-21T11:47:02Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=42e0b168e3d75389dfb968aebf9f5629d64782f9'/>
<id>urn:sha1:42e0b168e3d75389dfb968aebf9f5629d64782f9</id>
<content type='text'>
The behaviour of print functions from package fmt is not thread safe. Functions provided by fmsg wrap around Logger methods. This makes prefix much cleaner and makes it easy to deal with future changes to logging.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>app: move wayland mediation to shim package</title>
<updated>2024-10-21T09:46:06Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-10-20T13:54:47Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=380d1f45851b7dffb963c51da96a17ba41f3cfb8'/>
<id>urn:sha1:380d1f45851b7dffb963c51da96a17ba41f3cfb8</id>
<content type='text'>
Values used in the Wayland mediation implementation is stored in various struct fields strewn across multiple app structs and checks are messy and confusing. This commit unifies them into a single struct and access it using much better looking methods.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>migrate to git.ophivana.moe/security/fortify</title>
<updated>2024-10-20T10:50:13Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-10-20T10:50:13Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=65af1684e3f12c1920f91c96474f19dbd0b147fc'/>
<id>urn:sha1:65af1684e3f12c1920f91c96474f19dbd0b147fc</id>
<content type='text'>
Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>helper/bwrap: ordered filesystem args</title>
<updated>2024-10-14T17:15:55Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-10-14T17:15:55Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=2faf510146733c28a5dbc3245175700abcf4f966'/>
<id>urn:sha1:2faf510146733c28a5dbc3245175700abcf4f966</id>
<content type='text'>
The argument builder was written based on the incorrect assumption that bwrap arguments are unordered. The argument builder is replaced in this commit to correct that mistake.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
</feed>
