Theodore Dubois
|
22b624628c
|
Fix possible buffer overflow in PRCTL_SET_NAME
|
2019-10-19 14:54:18 -07:00 |
|
Theodore Dubois
|
389bd5ebe9
|
Make statfs return the correct answer
Fixes #509
|
2019-10-13 21:26:33 -07:00 |
|
Theodore Dubois
|
a9e4aa41c6
|
Add logging for llseek and rmdir
|
2019-10-13 20:14:48 -07:00 |
|
Theodore Dubois
|
c1eb8e2598
|
Remove low-signal logs for unknown ioctls and shared futexes
|
2019-10-06 18:36:24 -07:00 |
|
Theodore Dubois
|
6daf24b336
|
Implement timerfd_settime
Bug #104
|
2019-09-30 22:33:48 -07:00 |
|
Theodore Dubois
|
0c5c4c952b
|
Ignore address passed without MAP_FIXED if it overlaps
Fixes #497
|
2019-09-30 20:40:46 -07:00 |
|
Theodore Dubois
|
67c281cd9c
|
Implement PRCTL_SET_NAME
|
2019-09-30 00:47:51 -07:00 |
|
Theodore Dubois
|
50b91978c1
|
Initialize the return value from sched_getaffinity
Erlang calls this to determine the number of available cores, and all
the uninitialized data was interpreted as 200 available cores.
|
2019-09-30 00:46:02 -07:00 |
|
Theodore Dubois
|
fd5729dc1a
|
Allow access() to succeed with F_OK
|
2019-09-21 19:45:35 -07:00 |
|
Theodore Dubois
|
cd6f4eaf7d
|
Make values for EPROTONOSUPPORT and ESOCKNOSUPPORT positive
This fixes socketpair in python.
|
2019-09-21 19:37:46 -07:00 |
|
Theodore Dubois
|
3ef82e1500
|
Add stubs for inotify, and a log for stubs
|
2019-09-21 19:32:01 -07:00 |
|
Theodore Dubois
|
3f0e51f10f
|
Fix race on group->threads
|
2019-09-08 22:48:16 -07:00 |
|
Theodore Dubois
|
05856d273a
|
Release sighand->lock while waking up a wait_for
|
2019-09-08 21:41:04 -07:00 |
|
Theodore Dubois
|
d5f930996a
|
Implement sigtimedwait
|
2019-08-25 21:28:31 -07:00 |
|
Theodore Dubois
|
68e7dd86d3
|
Fix mmap clobbering existing mappings
|
2019-08-25 19:06:08 -07:00 |
|
Theodore Dubois
|
c4e9d92797
|
Implement all the funny cases for waitpid
|
2019-08-24 20:38:01 -07:00 |
|
Theodore Dubois
|
4abebda86c
|
Fix leak of queued signals
|
2019-08-24 15:16:30 -07:00 |
|
Theodore Dubois
|
32c5046e7c
|
Try to fix memory leaks from mapping files on iOS
|
2019-08-24 15:13:04 -07:00 |
|
Theodore Dubois
|
3bd114ae48
|
Attempted implementation of pwrite
|
2019-08-11 22:15:36 -07:00 |
|
Theodore Dubois
|
87a9d48002
|
Stub setaffinity
|
2019-08-11 14:36:45 -07:00 |
|
Theodore Dubois
|
7123f95eb5
|
Even more correctly handle signals sent during a sigsuspend()
|
2019-08-11 14:36:45 -07:00 |
|
Viktor Oreshkin
|
c11d375e94
|
Add devices.h, replace magic dev numbers with defines
|
2019-08-06 16:48:00 +03:00 |
|
Theodore Dubois
|
f59df7c939
|
Stub statx
|
2019-08-03 16:29:24 -07:00 |
|
Theodore Dubois
|
635a8437f8
|
Add a bunch of half-assed permission checks
|
2019-07-28 21:04:38 -07:00 |
|
Theodore Dubois
|
c41dd566c0
|
Correctly handle signals sent during a sigsuspend()
|
2019-07-27 14:55:03 -07:00 |
|
tbodt
|
e5ba367522
|
Fix prototypes for sigreturn syscalls
|
2019-07-15 03:12:02 +00:00 |
|
Theodore Dubois
|
6e76d5460b
|
Add stub for sysv ipc
|
2019-07-14 14:23:15 -07:00 |
|
Theodore Dubois
|
172246174b
|
Ignore EPOLLET
|
2019-07-14 14:07:43 -07:00 |
|
Theodore Dubois
|
1e2c1ceabd
|
Fix leak of child process memory when a multithreaded process forks
|
2019-07-07 22:19:17 -07:00 |
|
Theodore Dubois
|
62e7f022cf
|
Increase the PID limit to something more realistic
|
2019-07-07 22:19:01 -07:00 |
|
Theodore Dubois
|
65795496c4
|
Implement MAP_SHARED
|
2019-07-07 19:20:53 -07:00 |
|
Theodore Dubois
|
b100b2bcb7
|
Fix segfault when calling old mmap
|
2019-07-07 17:37:13 -07:00 |
|
Theodore Dubois
|
95cee3f3ed
|
Implement utime
|
2019-07-07 17:37:00 -07:00 |
|
Theodore Dubois
|
6ae1e86136
|
Implement 32-bit fcntl
|
2019-07-07 17:36:41 -07:00 |
|
Theodore Dubois
|
244b1d8bfa
|
Implement /proc/uptime
|
2019-07-07 00:49:15 -07:00 |
|
Theodore Dubois
|
a8392d5316
|
Fix off-by-one signal masks
Apparently these have been broken since the beginning of time.
|
2019-07-05 23:28:02 -07:00 |
|
Theodore Dubois
|
c897ca4731
|
Stub msync
|
2019-07-05 19:38:46 -07:00 |
|
Theodore Dubois
|
991b5a0448
|
Remove debugging print
|
2019-07-05 18:01:44 -07:00 |
|
Theodore Dubois
|
fce3cc64c7
|
Implement dup3
Close #387
|
2019-07-05 17:57:43 -07:00 |
|
Theodore Dubois
|
c6e818b5c5
|
Include the reason for a segfault
|
2019-07-05 17:44:29 -07:00 |
|
Theodore Dubois
|
7b9371e1af
|
Implement receiving of signals with siginfo
|
2019-07-04 12:51:36 -07:00 |
|
Theodore Dubois
|
006360fa5d
|
Use a nonzero value for initial RLIMIT_NPROC and RLIMIT_SIGPENDING
It turns out the Linux kernel has them as 0 in the table, but then sets
them to max_threads/2 (whatever that is).
|
2019-06-22 23:25:27 -07:00 |
|
Theodore Dubois
|
71284af633
|
Implement a queue for pending signals
|
2019-06-22 22:58:06 -07:00 |
|
Theodore Dubois
|
a39027c499
|
Eliminate the need for a "queued" signal set
|
2019-06-22 22:01:48 -07:00 |
|
Theodore Dubois
|
ae689abff5
|
Require a siginfo when sending a signal
|
2019-06-22 20:48:49 -07:00 |
|
Theodore Dubois
|
82b872d687
|
Add missing prototype for create_piped_stdio
|
2019-06-02 16:25:14 -07:00 |
|
Theodore Dubois
|
873d2fe9ac
|
Merge pull request #398 from MatthewMerrill/pipes
If stdin is not a tty, inherit stdin/stdout/stderr.
|
2019-06-02 15:22:31 -07:00 |
|
Matthew Merrill
|
82721f373f
|
tidy up stdio piping code and add error handling
|
2019-05-28 14:49:47 -07:00 |
|
Matthew Merrill
|
033e0de008
|
clean up unneccesary variable
|
2019-05-28 14:19:38 -07:00 |
|
Matthew Merrill
|
249790e720
|
if stdin is not a tty, inherit stdin/stdout/stderr
|
2019-05-28 14:17:32 -07:00 |
|