Authors (team): Yaroslav Romanus, Sasha Tsepilova
OS: LINUX(Ubuntu)
MAKE, QEMU, GCC(11 or smaller version)
$ cd xv6-public
$ make
$ make qemu or make qemu-nox
after this, xv6 will be running
$ git clone https://github.com/yarkoslav/xv6_dup2
If You don't have QEMU installed, please refer to QEMU installation guide here
When xv6 is running, you can test implemented pipes with dup2:
$ ls | wc | wc
You can see changes in the code for dup2 implementation in the diff of commits :=)
Implemented dup2() syscall and used it in the shell pipes!