summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-01-13Fix error handling for open() callMalfurious1-1/+1
Zero is a valid return value, so don't jmp to exit if the fd is equal to it. However, we would never expect zero to be returned as stdin is not closed. Signed-off-by: Malfurious <m@lfurio.us>
2023-01-12Fix bug in exit routineMalfurious1-0/+1
If an error condition is met during the pipe IO syscalls, eax will be filled with a negative value. We need to then zero the rest of the register before attempting to exit, so we don't continue on to execute garbage. Signed-off-by: Malfurious <m@lfurio.us>
2023-01-12Remove the use of ebpMalfurious1-4/+3
Removes an unnecessary instruction. Signed-off-by: Malfurious <m@lfurio.us>
2023-01-12Initial working version of laceMalfurious2-0/+149
Signed-off-by: Malfurious <m@lfurio.us>