Re: GTK+-1.2.9 Released



On Mon, 05 Mar 2001 17:47:24 GMT, "J. Ali Harlow" said:
> Slash'EM can't drop privileges before calling GTK+ because it will need to
> update score files, write out saved levels, and other associated files. This

Sure it can.  Open the files, save the file descriptor in a global variable,
and then drop privs before callling GTK+.  Pretty standard program
design.  Look at what BIND does - if you tell it to run as non-root, it
opens port 53 and THEN tosses the privs...

/Valdis




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]