Commit Graph

71 Commits

Author SHA1 Message Date
Jeremy Soller 95f4fed4e2 Implement fscall RFC 2026-02-11 12:11:07 -07:00
Ibuki Omatsu 208cf4b6ff Remove SYS_OPEN, SYS_UNLINK, and SYS_RMDIR. Add namespace related features 2025-12-27 07:00:21 -07:00
Ibuki Omatsu 1cf631ce3f Introduce syscall6. Add unlinkat and remove unlink and rmdir. 2025-12-16 07:07:01 -07:00
Ibuki Omatsu 15aa8e32ef Define GlobalSchemes. 2025-10-04 16:54:47 +02:00
Darley Barreto 61f7b1bc31 Update openat function to include fcntl_flags parameter 2025-07-12 14:26:17 -03:00
Jeremy Soller fe32c6b89d 0.5.12: Replace link with flink 2025-05-03 12:15:52 -06:00
4lDO2 8d3e6e5b49 WIP: exception handling interfaces. 2025-04-15 16:30:04 +02:00
4lDO2 30fed98a46 Remove iopl and virttophys. 2025-04-07 17:40:45 +02:00
4lDO2 c68c68041a Remove syscalls replaced by the proc manager. 2025-04-07 17:40:44 +02:00
4lDO2 3c4b7dd55d Fix AsRef unsoundness for path syscalls. 2025-04-05 17:13:50 +02:00
Darley Barreto a65f94f37e Add openat syscall 2025-04-01 18:01:02 -03:00
4lDO2 c910533bcb Remove SYS_UMASK.
Now that all POSIX open-related calls go through relibc, this value can
be downgraded to a (process-local) global variable in userspace.
2024-09-25 19:50:45 +02:00
4lDO2 1d098c4e1d Rustfmt. 2024-09-08 20:32:32 +02:00
4lDO2 2f944328e5 Remove unused defs, add 'inhibit' sigcontrol flag. 2024-06-25 15:10:53 +02:00
4lDO2 bd79228c7e Remove sig{procmask,action,return}. 2024-06-25 15:10:53 +02:00
4lDO2 74f2e81992 Use 64-bit masks in sigprocmask. 2024-03-12 17:15:36 +01:00
4lDO2 5948affdd5 Remove SYS_PHYSMAP. 2023-12-09 12:20:36 +01:00
4lDO2 245cdf9caa Remove physalloc* and physfree 2023-12-09 12:20:36 +01:00
4lDO2 06d569933f Add SYS_SENDFD 2023-10-19 15:00:28 +00:00
4lDO2 745e9eb2bc Remove SYS_PIPE2. 2023-08-31 21:15:57 +02:00
4lDO2 ab09be840c Remove SYS_PHYSUNMAP. 2023-06-10 17:43:04 +02:00
4lDO2 e7c9a81b15 Remove cwd related syscalls and SYS_CHMOD. 2022-08-12 13:04:13 +02:00
4lDO2 ab5c685978 Remove SYS_EXEC from existence 2022-07-27 10:48:48 +02:00
4lDO2 67cf0997dc Remove clone() and Daemon abstraction. 2022-07-27 10:48:48 +02:00
4lDO2 6d132345ee WIP: Replace fexec with exec. 2022-07-27 10:48:44 +02:00
Jeremy Soller 0f9030f032 0.2.5 - paths are required to be utf8 2021-02-14 13:42:58 -07:00
jD91mZM2 5d53df836e Remove brk 2020-08-15 17:31:27 +02:00
jD91mZM2 2bc9acc5c2 Breaking Change: Goodbye, deprecated functions 2020-08-14 15:18:44 +02:00
jD91mZM2 7f668b27cf Replace llvm_asm in x86_64 code with asm
Also removes the syscall1_clobber call, because `clone` now saves the
registers in the kernel anyway.
2020-08-01 16:52:16 +02:00
jD91mZM2 7cc003d583 Add funmap2 2020-07-22 15:10:03 +02:00
4lDO2 6869e82a92 Add mmap2. 2020-07-08 15:36:59 +02:00
4lDO2 3efc8d06be Add a more complex physalloc syscall. 2020-06-16 12:11:58 +00:00
jD91mZM2 9a7bd554d5 Suggestion: Switch to bitflags 2019-07-26 12:23:03 +02:00
Jeremy Soller 43c562a921 0.1.55:
- deprecate chmod
- add tests
- CI using redoxer
2019-07-03 21:29:08 -06:00
Jeremy Soller 54c06ce754 Add mprotect 2018-12-31 20:32:04 -07:00
Jeremy Soller d84a66b609 0.1.47 - fix signature of sigprocmask 2018-12-28 21:19:36 -07:00
Jeremy Soller 697dbd3001 0.1.46 - add sigprocmask 2018-12-28 21:13:33 -07:00
Jeremy Soller 114fc92d62 Add flags to fmap by using a struct for fmap arguments. 2018-12-28 15:04:23 -07:00
Jeremy Soller ab782ebfc0 Mark umask as safe 2018-11-16 19:48:06 -07:00
Jeremy Soller cbb39163d4 Add umask 2018-11-16 19:43:24 -07:00
Jeremy Soller 85598a1c33 Merge branch 'relibc' 2018-10-14 16:43:40 -06:00
Tommy Hudson cb6efcb479 Document more possible syscall errors 2018-10-14 01:42:25 +00:00
Jeremy Soller 739aef47b8 Remove unused type parameter 2018-08-11 16:47:37 -06:00
Jeremy Soller 66e34aea2e Remove execve, replace with fexec 2018-08-11 11:14:16 -06:00
Jeremy Soller 3971bb414f Remove fevent 2018-05-20 16:26:13 -06:00
Jeremy Soller 7c805d2a28 Add more wait related calls 2018-01-05 17:49:26 -07:00
jD91mZM2 e145ba3ea9 For some reason casting to signed byte
Also, optimization! `>> 1 > 0` could be turned into `>= 2`. Thanks, rust libc
2018-01-05 19:30:20 +01:00
jD91mZM2 d02a393781 Whoops, fix documentation 2018-01-05 18:51:37 +01:00
jD91mZM2 c102c6b21b Added wif* functions 2018-01-05 18:49:35 +01:00
Jeremy Soller 414b8e0be0 Add frename 2017-12-27 20:18:56 -07:00