introduction of mckernel_procfs_file_operations; fix /proc/self path resolution;
implementation of /proc/self/pagemap (LTP mmap12)
This commit is contained in:
committed by
Balazs Gerofi bgerofi@riken.jp
parent
815d907ca4
commit
d4ba4dc8b3
@@ -1072,7 +1072,7 @@ out:
|
||||
}
|
||||
ihk_mc_spinlock_unlock_noirq(&proc->vm->memory_range_lock);
|
||||
|
||||
if (!error && (flags & (MAP_POPULATE | MAP_LOCKED))) {
|
||||
if (!error && (flags & (MAP_POPULATE) || flags & (MAP_LOCKED))) {
|
||||
error = populate_process_memory(proc, (void *)addr, len);
|
||||
if (error) {
|
||||
ekprintf("sys_mmap:populate_process_memory"
|
||||
|
||||
Reference in New Issue
Block a user