Commit Graph

354 Commits

Author SHA1 Message Date
NAKAMURA Gou
e939cf6862 mincore: cosmetic changes 2016-03-23 19:14:28 +09:00
NAKAMURA Gou
86ac51157c add error checks to shmctl(SHM_UNLOCK) 2016-03-23 19:14:27 +09:00
NAKAMURA Gou
b73fa2b972 add error checks to shmctl(SHM_LOCK) 2016-03-23 19:14:27 +09:00
NAKAMURA Gou
e8be52a1ff shm: trace the amount of locked segment per user 2016-03-23 19:14:27 +09:00
NAKAMURA Gou
8b5b075f4c shmctl(IPC_RMID): fix wrong owner/creator checking
Don't check owner/creator of the segment in case of superuser.
2016-03-23 19:14:27 +09:00
NAKAMURA Gou
48167d3223 shmget: add "shmflg" checks for SHM_HUGE* 2016-03-23 19:14:27 +09:00
NAKAMURA Gou
d65135c040 move sys_shmget() into arch-dependent code 2016-03-23 19:14:27 +09:00
NAKAMURA Gou
1761acc4c3 eliminate geteuid(), getegid() and getpid() 2016-03-23 19:04:32 +09:00
NAKAMURA Gou
d4d93df032 mmap: add "flags" checks for MAP_HUGE* 2016-03-23 19:04:32 +09:00
NAKAMURA Gou
261bddb999 add a member pgshift into struct vm_range
pgshift indicates a page size in the range.
2016-03-23 19:04:32 +09:00
NAKAMURA Gou
1a3bc851af mprotect: return -ENOMEM if speicified range is out of range 2016-03-23 19:04:32 +09:00
NAKAMURA Gou
81690c5b5a mmap: cosmetic changes 2016-03-23 19:04:32 +09:00
NAKAMURA Gou
e74eb1dd51 add some prototypes to <memory.h> 2016-03-23 19:04:32 +09:00
Tomoki Shirasawa
807d294ac4 signalfd4: fix initialize 2016-06-03 20:58:02 +09:00
Ken Sato
d192e6c0fe modify PAPI support 2016-03-22 15:52:59 +09:00
Tomoki Shirasawa
eb0700359b fix REQ-36 2016-03-10 10:33:38 +09:00
Tomoki Shirasawa
dbc778e4fa support getrusage (work in progress) 2016-03-07 17:06:44 +09:00
Tomoki Shirasawa
1dc8513cd3 fix REQ-20 2016-02-26 16:18:30 +09:00
Tomoki Shirasawa
2c50b716fd support setitimer/getitimer 2016-02-19 15:25:05 +09:00
Tomoki Shirasawa
307b2b8da5 clock_gettime: support clock_id CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID 2016-02-18 17:43:13 +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
Tomoki Shirasawa
a866192db7 refactoring /proc 2016-02-10 08:11:02 +09:00
Ken Sato
c0cc6ac6db Add skeleton for perf_event_open. 2016-02-09 14:54:53 +09:00
Tomoki Shirasawa
172bf0a389 sched_setaffinity: add permission check 2016-01-15 12:05:18 +09:00
Tomoki Shirasawa
9bafd166e3 futex: support FUTEX_CLOCK_REALTIME 2016-01-14 16:18:49 +09:00
Tomoki Shirasawa
2e31b8abd1 clock_gettime: clock_id != CLOCK_REALTIME -> offload to linux 2016-01-13 14:04:06 +09:00
Tomoki Shirasawa
f6935b0869 ptrace_setsiginfo: update recieved siginfo 2016-01-11 17:37:29 +09:00
Tomoki Shirasawa
03a7763a5e ptrace_conf: set received siginfo to default siginfo 2016-01-11 17:10:30 +09:00
Tomoki Shirasawa
3a2f7b0106 clone: support CLONE_PARENT 2016-01-11 16:49:02 +09:00
NAKAMURA Gou
f7d81a9281 fix typo 2016-01-06 21:12:57 +09:00
Tomoki Shirasawa
d00ea61d1a ptrace_wakeup_sig: fix thread lock 2015-12-28 10:33:07 +09:00
Tomoki Shirasawa
d477096cb0 getrlimit, setrlimit: offload to linux when an unknown parameter was specified
refs #660
2015-12-25 15:35:33 +09:00
Tomoki Shirasawa
f44ddfa3b3 support sigtimedwait 2015-12-24 12:35:45 +09:00
Tomoki Shirasawa
e0acd254b1 do_process_vm_read_writev: use process hash for remote process search 2015-12-22 09:47:00 +09:00
Balazs Gerofi
d0507f7e9f process_read/write_vm(): fix LTP bugs 2015-12-18 15:58:51 +09:00
Tomoki Shirasawa
0f8b2aba22 reset signal handlers when execve called 2015-12-18 12:46:53 +09:00
Tomoki Shirasawa
7e5c7445e2 fix ptrace_detach bug
refs #662
2015-12-16 17:41:57 +09:00
Tomoki Shirasawa
5c1dad1660 GDB: async-shell.exp
refs #650
2015-11-26 17:07:13 +09:00
Tomoki Shirasawa
544971d665 modify for PVAS 2015-11-25 14:27:20 +09:00
Balazs Gerofi
828a3ea57a futex(): support for cross address-space futexes 2015-11-24 14:58:04 +09:00
Balazs Gerofi
42c8ef6539 do_fork(): fix CLONE_PARENT_SETTID bug 2015-11-13 12:46:09 +09:00
Balazs Gerofi
780d4fc29b futex_wait(): support for FUTEX_CLOCK_REALTIME 2015-11-13 12:46:02 +09:00
Tomoki Shirasawa
e822fc47dd fix dead locking when kill subthreads 2015-11-11 23:03:43 +09:00
NAKAMURA Gou
26492a2895 vsyscall_gettimeofday: make timeval from TSC 2015-11-11 19:45:14 +09:00
NAKAMURA Gou
1a5ff7f535 gettimeofday: gather variables into new struct 2015-11-11 18:31:33 +09:00
NAKAMURA Gou
0ad7c8ac50 nanosleep: fix arguments to be delegated 2015-11-06 19:31:42 +09:00
Tomoki Shirasawa
e9458a6cd3 fix ptrace02 failed 2015-10-30 16:59:03 +09:00
Tomoki Shirasawa
9e3b0b5866 bug fix 'GDB: missing parent-child relationship'
refs #641
2015-10-30 15:06:27 +09:00
Balazs Gerofi
0eaa27291a thread: move clear_child_tid, etc. to main structure 2015-10-29 11:01:27 +09:00