1fa398cfab
do_kill: fix to initialization leakage
2018-01-24 23:11:18 +09:00
8123cc413e
Use version string in configure.ac when git repo is not found
2018-01-24 00:52:18 +09:00
d4459cf9f3
Add check to confirm IHK and McKernel with the same version are used
2018-01-24 00:20:57 +09:00
4bb65494e9
signal: When the process receives a termination signal, it first terminates mcexec.
...
refs #863
refs #870
2018-01-23 14:40:38 +09:00
2f2b3cdc6f
signal: interrupt_syscall is called by the core executing the thread that recieved the signal.
...
refs #999
2018-01-23 14:31:04 +09:00
1e9f9d9809
update Test for Issue#1029
2018-01-14 14:58:19 +09:00
1b25379c02
small fix: reset switch_ctx flag in schedule() for redo
2018-01-14 14:50:31 +09:00
38bbb4e390
add Test programs for Issue#1029
2018-01-10 11:22:05 +09:00
0fa88f513f
fix broken files
2017-12-27 15:28:13 +09:00
cd54c5983a
fix openat
2017-12-27 14:59:13 +09:00
6084faeecd
make McKernel's execve behave same as Linux when argv or envp is set to NULL (fix for TEMP_FIX_21)
2017-12-26 17:43:17 +09:00
d209c00a30
part of Issue#994
...
mcexec: open syscall moves to arch_dep
do_fork: don't use __NR_fork. use __NR_clone
vfork: moves to arch_dep
2017-12-26 10:30:33 +09:00
9a5d5feb9c
time(): Split into architecture dependent functions
...
This fixes the bug reported as POSTK_ARCH_DEP_13 and POSTK_DEBUG_ARCH_DEP_13.
2017-12-23 11:36:52 +09:00
0cda763f95
fix /proc/*/pagemap
...
refs #387
2017-12-25 16:08:51 +09:00
cc7be46b7d
make sure to context-switch to idle thread when therad's status is PS_EXITED
...
refs #1029
2017-12-25 13:32:42 +09:00
589504dc33
mcreboot: -h to indicate halting CPU in idle threads (e.g., in futex_wait())
2017-12-18 11:22:15 +09:00
bf2f38051b
mcreboot-smp: offline/online MCDRAM in one go
2017-12-06 14:41:25 +09:00
2d2d0af6fb
add test for Issue#873, 1011
2017-11-29 12:23:20 +09:00
7f47dc78a1
add Issue#727 test cases
2017-11-29 11:32:40 +09:00
c3c9187ed5
add test for portability (kahansei_kojo in dev_V)
2017-11-28 17:55:23 +09:00
aebacb243e
User Space:swapout (this is a rebase commit to merge into development)
2017-11-28 09:16:00 +09:00
5a8d1f09e8
add test/dump/README
2017-11-27 19:39:16 +09:00
0e10b6d1ee
test/strace: Fix permission
2017-11-22 06:31:32 +09:00
d649d6fc2d
Include mbind support (this is a rebase commit to merge into development)
2017-11-27 11:16:53 +09:00
bad487cc07
add regression test result for strace
2017-11-25 18:30:51 +09:00
3b6056fb1a
add strace test cases and test result
2017-11-25 17:37:10 +09:00
5cc738d6bd
add test programs for strace
2017-11-25 14:35:17 +09:00
c9fa445f54
Merge branch 'development' of pccluster.org:mckernel into development
2017-11-22 10:53:33 +09:00
d273a2f58b
add strace bundled test cases
2017-11-22 10:52:30 +09:00
4e7069d499
add: proc|sys fs format_checker (tool)
2017-11-22 09:39:48 +09:00
66f44e77af
mcstop+release.sh: Allow ihkmond to flush kmsg buffer
2017-11-20 18:28:48 +09:00
35f908b75c
mcexec: protect against incorrect partitioned execution argument (-n) using timeouts
2017-11-20 17:06:01 +09:00
2f0089dfb9
mcstop+release: use ihkconfig release mem all
2017-11-20 17:06:01 +09:00
2af6d5115a
fix: depending arch futex_atomic_op_inuser() (a part of ARCH_DEP_8)
2017-11-20 16:42:47 +09:00
ac25c5e1e7
fix: depending arch in Makefile (POSTK_DEBUG_ARCH_DEP_1)
2017-11-20 14:45:18 +09:00
90c0355d90
add setting process of pgshift to remap_process_memory_range
...
refs #955
2017-11-20 14:17:03 +09:00
43230eb623
fix: checking the return code of fork() in Linux.
...
refs #906
2017-11-15 15:46:47 +09:00
f18dc8428d
fix: error code of perf_event_open, when unsupported event is specified.
...
refs #1030
2017-11-15 12:49:56 +09:00
ab53c8e0a4
execve: fix memory leak
...
refs #727
2017-11-09 16:44:31 +09:00
6c33e236d7
mcreboot: Fix umask for /proc and /sys files
2017-10-27 04:57:44 +09:00
85d36f1469
mcexec: check kernel version <= 3.10 for RHEL mcoverlayfs
2017-10-31 13:39:31 +09:00
0ecf31d896
modify:User space memory access(arm64)
1.4.0
2017-10-24 10:29:11 +09:00
08a625cc0d
modify:User space memory access
...
perf_event_open,futex,process_vm_readv,process_vm_writev,move_pages
2017-10-23 20:27:56 +09:00
12840601e1
support PERF_TYPE_{HARDWARE|HW_CACHE} in perf_event_open
...
refs #829
2017-10-20 23:10:20 +09:00
2ae6883a8b
mcreboot.sh, mcstop+release.sh: Fix retry loop of shutdown
2017-10-19 01:54:46 +09:00
d5629606c5
mcexec: -m: interpret as numactl -m (i.e., MPOL_BIND)
...
Conflicts:
executer/include/uprotocol.h
executer/user/mcexec.c
kernel/include/syscall.h
2017-10-18 16:54:34 +09:00
285059e504
mcexec: use -M for --mpol-threshold
...
Conflicts:
executer/user/mcexec.c
2017-10-18 16:44:49 +09:00
5b6d0a887c
Add ARM64 arch_rusage header
2017-10-18 09:23:08 +09:00
3573b8649e
Guard call to gencore and freecore
...
The gencore() and freecore() code in gencore.c is guarded by
POSTK_DEBUG_ARCH_DEP_18, so the call to these functions should
also be guarded, otherwise linking fails.
2017-10-18 09:20:52 +09:00
d7523cdd84
Remove assignment of ns_per_tsc in struct monitor
...
struct member seems to have been removed or moved to struct
global_rusage
2017-10-18 09:20:52 +09:00