You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The process start time (entry 22 in /proc/$PID/stat) is not restored faithfully.
This is a problem, b/c the software I'm trying to checkpoint/restore has a client that uses the pid + start time to check if it the server wasn't changed from under it.
Sadly it relies heavily on "ve" container object which is OpenVZ specific, but probably it would be not so hard to rework it to time-namespace based approach instead.
Add new field to task_struct (or some other per-task place if on task struct there is no place), e.g. start_boottime_timens, to show it in /proc/$pid/stat inside timens, outside we should probably show regular start_boottime
Make it adjustable, e.g. prctl_set_task_ct_fields via prctl (maybe restrict it to CAP_SYS_ADMIN, so that container user can't change it)
Read start time from proper context on dump and restore it on restore
Description
The process start time (entry 22 in /proc/$PID/stat) is not restored faithfully.
This is a problem, b/c the software I'm trying to checkpoint/restore has a client that uses the pid + start time to check if it the server wasn't changed from under it.
version info:
The text was updated successfully, but these errors were encountered: