hi all:
recently i’m working on make checkpoint on linux process and encountered a problem,it looks like that when i munmap memory map of the executable to current process,the symlink /proc/self/exe is dead.what i want is to make this symlink pointing to a other executable(the one for my resumed processs),is that possible?i tried delete it and recreate, permission denied. english is not my native language, i hope i’ve made my point,thanx
hi all: recently i’m working on make checkpoint on linux process and encountered a
Share
No.
/procis completely managed by the kernel and does not allow changes like that.But you may be able to start a new process (with
fork()perhaps) and map your memory snapshot into that.