Re: /etc/passwd dependency of cygwin

2003-03-21 Thread Corinna Vinschen
On Fri, Mar 21, 2003 at 07:19:29PM -0800, Vishal Jain wrote: > If there is a way to disable nt security in cygwin on win2k then this > might work as security descriptor won't be created in that case. http://cygwin.com/cygwin-ug-net/using-cygwinenv.html Corinna -- Corinna Vinschen

Re: /etc/passwd dependency of cygwin

2003-03-21 Thread Vishal Jain
fopen doesn't work if I have my own implementation of seteuid. fopen call which goes to fhandler.cc:open-> security.cc:set_security_attribute-> security.cc:alloc_sd relies on uid to sid mapping in /etc/passwd or on the current uid set in the heap(which would be incorrect in my case as I have my o

Re: /etc/passwd dependency of cygwin

2003-03-18 Thread Igor Pechtchanski
On Tue, 18 Mar 2003, Vishal Jain wrote: > Hi, > How does cygwin library depend on uid's and gid's in /etc/passwd? > If I replace it with my custom /etc/passwd file and replace cygwin's > seteuid/geteuid calls with custom implementation, will my application work? > How does cygwin internally uses u

/etc/passwd dependency of cygwin

2003-03-18 Thread Vishal Jain
Hi, How does cygwin library depend on uid's and gid's in /etc/passwd? If I replace it with my custom /etc/passwd file and replace cygwin's seteuid/geteuid calls with custom implementation, will my application work? How does cygwin internally uses uid's and gid's? thanks, Vishal __