<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sbos.git/kernel/fs, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.kling.gg/sbos.git/atom?h=master</id>
<link rel='self' href='https://git.kling.gg/sbos.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/'/>
<updated>2024-12-14T17:14:19+00:00</updated>
<entry>
<title>procfs: Add `stat`</title>
<updated>2024-12-14T17:14:19+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-12-14T17:14:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=fd724fc40e527a87d4e521cd704283cdf10f51c4'/>
<id>urn:sha1:fd724fc40e527a87d4e521cd704283cdf10f51c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>procfs: Add `self` and `id`</title>
<updated>2024-12-14T14:35:40+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-12-14T14:35:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=79d326a7eface8e79b76c6584c4beba935159a45'/>
<id>urn:sha1:79d326a7eface8e79b76c6584c4beba935159a45</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sb: Allow input to be "ignored"</title>
<updated>2024-12-14T14:13:01+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-12-14T14:13:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=6179308e3f6e4c64013e5db5da9b30a22abca704'/>
<id>urn:sha1:6179308e3f6e4c64013e5db5da9b30a22abca704</id>
<content type='text'>
This removes edge cases from read calls and makes bugs harder
to introduce.
</content>
</entry>
<entry>
<title>formatting: Use clang-format on all projects</title>
<updated>2024-12-12T15:03:08+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-12-12T15:03:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=b033314bf1901d436dc71d41d5e1f37dda47e511'/>
<id>urn:sha1:b033314bf1901d436dc71d41d5e1f37dda47e511</id>
<content type='text'>
This commit also add braces to all `if` statements.
</content>
</entry>
<entry>
<title>signal: Remove old way of sending signals and instead use procfs</title>
<updated>2024-12-12T14:48:20+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-12-11T17:47:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=633feeea57c298306d8664c9c2768ab46fb7c6f4'/>
<id>urn:sha1:633feeea57c298306d8664c9c2768ab46fb7c6f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>procfs: Add a procfs</title>
<updated>2024-12-12T14:48:19+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-12-11T13:56:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=bc828883c51c3c0f35872019f4db632e4ce82dc5'/>
<id>urn:sha1:bc828883c51c3c0f35872019f4db632e4ce82dc5</id>
<content type='text'>
Userland can now interface with processes by writing/reading from
`/proc/&lt;pid&gt;/&lt;entry&gt;`

It can send signals, for example `echo 15 &gt; /proc/1/signal`
</content>
</entry>
<entry>
<title>kernel: Add a way to parse numbers from C strings</title>
<updated>2024-12-09T22:27:48+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-12-09T22:25:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=4bd8a81cca44285402af2a5e26db267c44abe4f4'/>
<id>urn:sha1:4bd8a81cca44285402af2a5e26db267c44abe4f4</id>
<content type='text'>
After making this change I am now actually doubting if using
C strings is a good idea and maybe it should just always just the
string view library that userland makes use of.

But old code and the upcoming commits rely upon this so it is a change my
future less lazy self will do.
</content>
</entry>
<entry>
<title>mmu: Make certain allocations physical and virtual mapping linear</title>
<updated>2024-12-09T18:17:57+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-12-09T17:35:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=e7272b29feb855f4678c5c510d331f297351d3a2'/>
<id>urn:sha1:e7272b29feb855f4678c5c510d331f297351d3a2</id>
<content type='text'>
Previously it was possible for fragmentation to occur and as a result
certain allocations would have a linear virtual address space but not a
linear physical address space. This is bad since a lot of calls to
kmalloc_align rely upon both being linear, it has now been changed such
that all allocations done by kmalloc_align now guarantee this mapping
holds for both virtual and physical addresses.

It was due to oversight and sheer luck that this had been working for so
long.
</content>
</entry>
<entry>
<title>vfs: Bug fix...</title>
<updated>2024-12-08T18:45:22+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-12-08T18:45:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=1d2c7ff3548c39c47b0d92a2928d8595f17a66c3'/>
<id>urn:sha1:1d2c7ff3548c39c47b0d92a2928d8595f17a66c3</id>
<content type='text'>
The commit is self explanatory. It was a simple mistype that went
unnoticed for a while.
</content>
</entry>
<entry>
<title>vfs: Force truncation even without permissions</title>
<updated>2024-12-08T18:43:31+00:00</updated>
<author>
<name>Anton Kling</name>
<email>anton@kling.gg</email>
</author>
<published>2024-12-08T18:43:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kling.gg/sbos.git/commit/?id=a7ef3d06f74c8131b04b41cdf902e3c59f61769f'/>
<id>urn:sha1:a7ef3d06f74c8131b04b41cdf902e3c59f61769f</id>
<content type='text'>
O_TRUNC as a mode does not seem to imply write permissions
but we still wish to truncate the file before giving back a file
descriptor. Therefore the kernel can now override any permission checks
if it wishes to do a truncation while still using the "ordinary path".
</content>
</entry>
</feed>
