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
In the tty_verify_ctty function, if (n->pid_real != d->pid_real), then checkpoint fails. Why is this check necessary? A process that opens the ctty does not necessarily open the corresponding pts, and it can be allowed to be a different process. Moreover, it can also be correctly handled during restore. Therefore, I don't quite understand the scenario for this check.