Commit Graph

45 Commits

Author SHA1 Message Date
Tomoki Shirasawa
2c50b716fd support setitimer/getitimer 2016-02-19 15:25:05 +09:00
Tomoki Shirasawa
eba2be8a35 support times 2016-02-18 13:14:18 +09:00
Tomoki Shirasawa
a997af71be support tkill
refs #664
2016-02-17 12:48:12 +09:00
Ken Sato
c0cc6ac6db Add skeleton for perf_event_open. 2016-02-09 14:54:53 +09:00
Balazs Gerofi
828a3ea57a futex(): support for cross address-space futexes 2015-11-24 14:58:04 +09:00
NAKAMURA Gou
c25f8c7a39 support settimeofday() 2015-10-27 19:21:50 +09:00
Balazs Gerofi
9ae5bcf46e gettimeofday(): an implementation based on CPU invariant TSC support 2015-08-24 23:53:56 +02:00
Tomoki Shirasawa
1ff4cf68c2 support SA_RESTART flag and restart syscall 2015-07-16 16:33:14 +09:00
Tomoki Shirasawa
7d5a68be1b add PID and GID to /proc/pid/status
add /proc/pid/cmdline

refs #445
refs #447
2015-05-18 17:45:37 +09:00
Balazs Gerofi
5f19842a6a support for process_vm_readv()/process_vm_writev() 2015-03-25 19:44:56 +09:00
NAKAMURA Gou
055769254d implement mlockall()/munlockall() for LTP syscall 2015-03-19 16:46:31 +09:00
NAKAMURA Gou
8c662c83be implement mincore(2) for LTP 2015-03-19 16:32:03 +09:00
NAKAMURA Gou
4698bc40c2 implement System V shared memory for LTP syscalls 2015-03-19 16:21:18 +09:00
Tomoki Shirasawa
f5d935b703 support signalfd4 step1 2015-03-18 17:35:43 +09:00
Tomoki Shirasawa
8934eb91a4 kill syscall check uid 2015-03-17 15:04:36 +09:00
Tomoki Shirasawa
d9cf1d49b1 support waitid
send SIGCHLD to parent when SIGSTOP or SIGCONT received

refs #425
refs #283
2015-02-22 20:05:30 +09:00
Balazs Gerofi
0307f6a6cc impementation of sched_{setparam, getparam, setscheduler, getscheduler, get_priority_min, get_priority_max, rr_get_interval} system calls 2015-02-19 11:46:03 -08:00
NAKAMURA Gou
16af976a71 support msync() system call. refs #382
Msync(2) of this version writes only the pages which the calling process
modified. Modifications of the other processes are not written.
2015-02-18 11:52:15 +09:00
NAKAMURA Gou
d21ae28843 add dummy NUMA system calls. refs #405
ENOSYS system call handlers for the following.
- get_mempolicy()
- mbind()
- migrate_pages()
- move_pages()
- set_mempolicy()
2015-02-10 21:16:19 +09:00
NAKAMURA Gou
d30d8fe71c support getcpu() system call. refs #385
It appeared on Linux(x86) in kernel 3.1.
2015-02-10 18:35:41 +09:00
Tomoki Shirasawa
08cc31f9bf support setrlimits/getrlimits, however this fix is these syscalls only.
checking resource process must implement it separately.

refs #330
2015-01-27 10:35:58 +09:00
bgerofi@riken.jp
86f2a9067b getppid() implementation 2014-12-04 16:55:17 +09:00
Tomoki Shirasawa
39f36120c1 support sigqueue 2014-09-23 23:17:53 +09:00
Masamichi Takagi
19fa391d4f Implement vfork system call
It's implemented by making it issue clone system call internally with
the arguments of (SIGCHLD, 0, 0, 0, 0). The feature in which the caller
of vfork blocks until the child issues exit/execve is not implemented.
Refer to #233.
2014-09-08 17:06:05 +09:00
Tomoki Shirasawa
78d10cce80 support process group 2014-08-18 17:08:28 +09:00
YOSHIDA Masanori
99931179e1 add get_cpu_id syscall with No.700 for testing 2014-07-13 17:05:27 +09:00
NAKAMURA Gou
11bb334bd4 support mremap(2)
fixes #22
2014-07-02 15:30:52 +09:00
NAKAMURA Gou
90aaf9dc9c support remap_file_pages(2)
fixes #21
2014-06-30 17:33:51 +09:00
NAKAMURA Gou
3f13862a98 ptrace: add error stub to prevent mcexec from waiting
In LTP's ptrace03 test,
there is a exit() preceded by ptrace(PTRACE_TRACEME).
In this case, processes will be usually finished immediately.
But mcexec will fall into waiting for parent's ptrace(PTRACE_CONT),
because mcexec sends itself a signal in processing of exit().
2014-06-09 19:03:59 +09:00
Balazs Gerofi bgerofi@riken.jp
0e348e6295 SIGCHLD and wait4(), i.e. wait()/waitpid() implementation 2014-04-23 13:33:18 +09:00
Balazs Gerofi bgerofi@riken.jp
ab13f9a57c declare fork() so that __NR_fork is available 2014-04-02 18:00:09 +09:00
NAKAMURA Gou
b2b9b566c8 implement munlock() 2014-02-05 11:31:01 +09:00
NAKAMURA Gou
f2a6515448 implement mlock() 2014-02-05 11:30:59 +09:00
Tomoki Shirasawa
26d68d391d signal part 4 (sigsuspend etc) 2014-01-24 10:14:49 +09:00
NAKAMURA Gou
6992b829a0 delegate the open(2) with the generic forwarding.
This commit solves a problem that causes getpwnam()/getpwuid() to return
NULL.
2014-01-14 18:50:20 +09:00
Tomoki Shirasawa
a8c249ddaf signal (part 1) 2014-01-07 11:57:57 +09:00
Tomoki Shirasawa
9e00275120 fork & execve return EOPNOTSUPP (temporary hack) 2013-12-18 16:10:13 +09:00
NAKAMURA Gou
03521e9c2c add copyrights 2013-11-14 16:49:40 +09:00
Tomoki Shirasawa
1d69225532 mcexec forward signal to MIC process. 2013-08-19 12:17:23 +09:00
Tomoki Shirasawa
3749696d3e simple signal handler and kill(2) support. 2013-07-18 08:53:28 +09:00
NAKAMURA Gou
99a228930f correct syscall name 2013-07-10 13:11:18 +09:00
NAKAMURA Gou
75b51ec0c1 delete SYSCALL_DECLARE(process_data_section) 2013-07-01 12:44:12 +09:00
NAKAMURA Gou
cbc37b62a9 return syscall_table[] to the arch-independent part 2013-07-01 12:44:12 +09:00
simin
de5137e18b Delete DCFA_KMOD flag in syscall_list.h.
Because DCFA_KMOD is undefined in this file,
even if we set -DDCFA_KMOD in Makefile
2013-06-20 11:33:14 -05:00
NAKAMURA Gou
4695b332e2 move syscall_table[] to the architecture-depended part 2013-06-19 16:52:46 +09:00