Jeremy Soller
a5f3e5057b
Remove warnings
...
Improve error information
Cleanup interrupt macros
2017-09-13 21:32:08 -06:00
Ian Douglas Scott
f60d9fc969
Support arguments in #!
2017-08-16 12:30:20 -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
ade6e0d421
Prevent freezing due to double locking
2017-08-06 12:08:50 -07:00
Ian Douglas Scott
374213f155
F_GETFD and F_SETFD
2017-07-28 15:06:50 -07:00
Ian Douglas Scott
6b504a9493
Remove unused imports
2017-07-28 14:26:15 -07:00
Ian Douglas Scott
3756fb5606
Use file description alongside file descriptior, matching posix
2017-07-28 13:59:31 -07:00
Jeremy Soller
ef8c120533
Prevent nested signals, fix check for PID > 0
2017-07-23 16:02:48 -06:00
Jeremy Soller
07262fd866
Implement sending signals to process groups. Modify max context value to fit inside of isize
2017-07-23 15:55:47 -06:00
Jeremy Soller
d6848a1995
Add PGID
2017-07-23 14:47:41 -06:00
Jeremy Soller
4ae6ed9d4c
Pass syscall data to syscall, implement iopl
2017-07-19 14:51:12 -06:00
Jeremy Soller
f7b961ddff
Reduce scope of contexts lock
2017-07-18 22:02:22 -06:00
Jeremy Soller
b4d502c763
Add reset code
2017-07-18 20:55:00 -06: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
Ian Douglas Scott
f020fe2ac5
Pass relative, not canonicalized, path to script
2017-07-13 08:09:36 -07:00
Ian Douglas Scott
b5da98396e
Strip whitspaces after #!
...
Autotools configure scripts seem to use "#! /bin/sh"
2017-07-12 23:03:53 -07:00
Jeremy Soller
ab738cede5
Restore kernel parameters on sigreturn
2017-07-10 20:08:57 -06:00
Jeremy Soller
b5ff0aabd5
WIP: Signal handling
2017-07-09 21:34:38 -06:00
Jeremy Soller
3f40af0687
Update to new allocator API
2017-07-08 19:50:58 -06:00
Ian Douglas Scott
074ce2e57d
Pass empty second argument to dup in exec
2017-07-06 16:44:54 -07:00
Ian Douglas Scott
b2df8d676f
Pass empty second argument to dup() call in clone
...
I don't know if this was there for a reason, but it was making the dup()
fail with tcpd, and I don't seem this being handled specially in redoxfs
or anywhere else.
2017-07-05 22:45:27 -07:00
Jeremy Soller
0e8e1b5c4e
WIP: Signal handling
2017-07-05 21:45:53 -06:00
Ian Douglas Scott
dddd87c2c3
Implement getppid system call
2017-06-28 22:05:01 -07:00
Jeremy Soller
8d89925842
Align ELF segments to avoid subtract overflow
2017-06-04 18:34:45 -06: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
9d39317f95
Fix issue where ppid changes during child close
2017-04-15 20:29:08 -06:00
Jeremy Soller
c4fb60f216
Implement script file support
2017-04-11 21:27:39 -06:00
Jeremy Soller
e43f5dda81
Implement timeouts
...
Cleanup utf8 path error handling
2017-04-08 21:59:30 -06:00
Jeremy Soller
2087544ea7
Move all files to src
2017-04-03 21:47:01 -06:00
Jeremy Soller
ff93e9cb82
Cleanup some
2017-04-03 21:16:50 -06:00
Jeremy Soller
228cd79cd4
Refactor ACPI, implement poweroff correctly using the DSDT in ACPI
2017-03-19 16:45:19 -06:00
Jeremy Soller
35c2297724
Fix from @yoric - incorrect initialization of spin loop
2017-01-11 13:59:10 -07:00
Jeremy Soller
0c8ba636f4
Cleanup Redox repo, update Rust, remove old target
2017-01-03 15:55:00 -07:00