Commit Graph

  • 4946964ed0 update copyright notices NAKAMURA Gou 2015-03-27 14:50:09 +09:00
  • 5f19842a6a support for process_vm_readv()/process_vm_writev() Balazs Gerofi 2015-03-25 19:43:24 +09:00
  • 9271d5346d add ACSL annotation to cpu.c NAKAMURA Gou 2015-03-25 15:54:08 +09:00
  • 7bba05cfa4 Revise use of iov_base in ptrace_read_regset() and ptrace_write_regset(). Susumu Komae 2015-03-20 20:33:40 +09:00
  • c2a1f933e8 Set tid (instead of pid) for ptrace event message of PTRACE_EVENT_{FORK,VFORK,CLONE,VFORKDONE}. Specify 2nd argument as pid (instead of -1) of function findthread_and_lock(), to find tracee process in ptrace subroutines. (gdb testsuite gdb.base/watch_thread_num.exp) Susumu Komae 2015-03-20 13:22:00 +09:00
  • 055769254d implement mlockall()/munlockall() for LTP syscall NAKAMURA Gou 2015-03-12 16:28:57 +09:00
  • 786ae83380 add arch-dependent mman.h NAKAMURA Gou 2015-03-19 16:13:59 +09:00
  • 8c662c83be implement mincore(2) for LTP NAKAMURA Gou 2015-03-12 17:44:26 +09:00
  • 4698bc40c2 implement System V shared memory for LTP syscalls NAKAMURA Gou 2015-03-11 11:18:17 +09:00
  • f5d935b703 support signalfd4 step1 Tomoki Shirasawa 2015-03-18 17:35:43 +09:00
  • d53865ac5f change to check sequence of kill syscall, check sig num zero after uid checking Tomoki Shirasawa 2015-03-18 12:59:05 +09:00
  • 8934eb91a4 kill syscall check uid Tomoki Shirasawa 2015-03-17 15:04:36 +09:00
  • ed6d94a358 syscall slowdown when repeat fork/exit/wait (LTP fork13) Tomoki Shirasawa 2015-03-11 16:08:26 +09:00
  • fa923da0e3 add host PTE cleaning to execve(). refs #377 NAKAMURA Gou 2015-03-10 17:43:14 +09:00
  • 1f8265efbc check _PAGE_PWT and _PAGE_PCD directly instead of _PAGE_CACHE_WC Balazs Gerofi 2015-03-07 02:12:36 +09:00
  • b553de7435 supports PTRACE_GETREGSET, PTRACE_SETREGSET. supports PTRACE_GETFPREGS, PTRACE_SETFPREGS. Susumu Komae 2015-03-06 19:18:32 +09:00
  • 6a82412d64 modify procfs to read inactive thread's files NAKAMURA Gou 2015-03-04 20:06:01 +09:00
  • fa29c34995 expand the size of kstack 12 KiB NAKAMURA Gou 2015-03-05 14:09:39 +09:00
  • f84b5acf79 map entire buffer to read procfs NAKAMURA Gou 2015-03-04 20:06:27 +09:00
  • 8b24f60861 Combine range and memobj flags before arch_vrflag_to_ptattr() Balazs Gerofi 2015-03-05 16:40:14 +09:00
  • f82bb284bb Make pager and devobj debug messages optional Balazs Gerofi 2015-03-05 15:55:38 +09:00
  • bf12a5c45e Introduction of write-combined memory type mappings. Balazs Gerofi 2015-03-05 15:43:43 +09:00
  • ea5681232e x86 Page Attribute Table (PAT) MSR support. Balazs Gerofi 2015-03-05 15:28:29 +09:00
  • e6011be1af create area for to save fp regs Tomoki Shirasawa 2015-03-05 12:16:05 +09:00
  • 9946ccd6b1 pipe free fork is implemented (LTP fork09) Tomoki Shirasawa 2015-03-04 17:40:58 +09:00
  • daec7de828 implement /proc/stat NAKAMURA Gou 2015-01-14 18:48:43 +09:00
  • 9ad48083aa make PTRACE_POKETEXT use patch_process_vm() NAKAMURA Gou 2015-03-03 19:38:51 +09:00
  • 2eac58aab3 add patch_process_vm(). (in progress) NAKAMURA Gou 2015-03-03 19:25:05 +09:00
  • 22d8d169b6 change copy-out routines NAKAMURA Gou 2015-03-03 18:12:55 +09:00
  • 8db54c2637 make GPE on CPL0 cause panic NAKAMURA Gou 2015-03-03 17:30:34 +09:00
  • 063fa963c3 change copy-in routines NAKAMURA Gou 2015-03-03 17:14:38 +09:00
  • a6488adcc1 change parameter type of ihk_mc_pt_virt_to_phys() NAKAMURA Gou 2015-03-03 16:11:17 +09:00
  • 2239a6b09b modify page_fault_process() NAKAMURA Gou 2015-03-03 14:41:48 +09:00
  • 8c179d506a support PTRACE_ARCH_PRCTL. Susumu Komae 2015-03-03 14:22:57 +09:00
  • 377341ce5f change debug output in debug/int3 handler, for struct x86_user_context. Susumu Komae 2015-03-03 14:06:30 +09:00
  • 8caeba7cba support PTRACE_GETSIGINFO and PTRACE_SETSIGINFO Tomoki Shirasawa 2015-03-03 09:54:57 +09:00
  • 1d2f5d9893 set is_gpr_valid to initial user context NAKAMURA Gou 2015-02-27 13:44:59 +09:00
  • e4f47df3c3 initialize pstate, turbo mode and power/performace bias MSR registers Balazs Gerofi 2015-02-27 11:25:25 +09:00
  • 4751055ee4 make ptrace(2) use lookup_user_context() NAKAMURA Gou 2015-02-25 19:47:45 +09:00
  • 305ebfed0e add lookup_user_context(). refs #420 NAKAMURA Gou 2015-02-25 19:47:29 +09:00
  • b66b950129 add x86_sregs into x86_user_context NAKAMURA Gou 2015-02-25 18:25:39 +09:00
  • 4aa8ba2eef sort x86_basic_regs into user_regs_struct's order NAKAMURA Gou 2015-02-25 21:22:48 +09:00
  • fab2c2aa97 wrap x86_regs with x86_user_context NAKAMURA Gou 2015-02-25 13:49:44 +09:00
  • 026164eda4 fix PTRACE_ATTACH, PTRACE_DETACH, detach at tracer process terminated. tracee process may have no parent, increment/decrement refcount. Susumu Komae 2015-02-25 21:09:44 +09:00
  • e91d1e5b7b stack of signal handler is not 16 byte align Tomoki Shirasawa 2015-02-24 17:20:52 +09:00
  • 73743eeeb0 temporary fix for waiting tracee blocked Tomoki Shirasawa 2015-02-24 15:20:32 +09:00
  • c1c1fd578a modify file path of /proc files Tomoki Shirasawa 2015-02-24 11:33:49 +09:00
  • f35cc66d18 delete unused argument "ctx" from do_syscall support waitid option "WNOWAIT" Tomoki Shirasawa 2015-02-23 17:14:14 +09:00
  • d9cf1d49b1 support waitid send SIGCHLD to parent when SIGSTOP or SIGCONT received Tomoki Shirasawa 2015-02-22 20:05:30 +09:00
  • 3d426ada01 use remap_pfn_range() in rus_vm_fault() for kernel versions newer than 3.0 Balazs Gerofi 2015-02-19 13:52:55 -08:00
  • 0307f6a6cc impementation of sched_{setparam, getparam, setscheduler, getscheduler, get_priority_min, get_priority_max, rr_get_interval} system calls Balazs Gerofi 2015-02-19 11:13:13 -08:00
  • 0dee04f16b move parse_args() to after arch_init() NAKAMURA Gou 2015-02-18 20:39:10 +09:00
  • 0e98e87b95 change type of kprintf_lock() to "unsigned long" NAKAMURA Gou 2015-02-18 18:17:14 +09:00
  • d35e60c1a3 add init_boot_processor_local() for arch_start() NAKAMURA Gou 2015-02-18 17:24:22 +09:00
  • 037e17c4ed fix parsing of "osnum=" kargs NAKAMURA Gou 2014-12-24 11:34:15 +09:00
  • 2baf274dac fix PTRACE_O_TRACEFORK, PTRACE_O_TRACEVFORK and PTRACE_O_TRACECLONE. allocate debug registers area, for new process. (gdb testsuite gdb.base/inferior-died.exp) Susumu Komae 2015-02-18 16:20:23 +09:00
  • 3b04043f2a change to throw signal SIGILL to SIGSEGV when GPE Tomoki Shirasawa 2015-02-18 14:54:49 +09:00
  • c0edb6fe6f add new cpu state CPU_STATUS_RESERVED Tomoki Shirasawa 2015-02-18 13:46:08 +09:00
  • bb137bc9bb make brk region just follow data region NAKAMURA Gou 2015-02-17 18:09:10 +09:00
  • 16af976a71 support msync() system call. refs #382 NAKAMURA Gou 2014-07-09 14:19:26 +09:00
  • 6485578a7f sched_yield implementation Balazs Gerofi 2015-02-17 16:20:39 -08:00
  • d2d0fc6721 The mcexec command became executable from a command-line at the same time Tomoki Shirasawa 2015-02-17 18:33:38 +09:00
  • 9574a28a5f The same CPU is assigned to a different process. Tomoki Shirasawa 2015-02-17 18:27:46 +09:00
  • dbe4ec3247 support PTRACE_O_TRACECLONE and PTRACE_O_TRACEEXEC. Susumu Komae 2015-02-17 17:00:48 +09:00
  • 99debc548f detach traced process, when tracer process terminate. some fixes on PTRACE_DETACH. Susumu Komae 2015-02-17 16:58:29 +09:00
  • fa15f6b106 support PTRACE_SYSCALL. support PTRACE_O_TRACESYSGOOD. ptrace_report_exec() calls ptrace_report_signal(). Susumu Komae 2015-02-17 16:56:27 +09:00
  • 8568a73f33 traced process should stop by any signal except for SIGKILL, even if SIG_IGN. (LTP ptrace01) Susumu Komae 2015-02-17 16:51:29 +09:00
  • 8b57b2ee57 change signal handling at mcexec Tomoki Shirasawa 2015-02-15 17:54:11 +09:00
  • 9a36e7b84a restart waitpid if it returns with EINTR. Tomoki Shirasawa 2015-02-13 16:00:40 +09:00
  • d998691425 fix setpgid(0, 0) Tomoki Shirasawa 2015-02-13 13:51:00 +09:00
  • 8cdf70c500 Enable AVX extensions for processors that support it. Dave van Dresser 2015-02-12 17:51:50 -08:00
  • 0e0bc548f6 fix mcexec SIG_IGN Tomoki Shirasawa 2015-02-12 19:02:58 +09:00
  • d21ae28843 add dummy NUMA system calls. refs #405 NAKAMURA Gou 2015-02-10 20:53:56 +09:00
  • a4a806bef7 support vsyscall_getcpu() vsyscall. refs #385 NAKAMURA Gou 2015-02-10 15:59:23 +09:00
  • d30d8fe71c support getcpu() system call. refs #385 NAKAMURA Gou 2015-02-10 15:58:14 +09:00
  • a5bdd41c3d procfs: check parent entry to avoid page fault in procfs_exit() Balazs Gerofi 2015-01-31 22:27:04 -08:00
  • 5f5ab34559 support PTRACE_ATTACH. fix PTRACE_TRACEME, PTRACE_DETACH. Susumu Komae 2015-01-30 21:02:01 +09:00
  • b26fa4e87c wrong send signal to sender process when kill other process group (LTP kill10) Tomoki Shirasawa 2015-01-29 16:14:31 +09:00
  • bd5f43b119 support PTRACE_SINGLESTEP. support debug/int3 exception. Susumu Komae 2015-01-29 15:48:05 +09:00
  • f97f8dbab3 support PTRACE_PEEKTEXT and PTRACE_PEEKDATA. Susumu Komae 2015-01-29 15:02:15 +09:00
  • e30946f1f0 fix PTRACE_CONT may cause error. refs #369 Susumu Komae 2015-01-29 14:10:31 +09:00
  • c3ade864d9 fix PTRACE_PEEKUSER, PTRACE_POKEUSER, PTRACE_GETREGS. support PTRACE_SETREGS. In struct process, add 'unsigned long *ptrace_debugreg', instead of 'struct user *userp'. debug registers are read/written from/to ptrace_debugreg, save/restore in schedule(). most general registers are proc->uctx. fs_base is proc->thread.tlsblock_base. gs_base,ds,es,fs,gs and orig_rax are uncompleted. other members in 'struct user' are ignored, same as Linux implementation. Susumu Komae 2015-01-29 14:08:38 +09:00
  • 9c35935671 mcexec: fix memory allocation bug that crashes CentOS7 glibc bgerofi@riken.jp 2015-01-27 16:54:03 +09:00
  • ed33ee65b2 CentOS7 spinlock, procfs and vm_munmap support (i.e., Linux kernel 3.10) Balazs Gerofi 2015-01-20 02:02:46 +09:00
  • d04b5a09bd PTRACE_KILL omit sched_wakeup_process return Tomoki Shirasawa 2015-01-27 10:55:49 +09:00
  • 08cc31f9bf support setrlimits/getrlimits, however this fix is these syscalls only. checking resource process must implement it separately. Tomoki Shirasawa 2015-01-27 10:35:58 +09:00
  • cf2166f830 function enter_user_mode calls check_signal. Tomoki Shirasawa 2015-01-16 14:28:28 +09:00
  • 765de119dc support PTRACE_O_TRACEFORK, PTRACE_O_TRACEVFORK, PTRACE_O_TRACEVFORKDONE. to start with a SIGSTOP, do not set proc->ftn->status to PS_RUNNING in __runq_add_proc(). change vfork() set CLONE_VFORK. Susumu Komae 2015-01-14 10:43:18 +09:00
  • d46110b4d9 support PTRACE_DETACH. change getppid() to use proc->ftn->ppid_parent->pid, for ptraced process. Susumu Komae 2015-01-08 12:39:52 +09:00
  • 74f0aec478 skip copy_to_user() when r->ret is negative error number in mckernel_procfs_read(). Susumu Komae 2015-01-08 12:38:06 +09:00
  • e3eb7e68bc Fix need to modify ihk/cokernel/Makefile when a file has been added under mckernel/arch (Bug#365) Tomoki Shirasawa 2014-12-26 16:05:23 +09:00
  • 912b8a886c do_kill distinguish PTRACE_CONT from kill. Tomoki Shirasawa 2014-12-26 15:23:11 +09:00
  • e25d35a191 ihk_mc_init_ap(): cosmetics for reporting IKC, trampoline info Balazs Gerofi bgerofi@riken.jp 2014-12-25 11:05:52 +09:00
  • a9aad67541 IHK-SMP: boot scripts placeholder bgerofi@riken.jp 2014-12-25 11:02:47 +09:00
  • cd6e663f48 handle VM_RESERVED (non-existing since Linux 3.7.0) and do_mmap_pgoff() (unexported since Linux 3.5.0) in mcctrl's syscall.c Balazs Gerofi 2014-11-10 18:28:30 +09:00
  • 5f095b3952 McKernel IHK SMP-x86 support (build system and config files) Balazs Gerofi 2014-11-04 15:47:16 +09:00
  • 811a275176 build scripts: support for separate build and source directories bgerofi@riken.jp 2014-10-20 17:47:12 +09:00
  • b388f59ebd ihk_ikc_irq and ihk_ikc_irq_apicid bgerofi@riken.jp 2014-10-20 16:11:15 +09:00
  • ff47261337 receive trampoline addr via parameter of arch_start() bgerofi@riken.jp 2014-08-18 21:56:45 +09:00
  • a91bf9a13d ptrace: Make PTRACE_CONT/KILL debug print separated. Naoki Hamada 2014-10-17 14:20:22 +09:00