4lDO2
283ada82a0
WIP: Remove SYS_CLONE (to be done in userspace).
2022-07-27 10:52:03 +02:00
4lDO2
31c4bc8a1c
Remove kernel support for fmap_old and funmap_old.
2022-07-27 10:51:45 +02:00
4lDO2
4d7da495f5
Fix "clone grant using fmap"
...
This does the same as the previous MR, but fixes the issue where the
parent process got the mapping (and at the wrong address) and not the
child process.
2022-04-11 21:31:36 +02:00
Jeremy Soller
87b3bef06c
Revert "Merge branch 'clone_grant_using_fmap' into 'master'"
...
This reverts merge request !190
2022-03-30 14:54:49 +00:00
Jeremy Soller
37ebef2d35
Merge branch 'pipe_list_const_fn' into 'master'
...
Move more of `pipe:`'s initialization to compile time.
See merge request redox-os/kernel!182
2022-03-30 13:54:27 +00:00
Jeremy Soller
c5c5b33b6a
Merge branch 'clone_grant_using_fmap' into 'master'
...
Clone grant using fmap
See merge request redox-os/kernel!190
2022-03-30 13:53:08 +00:00
Jeremy Soller
c1aa76bf3c
Fill in st_dev in fstat
2022-02-14 09:57:24 -07:00
4lDO2
a3356c3fdd
Clone grant using fmap
2021-12-30 11:27:44 +01:00
4lDO2
e92ff831b7
Move more of pipe:s init to compile time.
2021-07-05 11:54:11 +02:00
Jeremy Soller
6db78cce24
Use UTF-8 for all paths
2021-02-14 13:45:03 -07:00
Jeremy Soller
c19bd573b5
Switch Context::grants to RwLock
2021-02-13 13:06:13 -07:00
Jeremy Soller
bfaf8438a1
Switch Context::files to RwLock
2021-02-13 12:57:53 -07:00
Jeremy Soller
55d2467420
Switch Context::cwd to using RwLock
2021-02-13 12:24:19 -07:00
Jeremy Soller
334584b3d5
Use rmm::PhysicalAddress and rmm::VirtualAddress directly
2021-01-09 21:16:11 -07:00
jD91mZM2
78e5c71103
Deprecate the original fmap/funmap
...
The cool thing here is that we're temporarily binary compatible with the
old stuff, so if anyone would use an old version of redox_syscall we can
easily find them with these prints.
2020-08-14 15:18:47 +02:00
jD91mZM2
3fca287bcc
Remove debug prints
2020-07-30 13:21:17 +02:00
jD91mZM2
9eb2aebd43
Implement unmapping multiple whole maps
2020-07-28 11:34:50 +02:00
jD91mZM2
639e603c4f
WIP: Add funmap2
2020-07-25 22:29:21 +02:00
jD91mZM2
a811774c58
Add necessary functions for funmap2
2020-07-23 16:45:35 +02:00
jD91mZM2
ccc577b3a1
Abstract over finding nice addresses
2020-07-23 11:22:54 +02:00
jD91mZM2
57c167d2fa
Make grants be a BTreeSet
2020-07-22 15:09:28 +02:00
Jeremy Soller
123918ed43
Track the namespace that a description was opened from
2020-04-19 08:46:50 -06:00
Jeremy Soller
63e2a835e0
Fix clippy.sh script and fix a number of clippy warnings
2019-10-06 11:04:06 -06:00
jD91mZM2
538ca49ee2
Suggestion: Switch to bitflags
2019-07-26 12:23:21 +02:00
Jeremy Soller
e95cb74d0b
Resolve cross-scheme links
2019-07-23 21:06:16 -06:00
jD91mZM2
fe705d9b63
Switch to 2018 edition
...
Most of this was generated by the absolutely extraordinary `cargo fix`
subcommand. There were still 2 errors and a few warnings to patch up,
but compared to the normal 600+ errors, I'd say the fixer did a damn
good job! I'm also amazed that I could still start the VM after this,
I half expected some kinds of runtime failure...
2019-06-21 12:12:01 +02:00
Jeremy Soller
3a0671d20f
Fix dropping grants without unmapping if they have no file descriptor (such as those from anonymous maps)
2019-04-14 19:23:23 -06:00
Jeremy Soller
f36506613b
Update funmap support
2019-04-06 20:13:55 -06:00
Jeremy Soller
4c38107055
Add umask
2018-11-16 19:43:37 -07:00
Jeremy Soller
5b31bf57be
Update to latest rust
2018-11-08 17:25:57 -07:00
Jeremy Soller
30e68f917e
Remove env scheme and env field on context, fix all warnings
2018-08-11 11:34:32 -06:00
Jeremy Soller
99a3bff2da
WIP: New event system
2018-05-20 11:08:37 -06:00
Jeremy Soller
caa607eb28
Merge pull request #70 from redox-os/clippy
...
Add clippy lints, action some clippy items
2017-12-27 21:32:23 -07:00
Jeremy Soller
059cc8078d
Add frename
2017-12-27 20:19:37 -07:00
Jeremy Soller
58e1d92eb5
Add clippy lints, action some clippy items
2017-12-24 22:19:00 -07:00
Ian Douglas Scott
1623baa137
Implement F_DUPFD in fcntl
2017-08-08 10:59:11 -07:00
Ian Douglas Scott
9e2d39b5b8
Move duplication in dup() and dup2() to new function
2017-08-07 21:57:25 -07:00
Ian Douglas Scott
374213f155
F_GETFD and F_SETFD
2017-07-28 15:06:50 -07:00
Ian Douglas Scott
3756fb5606
Use file description alongside file descriptior, matching posix
2017-07-28 13:59:31 -07:00
Jeremy Soller
c7664674d3
Update fs.rs
2017-07-17 21:25:20 -06:00
Ian Douglas Scott
09a4980442
Make dup/dup2 clear cloexec
2017-07-14 08:48:42 -07:00
Ian Douglas Scott
6f081f4bbd
Make dup2() work if second file descriptor doesn't exist
2017-07-13 14:43:55 -07:00
Jeremy Soller
efd64d55e1
Bug fixes for fcntl and o_cloexec
...
Add fcntl to schemes
Fix debug: hang
2017-04-19 21:56:09 -06:00
Jeremy Soller
d036c667a1
Perform cloexec logic in kernel
2017-04-16 12:49:54 -06:00
Jeremy Soller
0c8ba636f4
Cleanup Redox repo, update Rust, remove old target
2017-01-03 15:55:00 -07:00