Commit Graph

56 Commits

Author SHA1 Message Date
Damian Tarnawski
eb4f850b7f Remove space in indentation 2024-07-23 13:48:03 +02:00
Laytan
73a9a97413 Merge pull request #3476 from PucklaJ/syscall-fix
[sys/linux] Fix fork and execve syscalls on arm64
2024-07-22 13:58:17 +02:00
PucklaJ
1873f7215d [sys/linux]: Change execveat flags type to Execveat_Flags 2024-07-22 11:03:25 +02:00
gingerBill
393ca40c23 Minor clean ups 2024-07-19 12:00:49 +01:00
gingerBill
62f455f47b Merge branch 'master' into syscall-fix 2024-07-19 11:43:56 +01:00
flysand7
7b501b22bb [os2]: Split file type from mode bits 2024-07-18 23:09:27 +11:00
poa
8c98ca3a10 updated return value of setsid to return Pid 2024-07-05 22:53:45 +09:00
gingerBill
e296d6fb90 Fix loads of indentation issues with mixing spaces and tabs 2024-06-29 19:50:51 +01:00
gingerBill
663661db53 Update core to -strict-style 2024-06-29 19:16:32 +01:00
gingerBill
5413a8b744 Even more style fixes 2024-06-29 19:11:36 +01:00
gingerBill
4b71c47fd5 Check for unneeded transmute with -vet-cast 2024-06-29 12:02:31 +01:00
jason
a15cbc474d change error strings to an enumerated array in rodata; print_error takes a file argument 2024-06-28 07:45:24 -04:00
jason
f22754fc90 sys/linux: fix some syscalls and types; add more to Sig_Action and Sig_Info; Pid int->i32 2024-06-27 16:29:47 -04:00
Erik Isidore
0514ee0410 PR#3655 - small linter issue correction 2024-05-30 16:12:20 -03:00
Erik Isidore
f6e699cd22 core:sys/linux - Add support for Unix Domain Socket addresses 2024-05-30 00:14:00 -03:00
Laytan
d7fdccb08c fix a couple of -vet-style failures after f54977336b 2024-05-09 19:39:48 +02:00
Hiroaki Nakamura
df53fec828 sys/linux: Pass size to epoll_create
Without this fix, you can see a random size value is passed to
epoll_create by using strace.
2024-05-06 21:44:59 +09:00
Laytan Laats
eaab17f8fb sys/linux: fix open bits 2024-05-05 14:16:21 +02:00
flysand7
9ffa4a4eb1 [sys/linux]: Fix bit numbers for open flags 2024-05-01 05:24:02 +11:00
PucklaJ
37b026cb9b [sys/linux] Directly call syscall in execve on arm64 2024-04-28 12:00:40 +02:00
PucklaJ
d1a205e2cf [sys/linux]: Remove clone syscall and call it directly in fork on arm64 2024-04-28 11:56:19 +02:00
PucklaJ
7f301790d0 [sys/linux] Change flags parameter of execveat to bit_set 2024-04-28 11:48:18 +02:00
PucklaJ
b0fe6212bb [sys/linux]: Fix return statement 2024-04-27 13:21:04 +02:00
PucklaJ
a2ad66cd9d [sys/linux]: Add clone syscall and use it in fork for arm64 2024-04-24 15:32:43 +02:00
PucklaJ
2bf00d9b3f [sys/linux]: Add flags parameter to execveat and fix execve on arm64 2024-04-24 15:15:38 +02:00
gingerBill
c7ac28f6a1 Merge pull request #3434 from flysand7/sys-linux-fixes
[sys/linux]: Fix syscall calls for open and fstat
2024-04-15 12:28:59 +01:00
flysand7
4bfa1ea76c [sys/linux]: Fix syscall calls for open and fstat 2024-04-15 22:16:03 +11:00
flysand7
a0e25be196 [sys/linux]: Fix signature on wait4 syscall 2024-04-15 11:16:52 +11:00
gingerBill
d248cddf90 Remove dead newline 2024-04-04 16:07:55 +01:00
flysand7
cc185d98b4 [sys/linux]: Fix numeric values for socket fd flags 2024-02-18 23:04:41 +11:00
Laytan Laats
ca6300c860 spall instrumentation 2024-02-05 16:54:22 +01:00
gingerBill
3e7e779abf Replace core:* to base:* where appropriate 2024-01-28 22:18:51 +00:00
flysand7
34791707fd [sys/linux]: Remove +build comments in files with documentation 2024-01-18 09:16:40 +11:00
flysand7
5665ae02bc type error 2023-12-06 00:33:09 +11:00
flysand7
92d3a681cd Merge branch 'master' into sys-linux-additions 2023-12-06 00:23:41 +11:00
flysand7
cb66ed52ce [sys/linux]: Fix epoll_wait on arm64 2023-12-06 00:09:10 +11:00
flysand7
03282c1234 [sys/linux]: Add epoll syscalls 2023-11-24 09:39:36 +11:00
flga
5a8da5dcdb core:sys/linux: rename Perf_Read_Format_Flags 2023-11-10 19:41:01 +00:00
flga
6de2b7700f core:sys/linux: make Perf_Read_Format a bitset 2023-11-10 12:58:53 +00:00
flysand7
4e145cf69c [sys/linux]: Fix time(2) syscall not taking a pointer on ARM64 2023-11-10 08:32:49 +11:00
flysand7
341087a82b [sys/linux]: Fix creat(2) syscall not returning file descriptor 2023-11-10 08:31:52 +11:00
flysand7
851fd1f8d1 Fix missing return statement 2023-11-10 08:30:38 +11:00
flysand7
ce43b04688 time on arm64 2023-11-10 05:33:25 +11:00
flysand7
ff1ab74b3c [sys/linux]: Fix missing return; Remove TODO for select() 2023-11-10 05:24:24 +11:00
flysand7
aed67ba665 [sys/linux]: Fix arch-specific issues 2023-11-10 05:14:42 +11:00
Laytan
fc6edf65d7 fix linux.accept, addrlen should be a pointer to the length instead of the length itself 2023-11-09 14:17:22 +01:00
flysand7
548ab2e1b6 [sys/linux]: utimensat takes array of two 2023-11-08 11:07:50 +11:00
flysand7
13a3c0e57c [sys/linux]: Fix syscalls: lseek, preadv, pwritev; Make read*/write* syscalls take byte slice instead of generic slice 2023-11-08 11:01:28 +11:00
flga
4266a7c166 sys/linux: munmap was not using the correct syscall 2023-11-07 23:19:14 +00:00
flysand7
f26ed39e86 [sys/linux]: Fix compilation errors and -strict-style errors 2023-11-04 13:57:28 +11:00