Python in ring 0 project (Pyr0)
Pyr0 is an attempt to make a python based Operating System, it means that we use language feature to provide security instead of using hardware as in a classical operating system.
The project is composed of two different parts: the core (which is a classical kernel that manages memory, interrupts...) and the runtime (which manages tasks, user programs...).
Another great idea of this project, is to have a plain-text userland. Indeed, there is no binary in the root tree (except kernel :P), only python scripts.
- qemu (for emulation)
- libisoburn (for video)
- perl (for some scripts required by compilation)
- gcc/make (for compiling)
For interpreter mode:
For file mode:
or if you want a specific python's script:
make boot PYR0_ROM=path_to_python_script.py
make boot PYR0_ROM=root/python/prime.py
- math: very light math module (TODO)
- os: os information
- sh: shell builtins
- cpuinfo: cpu information
- smbios: various bios information
- pci: pci devices list
- mem: memory debug module
- morse: morse sound module (only on real hardware)
To try on real hardware (with usb key or cdrom), just dd the iso:
dd bs=4M if=pyr0s.iso of=/dev/your_device
There are quite a lot of bugs, but of course, if you find a bug, please just open an issue.
To follow the project, discuss with us or contribute, please join us in
#pyr0 on Rezosup (