This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]: Create Global Privilege


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]