Commit Graph

33 Commits

Author SHA1 Message Date
NAKAMURA Gou
d557ba84d6 exclude interpreter's segment from data region
When an interpreter is located on the lower address (e.g. 0x0),
the text region is included in data region.
A fix to avoid this.
2013-10-30 14:28:32 +09:00
NAKAMURA Gou
27172ad413 support private mapped file 2013-10-15 12:30:41 +09:00
NAKAMURA Gou
4fb6620f3a sys_getrlimit: modified to return mcexec's RLIMIT_STACK 2013-10-11 22:36:16 +09:00
Tomoki Shirasawa
040fb64b22 add terminate thread 2013-09-02 00:39:22 +09:00
Tomoki Shirasawa
1d69225532 mcexec forward signal to MIC process. 2013-08-19 12:17:23 +09:00
NAKAMURA Gou
78d9d3fcd2 Revert "trial implementation of private file mapping"
This reverts commit abe57218c4.
2013-07-26 16:44:39 +09:00
NAKAMURA Gou
abe57218c4 trial implementation of private file mapping
for review only.  will soon be reverted.
2013-07-26 14:40:12 +09:00
NAKAMURA Gou
2aa5194958 rewrite sys_mmap() as sys_new_mmap() 2013-07-10 13:11:19 +09:00
Tomoki Shirasawa
d8034eeb13 propagate error code for prepare image 2013-06-05 17:38:23 +09:00
Tomoki Shirasawa
40ad744947 remove unused function add_process_large_range from source file 2013-06-02 19:38:29 +09:00
Balazs Gerofi bgerofi@riken.jp
4a27a65cb0 resolved merge conflicts with futex code 2013-06-02 16:42:08 +09:00
Tomoki Shirasawa
2627d4df55 add PTATTR_FOR_USER flag to enum ihk_mc_ap_flag 2013-06-02 13:57:44 +09:00
Masamichi Takagi m-takagi@ab.jp.nec.com
d70dd2338c Make mckernel/kernel/host.c set proc->vm->region.brk_start to
(USER_END / 4) & LARGE_PAGE_MASK
so that brk won't destroy .bss section when
using debug-mode of ld.so to link shared objects.
2013-05-29 17:08:36 +09:00
Tomoki Shirasawa
da3965be11 Merge branch 'master' of postpeta.pccluster.org:mckernel
Conflicts:
	kernel/host.c
	kernel/process.c
	lib/include/ihk/mm.h
2013-05-28 12:49:13 +09:00
Tomoki Shirasawa
bb4caccf98 add memory allocation check 2013-05-28 12:06:41 +09:00
NAKAMURA Gou
f8f91488b3 fix release leakage of args_envs 2013-05-28 11:52:00 +09:00
NAKAMURA Gou
db17c4a7b0 use the PID of the mcexec as PID of the McKernel process. 2013-05-28 11:40:20 +09:00
Balazs Gerofi bgerofi@riken.jp
c865f63818 disable debug msgs by default for host.c 2013-05-10 13:04:28 +09:00
Tomoki Shirasawa
e8f7fbc682 FIX Bug 1 - mckernel aborts due to out of memory access after several mcexec 2013-05-09 10:12:30 +09:00
Tomoki Shirasawa
b56c090678 FIX Bug 1 - mckernel aborts due to out of memory access after several mcexec invocations 2013-05-02 11:00:30 +09:00
NAKAMURA Gou
e09160cce7 add generic system call forwarding 2013-04-17 20:32:33 +09:00
Tomoki Shirasawa
4693789608 change function names 2012-12-17 16:15:05 +09:00
Tomoki Shirasawa
0a808057eb modify include lines and Makefiles 2012-12-17 16:10:56 +09:00
Balazs Gerofi bgerofi@riken.jp
9a8449df2b populate ELF header information on the initial stack so that glibc can set up TLS properly 2012-10-09 00:51:50 +09:00
Balazs Gerofi
8005f8455d PTE clearing bug due to wrong unmap fixed 2012-06-08 18:12:03 +09:00
Balazs Gerofi
77296a31a2 largre_region creation (may not be needed) 2012-05-19 16:56:05 +09:00
Balazs Gerofi
7c85ac93e8 passing argc, argv and envp to main() 2012-05-10 22:07:23 +09:00
Balazs Gerofi
a7c0225423 futex and rlimit 2012-05-08 18:32:43 +09:00
Balazs Gerofi
8c34463dd4 runqueues and schedule() 2012-05-03 18:38:08 +09:00
Taku Shimosawa
d2591c6d25 temp 2012-01-06 17:06:42 +09:00
Taku Shimosawa
00107164b3 valid flag is added 2011-12-02 14:00:12 +09:00
Taku Shimosawa
7999653a00 a commit 2011-12-02 12:35:38 +09:00
Taku Shimosawa
480e1b12ef big commit 2011-11-28 13:00:13 +09:00