Artifact 321d6db4476826d41772ec5456877894c50a3096:
- File unix/pterm.c — part of check-in [7f9a81d03e] at 2002-10-16 07:17:51 on branch trunk — Fix utmp and pty handling so that GTK never complains about running set[ug]id. All privs-requiring pty operations are done at the very start of the run, then privs are dropped before initialising GTK. Utmp is handled by forking a still-privileged subprocess at this point, and later asking it (through a pipe) to stamp utmp. The subprocess cleans up utmp on exit, which has the additional advantage that if the main pterm process suffers some sort of unexpected termination (up to and including SIGKILL) the subprocess can still mop up utmp. (user: simon size: 49603)
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.