Commit Graph

362 Commits

Author SHA1 Message Date
Jeremy Soller
b474136af4 Add cargo.lock 2017-07-26 07:44:24 -06:00
Jeremy Soller
a3b0c8ebff Merge pull request #40 from ids1024/components
Strip extra slashes from path
2017-07-23 20:23:40 -06:00
Ian Douglas Scott
1367c7814f Strip extra slashes from path
Fixes strange behavior like 'cd .//////; pwd'
2017-07-23 18:09:49 -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
6a061665e4 Use EINVAL instead of ENOENT 2017-07-22 13:21:15 -06:00
Jeremy Soller
fc914e0cae Make it an error to supply a dup buffer to schemes that do not handle it 2017-07-22 12:54:28 -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
76aa3116d7 Merge pull request #39 from ids1024/uname
sys:uname
2017-07-18 18:48:35 -06:00
Ian Douglas Scott
2ab539d2e4 sys:uname 2017-07-18 15:42:42 -07:00
Jeremy Soller
c7664674d3 Update fs.rs 2017-07-17 21:25:20 -06:00
Jeremy Soller
1085fa3838 Merge pull request #38 from ids1024/espipe
Make seek on pipe return ESPIPE
2017-07-14 17:15:31 -06:00
Ian Douglas Scott
89f695dd28 Make seek on pipe return ESPIPE 2017-07-14 15:58:24 -07:00
Jeremy Soller
ff9f2322a6 Merge pull request #37 from ids1024/cloexec
Make dup/dup2 clear cloexec
2017-07-14 12:56:28 -06:00
Ian Douglas Scott
09a4980442 Make dup/dup2 clear cloexec 2017-07-14 08:48:42 -07:00
Jeremy Soller
30385fec48 Merge pull request #36 from CWood1/hpet
HPET Driver
2017-07-14 08:32:52 -06:00
Connor Wood
0b6bde7c68 Moved PIT driver into kernel 2017-07-14 15:26:04 +01:00
Connor Wood
0bd6f11a4f Implemented HPET driver 2017-07-14 13:58:06 +01:00
Connor Wood
0cbdb2d0c0 Saved HPET table for global access 2017-07-14 10:39:50 +01:00
Connor Wood
387cd41e5e Implemented ACPI table 2017-07-14 10:36:27 +01:00
Jeremy Soller
56ba795845 Merge pull request #34 from ids1024/dup2
Make dup2() work if second file descriptor doesn't exist
2017-07-13 15:55:16 -06: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
2c0cc3a8a1 Merge pull request #33 from ids1024/path
Pass relative, not canonicalized, path to script
2017-07-13 09:49:59 -06:00
Ian Douglas Scott
f020fe2ac5 Pass relative, not canonicalized, path to script 2017-07-13 08:09:36 -07:00
Jeremy Soller
6981f0cd36 Merge pull request #32 from ids1024/process
Strip whitspaces after #!
2017-07-13 07:11:39 -06: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
687f991ab4 Merge pull request #31 from ids1024/fstat
Implement fstat() for pipe scheme
2017-07-12 07:05:46 -06:00
Ian Douglas Scott
f81a276536 Implement fstat() for pipe scheme 2017-07-11 21:26:35 -07:00
Jeremy Soller
a03457a9eb Simpler debug message 2017-07-10 20:33:29 -06:00
Jeremy Soller
a3493d16fd Allow simple signal delivery to PID 1 (the kernel idle process) 2017-07-10 20:28:10 -06:00
Jeremy Soller
268ba3ece7 Remove syscall replacement 2017-07-10 20:13:01 -06:00
Jeremy Soller
a0b06a2835 Merge branch 'master' of https://github.com/redox-os/kernel 2017-07-10 20:09:01 -06:00
Jeremy Soller
ab738cede5 Restore kernel parameters on sigreturn 2017-07-10 20:08:57 -06:00
Jeremy Soller
8f6268eef7 Merge pull request #30 from ids1024/pipe
Revert "pipe: make read() return when write end is closed"
2017-07-10 17:10:16 -06:00
Ian Douglas Scott
79a45a2580 Revert "pipe: make read() return when write end is closed"
This reverts commit 09a67641c6.
2017-07-10 11:15:45 -07:00
Jeremy Soller
b5ff0aabd5 WIP: Signal handling 2017-07-09 21:34:38 -06:00
Jeremy Soller
7e52541f39 Implement passthrough of futimens 2017-07-09 15:43:26 -06:00
Jeremy Soller
3f40af0687 Update to new allocator API 2017-07-08 19:50:58 -06:00
Jeremy Soller
22e87d94d4 Merge pull request #29 from ids1024/pipe
pipe: make read() return when write end is closed
2017-07-08 06:56:36 -06:00
Ian Douglas Scott
09a67641c6 pipe: make read() return when write end is closed 2017-07-07 21:05:38 -07:00
Jeremy Soller
ae5a32cf98 Merge pull request #28 from ids1024/dup
Pass empty second argument to dup in exec
2017-07-06 18:29:07 -06:00
Ian Douglas Scott
074ce2e57d Pass empty second argument to dup in exec 2017-07-06 16:44:54 -07:00
Jeremy Soller
d0c3a5d2aa Merge pull request #27 from ids1024/clone
Pass empty second argument to dup() call in clone
2017-07-06 05:54:59 -06: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
d4e295a385 Revert syscall path 2017-07-05 21:46:40 -06:00
Jeremy Soller
0e8e1b5c4e WIP: Signal handling 2017-07-05 21:45:53 -06:00
Jeremy Soller
a4c3afb446 Merge pull request #26 from ids1024/getppid
Implement getppid system call
2017-06-29 06:34:49 -06:00