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

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 uid's