[Patch]: Create Global Privilege

Corinna Vinschen cygwin-patches@cygwin.com
Tue Dec 2 09:26:00 GMT 2003


On Mon, Dec 01, 2003 at 10:55:46PM -0500, Pierre A. Humblet wrote:
> Also, the utmp/wtmp functions use mutexes to insure safe access.
> That creates two problems, particularly on servers:
> - When users have private copies of Cygwin with different mounts,
>   there can be several utmp/wtmp files. Having a global mutex isn't
>   helpful.
> - If the utmp/wtmp files are unique, a user may not be have the
>   privilege to create a global mutex, so that no mutual protection
>   is achieved.
> Both problems could be solved very simply by using file locking.
> Should I do that some day?

Sure, go ahead.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-patches mailing list