β25462[Quote]
i have an idea for a project and i'd like some help and ideas on how to accomplish it.
my idea is having a single purpose operating system, that is, an operating system that lets the user run one and only one program. it's irrelevant what that program is, what's relevant is that the user shouldnt have access to anything else, as opposed to a "normal" OS where the user can open, say, the terminal, a text editor or a web browser and do whatever he likes.
i assume this is already a solved problem. i remember, for example, that when i did my driving license exam years ago they made us use some computers that were running a Java application to respond to the questinos and whatnot. there was no way to exit this application.
obviously i wouldnt program an OS from scratch, i would use Linux or something else as the foundation for this, but I'd like to know how can i turn it into a "closed" system if that makes sense.
β25463[Quote]
use buildroot and add an overlay where your program is the init
β25465[Quote]
look at qubes os
β25469[Quote]
Those are called Kiosks. Loads of OSes support being Kioskified, in Linux for example you can make it autostart an Xorg app or a Weston with a Wayland app and have it support everything like sending shutdown commands that you need for a functional computer operation experience in that program alone. Windows supports it too, lookup the process from Microsoft's documentation. Android, seemingly, supports it as well if you have something running a custom-ROM-able AOSP or such. Even Apple stuff like macOS and iOS support Kiosk style operation
Now, if you mean single purpose as in a singular process running, that's way more involved, think embedded OSes or DOS. But your license exam example is just a Kiosk application.
β25470[Quote]
So, to recap, your idea has already been done. Claim your convergent evolution award here.
β25483[Quote]
Windows CE did this over 25 years sgo
β25775[Quote]
>obviously i wouldnt program an OS from scratch, i would use Linux or something else as the foundation for this, but I'd like to know how can i turn it into a "closed" system if that makes sense.
that's garbage. Enjoy your POSIX goyslop.
β25777[Quote]
>>25775Coping Microtranny.
β25902[Quote]
>>25462 google cage wayland compositor