ebcf9a0d6d
mcctrl: fix a bunch of -Wframe-larger-than warnings
2016-10-21 04:54:38 -04:00
c897a56c34
__notify_syscall_requester(): use CAS or IKC to notify syscall completion
2016-08-16 08:56:05 +09:00
5e9957da0f
syscall_response: introduction of req_thread_status field
2016-08-16 08:53:41 +09:00
45e51fcc07
mcctrl: fix padding for 128bytes SCD message
2016-08-14 11:29:02 +09:00
d7bc947a02
mcctrl: redesign mcctrl_channels for IKC packet based syscall offloading
2016-08-09 16:49:42 +09:00
fb84d4ef11
mcctrl: thread pool based system call offload handling
2016-08-08 19:43:05 +09:00
e2e0fad849
arch_clear_host_user_space: set zero to args[2]
...
to avoid duplicated per_proc_list entry.
2016-04-21 23:22:54 +09:00
1bb948f43b
hwloc support
2016-04-11 22:25:27 +09:00
41bb2ab5e6
support vdso which borrows clocksource from linux
2016-03-28 22:57:44 +09:00
31595b7409
fix REQ-43
2016-03-25 12:57:31 +09:00
d65135c040
move sys_shmget() into arch-dependent code
2016-03-23 19:14:27 +09:00
81690c5b5a
mmap: cosmetic changes
2016-03-23 19:04:32 +09:00
dbc778e4fa
support getrusage (work in progress)
2016-03-07 17:06:44 +09:00
eba2be8a35
support times
2016-02-18 13:14:18 +09:00
a866192db7
refactoring /proc
2016-02-10 08:11:02 +09:00
8cb72df663
support McKernel's sysfs tree
2015-12-16 13:42:30 +09:00
bb81f84709
support PIE executable for PVAS
2015-12-14 11:05:28 +09:00
26492a2895
vsyscall_gettimeofday: make timeval from TSC
2015-11-11 19:45:14 +09:00
1a5ff7f535
gettimeofday: gather variables into new struct
2015-11-11 18:31:33 +09:00
153a59a6f4
gettimeofday: avoid per-cpu data in calculation
...
Because it is difficult to safely update per-cpu data of other cpus in
settimeofday().
2015-10-27 19:21:50 +09:00
04e193de13
refactoring process structures
2015-10-13 23:04:08 +09:00
59ee251e1c
fix /proc/pid/mem, /proc/pid/status, /proc/pid/cmdline
2015-07-02 00:22:35 +09:00
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
8934eb91a4
kill syscall check uid
2015-03-17 15:04:36 +09:00
f35cc66d18
delete unused argument "ctx" from do_syscall
...
support waitid option "WNOWAIT"
2015-02-23 17:14:14 +09:00
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
8f30e16976
when mcexec is killed by SIGKILL, terminate mckernel process (BUG#259)
2014-11-27 16:13:52 +09:00
aa05f00e7e
don't map syscall pages into process space
...
Request pages, response pages, and a doorbell page are mapped into
process space to enable user processes to delegate system calls
directly to mcctrl/mcexec.
This commit removes these mappings for the following reasons.
- These mappings cause a memory leak in current fork() implementation.
- These mappings are not used.
- These mappings do not function properly.
And the fix which corrects function of these mappings is not easy.
2014-10-10 16:20:38 +09:00
43e54dcf85
procfs: fix for http://postpeta.pccluster.org/redmine/issues/119#note-30
2014-09-22 10:46:33 +09:00
d7436652bf
procfs: add support for <pid>/mem files and ad hoc fix for memory incoherency.
2014-09-17 15:49:47 +09:00
efc817de92
Merge branch 'master' of postpeta.pccluster.org:mckernel
2014-09-05 17:20:50 +09:00
cd366de097
execve():
...
- COKERNEL_PATH and COKERNEL_EXEC_ROOT support for co-kernels with different architecture than the host (i.e., Xeon Phi).
- fix various error codes: ENAMETOOLONG, ENOENT, ENOTDIR, EACCES, ENOEXEC, EFAULT.
- support for shell code execution.
2014-09-03 18:15:43 +09:00
319590910a
Almost implemented.
2014-09-03 15:20:39 +09:00
c783ec8e11
Implemented procfs.
2014-08-28 09:16:50 +09:00
78d10cce80
support process group
2014-08-18 17:08:28 +09:00
3fa6818962
Merge from master.
2014-07-31 18:30:39 +09:00
ed9da789e6
Created gencore() and minor aestetical changes.
...
modified: executer/kernel/mcctrl.h
modified: executer/kernel/syscall.c
modified: kernel/include/syscall.h
modified: kernel/mem.c
2014-07-02 16:23:32 +09:00
4f1b3f22ef
Working code for infrastructure.
...
modified: executer/kernel/mcctrl.h
modified: executer/kernel/syscall.c
modified: kernel/include/syscall.h
modified: kernel/mem.c
2014-07-02 12:39:08 +09:00
53a80e0720
Experimental implementation of map & write.
...
Data is still dummy.
Not even compiled.
modified: executer/kernel/mcctrl.h
modified: executer/kernel/syscall.c
modified: kernel/include/syscall.h
modified: kernel/mem.c
2014-07-01 16:50:25 +09:00
83ced89fa3
Initial commit for core dump.
...
We can create a dummy core file when gpe occurs.
modified: executer/kernel/mcctrl.h
modified: executer/kernel/syscall.c
modified: kernel/include/syscall.h
modified: kernel/mem.c
2014-07-01 16:03:11 +09:00
39a86fad18
support execute disabled stack
2014-04-11 14:59:47 +09:00
cf442e6a14
fork(): preliminary version (no wait()/waitpid() support yet)
2014-04-02 14:07:38 +09:00
ccd770ba24
use per-process wait queues for system call request processing in mcexec so that multiple processes can share the per-core system call channels
2014-03-27 19:31:42 +09:00
fcbaa9726c
correct the syscall return type
...
Long size syscall return values such as shmat()'s and lseek()'s are
broken, because lower 32 bits are only returned.
2014-02-05 11:30:57 +09:00
f5b4057074
add vsyscall
...
- getcpu() is not implemented. It will cause SIGILL.
- gettimeofday() and time() are implemented with syscall.
2014-01-24 20:18:36 +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
506caa7e7f
page.h, process.h, rlimit.h, syscall.h, time.h, timer.h copyright
2013-11-14 17:34:30 +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