Matheus
|
ba2ebbc7c1
|
syscalls: pipe2
|
2022-10-10 10:46:47 -03:00 |
|
Matheus
|
85bd0c0412
|
pipes: initial implementation
|
2022-10-10 10:46:27 -03:00 |
|
Matheus
|
0bd861c19f
|
process removal: remove a few bugs and race conditions
|
2022-10-08 22:03:46 -03:00 |
|
Matheus
|
eef01078bb
|
syscalls: fstatat
|
2022-09-30 17:04:18 -03:00 |
|
Matheus
|
89e57f0578
|
syscalls: chdir
|
2022-09-30 16:39:19 -03:00 |
|
Matheus
|
91a1781ecb
|
syscalls: ioctl
|
2022-09-29 18:04:07 -03:00 |
|
Matheus
|
e1f29c259d
|
seek: actually act properly
|
2022-09-27 10:35:26 -03:00 |
|
Matheus
|
f18e099df1
|
syscalls: getdirent
|
2022-09-24 17:13:18 -03:00 |
|
Matheus
|
313abaeb9a
|
misc file bugfixes
|
2022-09-24 14:55:47 -03:00 |
|
Matheus
|
364e620ce9
|
fcntl: F_DUPFD
|
2022-09-23 19:38:26 -03:00 |
|
Matheus
|
9d5a139dcc
|
dup: behave like fd_duplicate expects
|
2022-09-23 19:38:05 -03:00 |
|
Matheus
|
67c9a04d58
|
fd: change allocation to add a lowest fd option
|
2022-09-23 19:37:40 -03:00 |
|
Matheus
|
f7fa05acbf
|
syscalls: fcntl stub
|
2022-09-23 00:26:15 -03:00 |
|
Matheus
|
0ab154b051
|
syscalls: getpid
|
2022-09-23 00:26:03 -03:00 |
|
Matheus
|
284def91d3
|
syscalls: dup and dup2
|
2022-09-23 00:25:48 -03:00 |
|
Matheus
|
4f470fd023
|
open: handle O_CREAT flag
|
2022-09-22 20:02:21 -03:00 |
|
Matheus
|
1147937837
|
syscalls: make isatty act like posix expects
|
2022-09-22 14:36:55 -03:00 |
|
Matheus
|
190a57c313
|
lseek: return current position on SEEK_CUR offset 0
|
2022-09-21 16:33:10 -03:00 |
|
Matheus
|
ec67d3fe27
|
syscalls: isatty: act more like mlibc expects
|
2022-09-21 16:32:44 -03:00 |
|
Matheus
|
4581b460ff
|
syscalls: exit
|
2022-09-20 17:07:58 -03:00 |
|
Matheus
|
d4655a2f6c
|
syscalls: no longer have invalid state after execve error
|
2022-09-20 17:00:30 -03:00 |
|
Matheus
|
44b6b26eb8
|
syscalls: properly free the fd on an open failure
|
2022-09-20 16:59:40 -03:00 |
|
Matheus
|
5f9aba07b2
|
syscalls: fix waitpid's behaviour
|
2022-09-20 16:58:59 -03:00 |
|
Matheus
|
c637995d52
|
syscalls: waitpid
|
2022-09-20 10:44:37 -03:00 |
|
Matheus
|
681d1a0e75
|
syscalls: execve
|
2022-09-19 22:52:11 -03:00 |
|
Matheus
|
3668fa2a39
|
syscalls: fork
|
2022-09-19 18:42:19 -03:00 |
|
Matheus
|
41d6e7230e
|
fd: new abstraction
|
2022-09-18 16:21:45 -03:00 |
|
Matheus
|
e7517468c7
|
syscalls: fstat
|
2022-09-12 10:48:19 -03:00 |
|
Matheus
|
51a36c6c12
|
syscalls: libclog: made it use the console interface
|
2022-09-09 18:19:43 -03:00 |
|
Matheus
|
1bef1e3dee
|
syscalls: stat: make return values sane and fix check
|
2022-08-29 00:22:22 -03:00 |
|
Matheus
|
3066fdbb4f
|
syscalls: stat: add another case that returns EFAULT
|
2022-08-28 22:44:37 -03:00 |
|
Matheus
|
06e91be62e
|
syscalls: read: seek on read
|
2022-08-27 20:29:25 -03:00 |
|
Matheus
|
023937809d
|
bugfixes, change types.h to be linux abi, stat system call
|
2022-08-23 19:44:18 -03:00 |
|
Matheus
|
9c6ce452f8
|
/dev/console
|
2022-08-20 15:15:10 -03:00 |
|
Matheus
|
bd94ce8134
|
write system call
|
2022-08-20 13:01:26 -03:00 |
|
Matheus
|
b3b5981f7a
|
isatty syscall
|
2022-08-20 12:47:23 -03:00 |
|
Matheus
|
1ed7aafa46
|
properly zero memory on demand paging and mmap
|
2022-08-20 00:01:54 -03:00 |
|
Matheus
|
fc7986e5be
|
close syscall
|
2022-08-19 22:54:07 -03:00 |
|
Matheus
|
af3e62d37c
|
syscall_mmap() bugfix
it wasn't accepting mappings with MAP_FIXED flags
|
2022-08-19 20:33:44 -03:00 |
|
Matheus
|
d8d5f44d8e
|
lseek syscall
|
2022-08-19 20:26:37 -03:00 |
|
Matheus
|
6350621f7d
|
read syscall
|
2022-08-19 20:07:59 -03:00 |
|
Matheus
|
098b2f5691
|
open syscall
|
2022-08-19 20:03:38 -03:00 |
|
Matheus
|
4de0ff2556
|
gettid syscall, fix issues with vmm and mmap syscall
|
2022-08-18 22:12:51 -03:00 |
|
Matheus
|
0984a6458d
|
fix several issues relating to elf and registers and add mmap
|
2022-08-18 17:53:09 -03:00 |
|
Matheus
|
432e85b837
|
system calls
|
2022-08-15 21:52:57 -03:00 |
|