Commit Graph

45 Commits

Author SHA1 Message Date
c783ec8e11 Implemented procfs. 2014-08-28 09:16:50 +09:00
f535670100 fix pipe02 2014-08-27 16:50:01 +09:00
78d10cce80 support process group 2014-08-18 17:08:28 +09:00
2f4f3628f9 support tgkill 2014-06-10 10:42:29 +09:00
badb450153 more detailed report in memory management error path 2014-05-22 17:27:39 +09:00
a4e6269c5d adjust prepare_process_ranges_args_envs() so that it can initialize arguments and environmnt variables from kernel space strings 2014-05-22 13:45:23 +09:00
760c9ebdb0 refactor process_msg_prepare_process() in preparation for execve() 2014-05-22 13:27:25 +09:00
0e348e6295 SIGCHLD and wait4(), i.e. wait()/waitpid() implementation 2014-04-23 13:33:18 +09:00
b31a1b6db2 add PTATTR_NO_EXECUTE 2014-04-11 14:59:47 +09:00
c421965542 relocate a program interpreter to the map_start
This commit makes a system call that dereferences a NULL pointer fail.
2014-01-14 18:55:16 +09:00
a8c249ddaf signal (part 1) 2014-01-07 11:57:57 +09:00
03521e9c2c add copyrights 2013-11-14 16:49:40 +09:00
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
27172ad413 support private mapped file 2013-10-15 12:30:41 +09:00
4fb6620f3a sys_getrlimit: modified to return mcexec's RLIMIT_STACK 2013-10-11 22:36:16 +09:00
040fb64b22 add terminate thread 2013-09-02 00:39:22 +09:00
1d69225532 mcexec forward signal to MIC process. 2013-08-19 12:17:23 +09:00
78d9d3fcd2 Revert "trial implementation of private file mapping"
This reverts commit abe57218c4.
2013-07-26 16:44:39 +09:00
abe57218c4 trial implementation of private file mapping
for review only.  will soon be reverted.
2013-07-26 14:40:12 +09:00
2aa5194958 rewrite sys_mmap() as sys_new_mmap() 2013-07-10 13:11:19 +09:00
d8034eeb13 propagate error code for prepare image 2013-06-05 17:38:23 +09:00
40ad744947 remove unused function add_process_large_range from source file 2013-06-02 19:38:29 +09:00
4a27a65cb0 resolved merge conflicts with futex code 2013-06-02 16:42:08 +09:00
2627d4df55 add PTATTR_FOR_USER flag to enum ihk_mc_ap_flag 2013-06-02 13:57:44 +09:00
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
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
bb4caccf98 add memory allocation check 2013-05-28 12:06:41 +09:00
f8f91488b3 fix release leakage of args_envs 2013-05-28 11:52:00 +09:00
db17c4a7b0 use the PID of the mcexec as PID of the McKernel process. 2013-05-28 11:40:20 +09:00
c865f63818 disable debug msgs by default for host.c 2013-05-10 13:04:28 +09:00
e8f7fbc682 FIX Bug 1 - mckernel aborts due to out of memory access after several mcexec 2013-05-09 10:12:30 +09:00
b56c090678 FIX Bug 1 - mckernel aborts due to out of memory access after several mcexec invocations 2013-05-02 11:00:30 +09:00
e09160cce7 add generic system call forwarding 2013-04-17 20:32:33 +09:00
4693789608 change function names 2012-12-17 16:15:05 +09:00
0a808057eb modify include lines and Makefiles 2012-12-17 16:10:56 +09:00
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
8005f8455d PTE clearing bug due to wrong unmap fixed 2012-06-08 18:12:03 +09:00
77296a31a2 largre_region creation (may not be needed) 2012-05-19 16:56:05 +09:00
7c85ac93e8 passing argc, argv and envp to main() 2012-05-10 22:07:23 +09:00
a7c0225423 futex and rlimit 2012-05-08 18:32:43 +09:00
8c34463dd4 runqueues and schedule() 2012-05-03 18:38:08 +09:00
d2591c6d25 temp 2012-01-06 17:06:42 +09:00
00107164b3 valid flag is added 2011-12-02 14:00:12 +09:00
7999653a00 a commit 2011-12-02 12:35:38 +09:00
480e1b12ef big commit 2011-11-28 13:00:13 +09:00