https://github.com/3mdeb/uinit
TenchBoot user init for u-root
https://github.com/3mdeb/uinit
Last synced: 5 months ago
JSON representation
TenchBoot user init for u-root
- Host: GitHub
- URL: https://github.com/3mdeb/uinit
- Owner: 3mdeb
- Created: 2019-09-28T20:12:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T12:15:32.000Z (over 6 years ago)
- Last Synced: 2024-06-19T14:58:35.355Z (almost 2 years ago)
- Language: Go
- Size: 7.81 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TrenchBoot user init
u-root's built-in init command will call uinit if it exits.
The `uinit.go` in this dir mounts storage and kexec to Xen using provided
kernel and rootfs for dom0.
To build the example:
```shell
# make some changes to uinit.go in examples/uinit/uinit.go
u-root -format=cpio -build=bb -o initramfs.cpio \
./cmds/* \
github.com/3mdeb/uinit
```
This code was designed for PSEC 2019 demo. You can get more information about
it [here](https://www.platformsecuritysummit.com/#krol).