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
63669b7f71
support /proc/pid/status for LTP mmap14
2015-03-28 14:20:07 +09:00
6a82412d64
modify procfs to read inactive thread's files
...
However, the following files can be read only if the corresponding
thread is in active.
- /proc/<PID>/mem
- /proc/<PID>/task/<TID>/mem
refs #371
2015-03-05 21:41:24 +09:00
f84b5acf79
map entire buffer to read procfs
...
Reading data from procfs file more than 4096 byte caused a buffer
overrun in McKernel because the buffer was always mapped in McKernel
4096 byte regardless of actual buffer size.
2015-03-05 20:30:33 +09:00
daec7de828
implement /proc/stat
...
only for sysconf(_SC_NPROCESSORS_ONLN). This enables Intel OpenMP
runtime to arrange threads with regard for CPU topology.
refs #291
2015-03-04 15:46:53 +09:00
d4ba4dc8b3
introduction of mckernel_procfs_file_operations; fix /proc/self path resolution;
...
implementation of /proc/self/pagemap (LTP mmap12)
2014-12-15 12:46:05 +09:00
3c24315f91
support for /proc/mcos%d/PID/maps (without file info) (LTP mlock03)
2014-12-05 16:29:20 +09:00
3fe7e39607
some variables definition are gathered to fork_tree_node from process.
...
- remove both-defined: pid, pgid, status
- move to fork_tree_node: tid
- make dummy fork_tree_node for idle_process.
2014-10-29 16:54:09 +09:00
6415559a81
procfs: use current cpu's syscall_channel
2014-10-10 16:20:38 +09:00
a7b0880a8d
Make findthread_and_lock take ihk_spinlock_t **
2014-09-23 12:03:48 +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
878ba35804
/proc/mcos?/<pid>/task/<tid>/stat support
2014-09-15 19:21:27 +09:00
95781d59e3
Fix for eof.
2014-09-05 17:15:54 +09:00
a06e5eb47e
Bug fixes.
2014-09-05 16:20:15 +09:00
0f95a84293
Migrated.
2014-09-04 14:58:04 +09:00
319590910a
Almost implemented.
2014-09-03 15:20:39 +09:00
3293bfaa1e
Fix for generalization.
2014-08-28 14:41:32 +09:00
cb4b00ba97
Added debug messages.
2014-08-28 09:16:50 +09:00
c783ec8e11
Implemented procfs.
2014-08-28 09:16:50 +09:00