News for hackers. Stuff that matters.
Re:The Lions Operating System by hulitu on Thursday November 20, 2025 @04:12PM (#45997803)
> To be successful, many more components are needed.

What is the purpose of this OS ? Can it mint Bitcoin ? Can it do fluid dynamics simulation ? Can it act as an interface to a database ? Can it host a database ? Is it interactive ? What kind of interface it presents to the user ?

Re:The Lions Operating System by qubex on Thursday November 20, 2025 @04:14PM (#45997840)
That’s a rather luridly practical view that’s entirely out of sync with academia and basic research that provides tangible benefits much further down the line.
Re:The Lions Operating System by lukan on Friday November 21, 2025 @05:52AM (#46003263)
Yes, but basic reseach in IT is still not random, but usually has a clear goal, or at least some scope. Like indeed, focus on security? Focus on speed? Focus on reliability? Focus on energy efficency (because it is supposed to run on a tiny embedded device for long).

And the gimmick here seems to be in fact, that it is supposed to be flexibel

"is not a conventional operating system, but contains composable components for creating custom operating systems that are specific to a particular task. Components are joined together using the Microkit tool"

Re:The Lions Operating System by panick21_ on Saturday November 22, 2025 @02:02AM (#46012758)
Its just the fastest, safest and most reliable possible operating system, giving you more formal guarantees then literally anything else ... why don't you just read more then just 1 sentence and actually spend 15min learning about the system.
Re:The Lions Operating System by charlycst on Thursday November 20, 2025 @04:38PM (#45998122)
There is an example of interface in the docs: https://lionsos.org/docs/examples/kitty/
Re:The Lions Operating System by kragen on Thursday November 20, 2025 @05:23PM (#45998669)
Those are applications, not operating systems. With occasional exceptions, you can run any application on any operating system.
Re:The Lions Operating System by mmooss on Friday November 21, 2025 @01:48AM (#46001876)
That begs the point: Each application will often run better on some OSes than on others. For example, high traffic websites usually aren't run on Windows 11.
Re:The Lions Operating System by fortyseven on Thursday November 20, 2025 @05:26PM (#45998695)
Yeah, Linus, what's the point?
Re:The Lions Operating System by lmm on Friday November 21, 2025 @02:11AM (#46001980)
Hardly a fair comparison. Linus wanted an OS that would run on his own PC and let him do his Unix homework assignments.
Re:The Lions Operating System by johnisgood on Friday November 21, 2025 @01:07PM (#46006997)
What makes the comparison not fair? We do not know the author's story!
Re:The Lions Operating System by kjs3 on Thursday November 20, 2025 @08:06PM (#46000050)
Could have been done for fun. You wouldn't understand.
Re:The Lions Operating System by oytis on Friday November 21, 2025 @02:03AM (#46001948)
One application would be safety and security critical real-time systems that also need significant amount of processing power
Re:The Lions Operating System by vrighter on Friday November 21, 2025 @02:11AM (#46001985)
no operating system does. That's application software you're thinking of. So no, it can't. But neither can windows, linux, macos, solaris, templeOS or any others
Re:The Lions Operating System by lproven on Friday November 21, 2025 @07:51AM (#46004001)
> What is the purpose of this OS ?

What is the purpose of any OS?

As all the modern ones slowly converge on similar attributes of being incomprehensibly vast codebases unreadable by any human, typically implemented in C or something closely related to it, using a similar underlying register-machine model, there is value in simply being small, simple, readable, able to do useful work, and being different. If something is also provably correct that's just the icing on the cake.

Re:The Lions Operating System by sparkie on Sunday November 23, 2025 @05:14AM (#46022252)
The primary focus of Lions/seL4 is security, and formal verification of it. It's a necessary project for a world where CVEs are frequently published for the Kernel and other underlying system services, in part because they're still using a 1970s OS design which didn't have internet-connected computers in mind.

The seL4 kernel uses an Object-Capability system (ironically which have also been around since the '70s) in place of Access Control Lists used in POSIX systems. The idea behind capabilities is "don't separate designation from authority" - the capability is both a designator of a resource and the authority to use it - there are no separate ACLs. Separation of designation from authority leads to confused deputies - where one process with lower privileges can trick a higher-privileged process to use the higher privileges on its behalf, which very often leads to privilege escalation vulnerabilities (ie, RCE as root).

Each process has a "cspace" (Capability Space), which holds the capabilities the process may use. When the process performs a system call, it references a capability slot from a set of tables in its own cspace where the capability is held, and the Kernel verifies that the capability is valid in order to perform the syscall. The capabilities can be revoked at any time, and importantly, they cannot be forged - only delegated.

Additionally, seL4 is a microkernel design which is intended to have a small attack surface. It provides only a small number of system calls like `Send`, `Recv`, `Yield`, and combinations of, such as `Call`, `Reply`, `ReplyRecv`. It's a generic interface where an IPC buffer is passed along with a set of delegated capabilities, but there's no specific calls such as `SYS_write` or `SYS_mmap` - these are built on top of the `Send`/`Recv` syscalls and their services are provided by other user-space daemon processes.

One of the best developments of seL4 is the "Mixed-criticality system" support, which provides capabilities for processing time - to enable some processes to have real-time support without becoming CPU hogs.

seL4 can also be seen as a hypervisor which can virtualize other kernels, and part of the Lions effort is to be able to utilize Linux drivers using isolated Linux guests.

To learn more, the seL4 manual is a good place to start: https://sel4.systems/Info/Docs/seL4-manual-latest.pdf. There's some videos on Youtube by Gernot Heiser discussing the MCS support.