* The eternal uid issue
@ 2014-07-23 8:01 D. Boland
2014-07-23 8:19 ` Linda Walsh
2014-07-23 9:14 ` The eternal uid issue Corinna Vinschen
0 siblings, 2 replies; 28+ messages in thread
From: D. Boland @ 2014-07-23 8:01 UTC (permalink / raw)
To: cygwin
Hi Cygwin lovers,
After some weeks of serious compiling, researching, understanding, fixing, testing
and compiling again, I managed to get the Sendmail source code compiled and working.
But I had to compromise in some critical areas. One of them is the uid issue.
* sendmail, procmail, mail.local assume that the id of the privileged user is '0'.
Within the current Cygwin DLL, this is '18'. So the maintainer of, let's say, the
procmail code has to change a constant, named ROOT_uid to be 18 if compiled in
cygwin. I had to do the same in Sendmails' own Mail Delivery Agent, 'mail.local'.
But that's no real fix. That's a work-around. Cygwin is supposed to emulate Linux,
so why not change the 'getuid' function to return '0' if the uid is '18'? This is
exactly what all Linux source code expects, so we would never have to worry about it
again.
Instead, maintainers constantly have to "correct" this "bug" in every new version of
their source code.
The general idea behind this is "never to break user space", where the programs are
seen as the users. Actually, it's Linus Torwalds's first rule of kernel programming
and one can read here how serious he is about this:
https://lkml.org/lkml/2012/12/23/75
Isn't it about time to make this our First Directive also?
Daniel
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-23 8:01 The eternal uid issue D. Boland
@ 2014-07-23 8:19 ` Linda Walsh
2014-07-23 8:34 ` D. Boland
2014-07-23 9:14 ` The eternal uid issue Corinna Vinschen
1 sibling, 1 reply; 28+ messages in thread
From: Linda Walsh @ 2014-07-23 8:19 UTC (permalink / raw)
To: cygwin
D. Boland wrote:
> But I had to compromise in some critical areas. One of them is the uid issue.
>
> * sendmail, procmail, mail.local assume that the id of the privileged user is '0'.
>
> Isn't it about time to make this our First Directive also?
>
>
I thought sendmail used capabilities?
Isn't it about time none of them used a fixed 'uid', but used capabilities?
I thought hard coding a Uid was going out with the dodo bird?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-23 8:19 ` Linda Walsh
@ 2014-07-23 8:34 ` D. Boland
2014-07-26 2:07 ` The deprecated uid issue: use caps Linda Walsh
0 siblings, 1 reply; 28+ messages in thread
From: D. Boland @ 2014-07-23 8:34 UTC (permalink / raw)
To: cygwin
Linda Walsh wrote:
>
> D. Boland wrote:
> > But I had to compromise in some critical areas. One of them is the uid issue.
> >
> > * sendmail, procmail, mail.local assume that the id of the privileged user is '0'.
> >
> > Isn't it about time to make this our First Directive also?
> >
> >
> I thought sendmail used capabilities?
>
> Isn't it about time none of them used a fixed 'uid', but used capabilities?
>
> I thought hard coding a Uid was going out with the dodo bird?
You didn't get the point. We create a kernel on which Linux software runs. We don't
dictate how software should be written.
Regards,
Daniel
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-23 8:01 The eternal uid issue D. Boland
2014-07-23 8:19 ` Linda Walsh
@ 2014-07-23 9:14 ` Corinna Vinschen
2014-07-23 11:31 ` D. Boland
1 sibling, 1 reply; 28+ messages in thread
From: Corinna Vinschen @ 2014-07-23 9:14 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 3622 bytes --]
On Jul 23 10:06, D. Boland wrote:
> Hi Cygwin lovers,
>
> After some weeks of serious compiling, researching, understanding, fixing, testing
> and compiling again, I managed to get the Sendmail source code compiled and working.
>
> But I had to compromise in some critical areas. One of them is the uid issue.
>
> * sendmail, procmail, mail.local assume that the id of the privileged user is '0'.
>
> Within the current Cygwin DLL, this is '18'. So the maintainer of, let's say, the
> procmail code has to change a constant, named ROOT_uid to be 18 if compiled in
> cygwin. I had to do the same in Sendmails' own Mail Delivery Agent, 'mail.local'.
The port of procmail is old (2004), and not changed ever since.
This patch is old and wrong.
> But that's no real fix. That's a work-around. Cygwin is supposed to emulate Linux,
> so why not change the 'getuid' function to return '0' if the uid is '18'? This is
> exactly what all Linux source code expects, so we would never have to worry about it
> again.
>
> Instead, maintainers constantly have to "correct" this "bug" in every new version of
> their source code.
>
> The general idea behind this is "never to break user space", where the programs are
> seen as the users. Actually, it's Linus Torwalds's first rule of kernel programming
> and one can read here how serious he is about this:
>
> https://lkml.org/lkml/2012/12/23/75
Doesn't work well with systemd...
> Isn't it about time to make this our First Directive also?
Not in relation to the uid. In contrast to Linux we don't have the one
single root user. We have potentially endless numbers of them, and one
of them, not necessarily SYSTEM, is used to run the service. Keep in
mind that there may also be company policy in place which disallows
installing services under specific accounts unless absolutely necessary.
Therefore, while we mostly strive to make Cygwin accommodate user
space, we're not able to do it related to the root uid.
The right thing to do is to add Cygwin-required tweaks in the most
unobtrusive way you can come up with and send them upstream. Cygwin is
by far not the only platform which requires upstream patches. Most
portable projects have platform-specifc code. Think of using pam for
authentication, socket options only available on some platforms and
more. There is nothing inherently bad or wrong with that and upstream
maintainers striving for portability will take platform-specific changes
if they are nicely written and the maintainer can be convinced of the
necessity.
As for the root checks, if you *must* check for an administrative user
account, check if the group 544 is in the user token (getgroups(3),
getgrouplist(3)).
Other than that, there's often code checking file ownership, along
the lines of
if (stat.st_uid != 0)
...
For Cygwin, convert these checks to something along the lines of
if (stat.st_uid != getuid ())
...
Because it's basically the same thing, while allowing to run the
service under any account.
Even better, try to convince the upstream maintainer to change these
tests into a platform-specific function call, for instance:
if (is_admin (stat.st_uid != 0))
...
int
is_admin (uid_t uid)
{
#ifdef __CYGWIN__
return [getgrouplist(uid, ...) contains group 544];
#else [other platform]
return [different test];
#else
return uid == 0;
#endif
}
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-23 9:14 ` The eternal uid issue Corinna Vinschen
@ 2014-07-23 11:31 ` D. Boland
2014-07-23 15:13 ` Larry Hall (Cygwin)
` (2 more replies)
0 siblings, 3 replies; 28+ messages in thread
From: D. Boland @ 2014-07-23 11:31 UTC (permalink / raw)
To: cygwin
Hi Corinna,
Corinna Vinschen wrote:
>
> > Isn't it about time to make this our First Directive also?
>
> Not in relation to the uid. In contrast to Linux we don't have the one
> single root user. We have potentially endless numbers of them, and one
> of them, not necessarily SYSTEM, is used to run the service. Keep in
> mind that there may also be company policy in place which disallows
> installing services under specific accounts unless absolutely necessary.
>
> Therefore, while we mostly strive to make Cygwin accommodate user
> space, we're not able to do it related to the root uid.
>
Thanks for your lengthly and detailed answer. I appreciate that. But don't you think
upstream maintainers will raise at least one eyebrow if we propose code that makes
any user who starts the program the root/admin user?
You suggest only those who are in the admin group. But that will soon be any service
that starts up.
It actually is my solution to running Sendmail: create the Sendmail user, called
'smmsp' and make it an Administrator, so it can impersonate users on my system.
But I don't like my solution, because this would mean I have to create an admin-user
for any Linux service that I install. So now my Cygwin setup would be crowded with
highly
privileged daemons, listening, waiting to get hacked.
The more elegant solution would be to create only one secondary privileged user,
let's call it 'root' ;-). Now Sendmail can start as root, switch to the totally
*unprivileged* 'smmsp' user and receive mail.
Of course the real bonus is that these unprivileged users wouldn't need passwords,
since they are impersonated, not logged on. These would consequently be
*super-secure* users, because it is impossible to login with an empty password.
Why is this related to the uid issue? I already tested the second solution. I found
out that if I assign my 'root' user the '0' id in /etc/passwd, it actually works. I
was delighted, because I could roll-back all these weird changes I put in the
Sendmail/procmail/mail.local source to fix the getuid != 0 problem.
If we go with this MS-imposed idea of "putting services in admin-context", Cygwin
security will be done for in the long run. Why not make the leap and show MS
admins/developers how it should be done?
Sincerely,
Daniel
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-23 11:31 ` D. Boland
@ 2014-07-23 15:13 ` Larry Hall (Cygwin)
2014-07-23 15:24 ` Corinna Vinschen
2014-07-23 16:20 ` Andrey Repin
2 siblings, 0 replies; 28+ messages in thread
From: Larry Hall (Cygwin) @ 2014-07-23 15:13 UTC (permalink / raw)
To: cygwin
On 07/23/2014 07:35 AM, D. Boland wrote:
<snip>
> It actually is my solution to running Sendmail: create the Sendmail user, called
> 'smmsp' and make it an Administrator, so it can impersonate users on my system.
> But I don't like my solution, because this would mean I have to create an admin-user
> for any Linux service that I install. So now my Cygwin setup would be crowded with
> highly
> privileged daemons, listening, waiting to get hacked.
>
> The more elegant solution would be to create only one secondary privileged user,
> let's call it 'root' ;-).
I believe what you're referring to here is 'cyg-server' which Cygwin already
has. Corinna referenced this here:
<https://cygwin.com/ml/cygwin/2014-07/msg00196.html>
--
Larry
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-23 11:31 ` D. Boland
2014-07-23 15:13 ` Larry Hall (Cygwin)
@ 2014-07-23 15:24 ` Corinna Vinschen
2014-07-24 6:48 ` D. Boland
2014-07-23 16:20 ` Andrey Repin
2 siblings, 1 reply; 28+ messages in thread
From: Corinna Vinschen @ 2014-07-23 15:24 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 3727 bytes --]
On Jul 23 13:35, D. Boland wrote:
> Corinna Vinschen wrote:
> > Not in relation to the uid. In contrast to Linux we don't have the one
> > single root user. We have potentially endless numbers of them, and one
> > of them, not necessarily SYSTEM, is used to run the service. Keep in
> > mind that there may also be company policy in place which disallows
> > installing services under specific accounts unless absolutely necessary.
> >
> > Therefore, while we mostly strive to make Cygwin accommodate user
> > space, we're not able to do it related to the root uid.
>
> Thanks for your lengthly and detailed answer. I appreciate that. But
> don't you think upstream maintainers will raise at least one eyebrow
> if we propose code that makes any user who starts the program the
> root/admin user? You suggest only those who are in the admin group.
> But that will soon be any service that starts up.
You're getting this wrong. Cygwin is not the OS. We do not make
every user an admin since we're in no position to do that. We can't
give the user any more rights the OS is already giving the user.
The idea of such a test is to make the test independent of the actual
uid. There are two cases. One is to check if the user has admin
rights to perform certain actions, the other is to check if a file
ownership is safe. A safe ownership is one where the file belongs
to the user running the service. On Linux or BSD systems that's
usually the root user, in our case it's some arbitrary user account.
The check is basically the same.
> It actually is my solution to running Sendmail: create the Sendmail
> user, called 'smmsp' and make it an Administrator, so it can
> impersonate users on my system. But I don't like my solution, because
> this would mean I have to create an admin-user for any Linux service
> that I install. So now my Cygwin setup would be crowded with highly
> privileged daemons, listening, waiting to get hacked.
That's what the cyg_server account is meant for. It's the one account
which has the right to change the user context even when using method 1
from the setuid overview of the User's Guide.
Other services don't need this permissions, they just have to have
the right to create certain objects. Cygserver is such a service,
for instance. It's perfectly fine for cygserver to run under SYSTEM
or, FWIW, any other account with local administrative privileges.
> The more elegant solution would be to create only one secondary
> privileged user, let's call it 'root' ;-). Now Sendmail can start as
> root, switch to the totally *unprivileged* 'smmsp' user and receive
> mail. Of course the real bonus is that these unprivileged users
> wouldn't need passwords, since they are impersonated, not logged on.
> These would consequently be *super-secure* users, because it is
> impossible to login with an empty password.
Same thing with cyg_server.
> Why is this related to the uid issue? I already tested the second
> solution. I found out that if I assign my 'root' user the '0' id in
> /etc/passwd, it actually works. I was delighted, because I could
> roll-back all these weird changes I put in the
> Sendmail/procmail/mail.local source to fix the getuid != 0 problem.
Yes, you can do that and it was always possible, but it requires
unnecessary user changes. Also, passwd and group files are going
to become entirely superfluous at one point, and there's not a
single account which is translated to uid 0 on the fly. There
simply isn't one.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-23 11:31 ` D. Boland
2014-07-23 15:13 ` Larry Hall (Cygwin)
2014-07-23 15:24 ` Corinna Vinschen
@ 2014-07-23 16:20 ` Andrey Repin
2014-07-23 16:27 ` Christopher Faylor
2 siblings, 1 reply; 28+ messages in thread
From: Andrey Repin @ 2014-07-23 16:20 UTC (permalink / raw)
To: D. Boland, cygwin
Greetings, D. Boland!
> Hi Corinna,
> Corinna Vinschen wrote:
>>
>> > Isn't it about time to make this our First Directive also?
>>
>> Not in relation to the uid. In contrast to Linux we don't have the one
>> single root user. We have potentially endless numbers of them, and one
>> of them, not necessarily SYSTEM, is used to run the service. Keep in
>> mind that there may also be company policy in place which disallows
>> installing services under specific accounts unless absolutely necessary.
>>
>> Therefore, while we mostly strive to make Cygwin accommodate user
>> space, we're not able to do it related to the root uid.
>>
> Thanks for your lengthly and detailed answer. I appreciate that. But don't you think
> upstream maintainers will raise at least one eyebrow if we propose code that makes
> any user who starts the program the root/admin user?
You obviously did not understand Corinna's reply.
And removed the part of reply that directly answer all your questions.
> You suggest only those who are in the admin group. But that will soon be any service
> that starts up.
That's essentially the same as starting services as root on *NIX system.
I fail to see the difference.
> It actually is my solution to running Sendmail: create the Sendmail user, called
> 'smmsp' and make it an Administrator, so it can impersonate users on my system.
> But I don't like my solution, because this would mean I have to create an admin-user
> for any Linux service that I install. So now my Cygwin setup would be crowded with
> highly privileged daemons, listening, waiting to get hacked.
Windows privilege model allow you to alleviate such concerns.
> The more elegant solution would be to create only one secondary privileged user,
> let's call it 'root' ;-). Now Sendmail can start as root, switch to the totally
> *unprivileged* 'smmsp' user and receive mail.
This is essentially what Cygwin is doing right now.
> Of course the real bonus is that these unprivileged users wouldn't need passwords,
> since they are impersonated, not logged on. These would consequently be
> *super-secure* users, because it is impossible to login with an empty password.
You'd be surprised.
> Why is this related to the uid issue?
Because there's no fixed UID. This is a core system difference, that you have
to live with.
> I already tested the second solution. I found out that if I assign my 'root'
> user the '0' id in /etc/passwd, it actually works. I was delighted, because
> I could roll-back all these weird changes I put in the
> Sendmail/procmail/mail.local source to fix the getuid != 0 problem.
/etc/passwd will soon be gone.
> If we go with this MS-imposed idea of "putting services in admin-context",
There's no such idea. You just imagined it.
> Cygwin security will be done for in the long run. Why not make the leap and
> show MS admins/developers how it should be done?
You really think they are all idiots?... Like, really?
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 23.07.2014, <20:01>
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-23 16:20 ` Andrey Repin
@ 2014-07-23 16:27 ` Christopher Faylor
2014-07-24 9:30 ` D. Boland
0 siblings, 1 reply; 28+ messages in thread
From: Christopher Faylor @ 2014-07-23 16:27 UTC (permalink / raw)
To: cygwin
On Wed, Jul 23, 2014 at 08:08:07PM +0400, Andrey Repin wrote:
>Greetings, D. Boland!
>> Cygwin security will be done for in the long run. Why not make the leap and
>> show MS admins/developers how it should be done?
>
>You really think they are all idiots?... Like, really?
Sure, why not. MS admins/developers are all idiots who are apparently
supposed to be taught by Cygwin developers who have been getting it
wrong for many years until being correct by the OP.
To the OP: If you want to start a dialog, do research and ask questions.
Don't just assume that you understand everything and can provide insight
that no one else has thought of.
cgf
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-23 15:24 ` Corinna Vinschen
@ 2014-07-24 6:48 ` D. Boland
2014-07-24 13:52 ` Corinna Vinschen
0 siblings, 1 reply; 28+ messages in thread
From: D. Boland @ 2014-07-24 6:48 UTC (permalink / raw)
To: cygwin
Hi Corinna,
Thanks for the reply.
Corinna Vinschen wrote:
>
> On Jul 23 13:35, D. Boland wrote:
> > Corinna Vinschen wrote:
> > > Not in relation to the uid. In contrast to Linux we don't have the one
> > > single root user. We have potentially endless numbers of them, and one
> > > of them, not necessarily SYSTEM, is used to run the service. Keep in
> > > mind that there may also be company policy in place which disallows
> > > installing services under specific accounts unless absolutely necessary.
> > >
> > > Therefore, while we mostly strive to make Cygwin accommodate user
> > > space, we're not able to do it related to the root uid.
> >
> > Thanks for your lengthly and detailed answer. I appreciate that. But
> > don't you think upstream maintainers will raise at least one eyebrow
> > if we propose code that makes any user who starts the program the
> > root/admin user? You suggest only those who are in the admin group.
> > But that will soon be any service that starts up.
>
> You're getting this wrong. Cygwin is not the OS. We do not make
> every user an admin since we're in no position to do that. We can't
> give the user any more rights the OS is already giving the user.
Yes, Cygwin is not the OS. But to the user-software, it re-presents the OS as if it
were Linux. That's what an emulator does.
>
> The idea of such a test is to make the test independent of the actual
> uid. There are two cases. One is to check if the user has admin
> rights to perform certain actions, the other is to check if a file
> ownership is safe. A safe ownership is one where the file belongs
> to the user running the service. On Linux or BSD systems that's
> usually the root user, in our case it's some arbitrary user account.
> The check is basically the same.
>
> > It actually is my solution to running Sendmail: create the Sendmail
> > user, called 'smmsp' and make it an Administrator, so it can
> > impersonate users on my system. But I don't like my solution, because
> > this would mean I have to create an admin-user for any Linux service
> > that I install. So now my Cygwin setup would be crowded with highly
> > privileged daemons, listening, waiting to get hacked.
>
> That's what the cyg_server account is meant for. It's the one account
> which has the right to change the user context even when using method 1
> from the setuid overview of the User's Guide.
>
> Other services don't need this permissions, they just have to have
> the right to create certain objects. Cygserver is such a service,
> for instance. It's perfectly fine for cygserver to run under SYSTEM
> or, FWIW, any other account with local administrative privileges.
>
> > The more elegant solution would be to create only one secondary
> > privileged user, let's call it 'root' ;-). Now Sendmail can start as
> > root, switch to the totally *unprivileged* 'smmsp' user and receive
> > mail. Of course the real bonus is that these unprivileged users
> > wouldn't need passwords, since they are impersonated, not logged on.
> > These would consequently be *super-secure* users, because it is
> > impossible to login with an empty password.
>
> Same thing with cyg_server.
>
> > Why is this related to the uid issue? I already tested the second
> > solution. I found out that if I assign my 'root' user the '0' id in
> > /etc/passwd, it actually works. I was delighted, because I could
> > roll-back all these weird changes I put in the
> > Sendmail/procmail/mail.local source to fix the getuid != 0 problem.
>
> Yes, you can do that and it was always possible, but it requires
> unnecessary user changes. Also, passwd and group files are going
> to become entirely superfluous at one point, and there's not a
> single account which is translated to uid 0 on the fly. There
> simply isn't one.
That's my point. All Linux software expects one. So Cygwin has to provide one.
Otherwise, the emulation breaks.
Sendmail, for instance, is filled to the brim with uid checks, all assuming that
there is a '0' account. Its whole idea of security is based around it. Below a
sample:
$ grep -r getuid *
sendmail/deliver.c: if (RealUid != 0 && RealUid !=
getuid())
sendmail/deliver.c: (int) getuid(), (int)
geteuid(),
sendmail/deliver.c: ret = safefile(m->m_mailer, getuid(),
getgid(),
sendmail/deliver.c: (int) getuid(), (int) geteuid(),
sendmail/main.c: RealUid = getuid();
sendmail/main.c: (geteuid() != getuid() || getegid() !=
getgid()));
sendmail/main.c: (int) geteuid(), (int) getuid(),
sendmail/main.c: (int) geteuid(), (int) getuid());
sendmail/main.c: (int) geteuid(), (int) getuid());
sendmail/main.c: if (dp == EX_OK && UseMSP && (geteuid() == 0 ||
getuid() == 0))
sendmail/main.c: (int) getuid(), (int) getgid(),
sendmail/main.c: (getuid() != RunAsUid &&
sendmail/main.c: (to_real_uid || geteuid() == 0 || getuid() ==
0)))
sendmail/main.c: getuid() != 0 && geteuid() != 0)
sendmail/main.c: (int) geteuid(), (int) getuid(),
$ grep -r setuid *
sendmail/deliver.c: if (new_euid != geteuid() &&
setuid(new_euid) < 0 && suidwarn)
sendmail/deliver.c: syserr("openmailer:
setuid(%ld) failed",
sendmail/deliver.c: if (setuid(new_ruid) < 0 &&
suidwarn)
sendmail/deliver.c: syserr("openmailer:
setuid(%ld) failed",
sendmail/deliver.c: /* we have to open the data file BEFORE setuid() */
sendmail/deliver.c: if (setuid(RealUid) < 0 && suidwarn)
sendmail/deliver.c: syserr("mailfile: setuid(%ld) failed",
(long) RealUid);
sendmail/deliver.c: (void) setuid(RealUid);
sendmail/main.c: if (setuid(new_uid) < 0)
sendmail/main.c: syserr("main: setuid(%d) failed", (int)
new_uid);
sendmail/main.c: (void) setuid(RealUid);
sendmail/main.c: syserr("drop_privileges:
second setuid(%d) attempt failed",
sendmail/main.c: syserr("drop_privileges: setuid(%d)
failed",
sendmail/main.c: if (RunAsUid != 0 && setuid(0) == 0)
sendmail/main.c: ** allows a non-root process to override
setuid()
sendmail/main.c: syserr("drop_privileges: setuid(0) succeeded
(when it should not)");
sendmail/main.c: else if (RunAsUid != euid && setuid(euid) == 0)
sendmail/main.c: ** if a non-root effective-uid calls
setuid(real-uid)
sendmail/readcf.c: bool can_setuid = RunAsUid == 0;
sendmail/readcf.c: if (can_setuid)
sendmail/readcf.c: else if (can_setuid)
sendmail/readcf.c: if (can_setuid || EffGid ==
runasgid)
sendmail/readcf.c: else if (can_setuid || EffGid ==
gr->gr_gid)
These greps are only a small sample. Changing all these lines of code would be
insane. I would instantly introduce bugs, which will haunt me until I finally decide
to rewrite the whole thing. This is *not* how emulating works.
In your previous mail, you propose the following function to check for 'root'
privileges, which an upstream maintainer could put in his code:
int
is_admin (uid_t uid)
{
#ifdef __CYGWIN__
return [getgrouplist(uid, ...) contains group 544];
#else [other platform]
return [different test];
#else
return uid == 0;
#endif
}
But this only introduces a new function which she has to put into multiple locations
of the original code. So again, why not just modify the 'getuid' function in
cygwin1.dll to return '0' if the current user is actually SYSTEM or one of the
administrators?
Then you have rock-solid emulation. I would not have to modify a single line of
code.
Sincerely,
Daniel
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-23 16:27 ` Christopher Faylor
@ 2014-07-24 9:30 ` D. Boland
2014-07-24 13:20 ` Andrey Repin
0 siblings, 1 reply; 28+ messages in thread
From: D. Boland @ 2014-07-24 9:30 UTC (permalink / raw)
To: cygwin
Hi Christopher,
Thanks for your reply.
Christopher Faylor wrote:
>
> On Wed, Jul 23, 2014 at 08:08:07PM +0400, Andrey Repin wrote:
> >Greetings, D. Boland!
> >> Cygwin security will be done for in the long run. Why not make the leap and
> >> show MS admins/developers how it should be done?
> >
> >You really think they are all idiots?... Like, really?
>
> Sure, why not. MS admins/developers are all idiots who are apparently
> supposed to be taught by Cygwin developers who have been getting it
> wrong for many years until being correct by the OP.
>
> To the OP: If you want to start a dialog, do research and ask questions.
> Don't just assume that you understand everything and can provide insight
> that no one else has thought of.
>
> cgf
I didn't say 'idiots', but I did LOL at Andrey's suggestion. Andrey, I'm beginning
to like you. By the way, your english really isn't that bad.
What I meant was that MS dicided to take away impersonation privileges from the
SYSTEM user, without educating admins/developers about the new model or alternatives
for SYSTEM.
I searched the web extensively for an explanation on the newly imposed restriction.
I didn't find one yet. Only vague advice to not start services using the local
System account:
"Minimize the use of the Local System account on the site servers and site systems
by not installing other services that use the Local System account. This ensures
that other processes cannot take advantage of the enhanced privileges of the
systemÂs computer account, accessing Configuration Manager 2007 files and data
through those other systems."
--
source: http://technet.microsoft.com/en-us/library/bb680595.aspx
So I have to assume that it was to enhance Windows security. That is not
far-fetched, since the SYSTEM "user" is totally unrestricted and not suited to be
exposed directly to users from the outside.
I also have to assume that what they mean by "not installing other services that use
the Local System account" is to create a new user and running a service on behalf of
it.
Here's how they explain how to configure MS SQL Server (which uses impersonation),
but without explaining the underlying security model for services:
http://msdn.microsoft.com/en-us/library/ms143504.aspx
The only reference I can find about the service security model are the terms
"minimum rights" and "minimum privileges".
In Linux, the daemon security model is well-known and can be implemented by running
as an 'unprivileged user'. Sendmail uses this idea extensively.
Again, the only option I have at this moment is to run the Sendmail user (smmsp) as
an Administrator, so it can do impersonation. But this does *not* constitute
'minimum privileges', nor does this make the Sendmail user run as an 'unprivileged
user'.
The preferred solution is to only *start* Sendmail with a privileged user, let's say
'cyg_server'. Now Sendmail can switch to the 'smmsp' user and be running totally
unprivileged, only having access to its mail queue directory.
But after configuring Sendmail this way, it starts to complain about not having
access permissions, because it detects it was not started with the root user (getuid
!= 0).
So, my original question was: can the Cygwin function 'getuid' be made to return '0'
if the program is running as the SYSTEM user? But because SYSTEM cannot be used
anymore, Corinna suggests to use 'cyg_server' instead and put checks for
administrator rights in the Sendmail source.
In my reply to her in this thread, I rephrased my question: can the Cygwin function
'getuid' be made to return '0' if the program is running as the SYSTEM user or is
running with administrator rights?
Cincerely,
Daniel
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-24 9:30 ` D. Boland
@ 2014-07-24 13:20 ` Andrey Repin
0 siblings, 0 replies; 28+ messages in thread
From: Andrey Repin @ 2014-07-24 13:20 UTC (permalink / raw)
To: D. Boland, cygwin
Greetings, D. Boland!
> What I meant was that MS dicided to take away impersonation privileges from the
> SYSTEM user, without educating admins/developers about the new model or alternatives
> for SYSTEM.
There's no "model", there's "rights" or "capabilities", or "privileges".
> I searched the web extensively for an explanation on the newly imposed restriction.
> I didn't find one yet.
Because there's none.
> Only vague advice to not start services using the local System account:
> "Minimize the use of the Local System account on the site servers and site systems
> by not installing other services that use the Local System account. This ensures
> that other processes cannot take advantage of the enhanced privileges of the
> systems computer account, accessing Configuration Manager 2007 files and data
> through those other systems."
Exactly that. What is unclear?
> So I have to assume that it was to enhance Windows security.
It's to enhance operating security of default installations. "Windows
security" as a "model" isn't changed in even slightest way.
> That is not far-fetched, since the SYSTEM "user" is totally unrestricted and
> not suited to be exposed directly to users from the outside.
> I also have to assume that what they mean by "not installing other services that use
> the Local System account" is to create a new user and running a service on behalf of
> it.
> Here's how they explain how to configure MS SQL Server (which uses impersonation),
> but without explaining the underlying security model for services:
> http://msdn.microsoft.com/en-us/library/ms143504.aspx
> The only reference I can find about the service security model are the terms
> "minimum rights" and "minimum privileges".
It's not "model" again. It's privilege separation.
> In Linux, the daemon security model is well-known and can be implemented by running
> as an 'unprivileged user'. Sendmail uses this idea extensively.
That's no different here. The point you miss is that in Windows you don't have
single "privileged user", which is just a long synonym for "root" in Linux
world. You have exactly "privileged users", as in "users that have privileges
above and beyond".
> Again, the only option I have at this moment is to run the Sendmail user (smmsp) as
> an Administrator, so it can do impersonation.
You contradicting yourself. Mere lines above you said your Linux user is
unprivileged, now you want to do impersonation. Which is only possible for
privileged user.
> But this does *not* constitute 'minimum privileges', nor does this make the
> Sendmail user run as an 'unprivileged user'.
That because... see above.
> The preferred solution is to only *start* Sendmail with a privileged user, let's say
> 'cyg_server'. Now Sendmail can switch to the 'smmsp' user and be running totally
> unprivileged, only having access to its mail queue directory.
Right.
> But after configuring Sendmail this way, it starts to complain about not having
> access permissions, because it detects it was not started with the root user (getuid
> != 0).
Look, here you have a problem, that you don't want to understand it seems.
Checking for 'privileged user' is not the same as checking for 'uid == 0'.
> So, my original question was: can the Cygwin function 'getuid' be made to return '0'
No. A blatant and angry one. There's more systems, than Linux, and not all of
them employ same security model, nor their model can be closely approximated
to the one in Linux.
> if the program is running as the SYSTEM user? But because SYSTEM cannot be used
> anymore, Corinna suggests to use 'cyg_server' instead and put checks for
> administrator rights in the Sendmail source.
> In my reply to her in this thread, I rephrased my question: can the Cygwin function
> 'getuid' be made to return '0'
"Can", "will" and "want" (or in our case "should") are three completely
different terms. The fact their areas intersect sometimes is a complete
coincidence.
> if the program is running as the SYSTEM user or is
> running with administrator rights?
No. If you want to do the right thing, do it right.
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 24.07.2014, <16:05>
Sorry for my terrible english...
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-24 6:48 ` D. Boland
@ 2014-07-24 13:52 ` Corinna Vinschen
2014-07-24 21:38 ` D. Boland
0 siblings, 1 reply; 28+ messages in thread
From: Corinna Vinschen @ 2014-07-24 13:52 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 1819 bytes --]
On Jul 24 08:52, D. Boland wrote:
> In your previous mail, you propose the following function to check for 'root'
> privileges, which an upstream maintainer could put in his code:
>
> int
> is_admin (uid_t uid)
> {
> #ifdef __CYGWIN__
> return [getgrouplist(uid, ...) contains group 544];
> #else [other platform]
> return [different test];
> #else
> return uid == 0;
> #endif
> }
>
> But this only introduces a new function which she has to put into multiple locations
> of the original code. So again, why not just modify the 'getuid' function in
> cygwin1.dll to return '0' if the current user is actually SYSTEM or one of the
> administrators?
>
> Then you have rock-solid emulation. I would not have to modify a single line of
> code.
You're kidding, right? What about code like this:
struct stat st;
stat("foo", &st);
if (st.st_uid != getuid ())
/*error*/
else
/*do something*/
I'm not saying that this is overly elegant coding, but just as you
expect that getuid() returns 0 for any admin, other applications will
expect that getuid() reflects reality.
Why don't you just override getuid in your application to serve the
applications needs?
#ifdef __CYGWIN__
#define getuid() CYG_getuid()
#endif
[...]
#ifdef __CYGWIN__
#undef getuid
uid_t
CYG_getuid ()
{
/* Return 0 for any admin user. */
if (/*getgroups() contains group 544*/)
return 0;
return getuid ();
}
But be careful. Just because there are multiple users with admin
permissions, that doesn't mean they all want their mail in the same
mailbox for user 0...
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-24 13:52 ` Corinna Vinschen
@ 2014-07-24 21:38 ` D. Boland
2014-07-24 22:18 ` Jeffrey Altman
2014-07-25 12:42 ` Corinna Vinschen
0 siblings, 2 replies; 28+ messages in thread
From: D. Boland @ 2014-07-24 21:38 UTC (permalink / raw)
To: cygwin
Hi Corinna,
Corinna Vinschen wrote:
> > But this only introduces a new function which she has to put into multiple locations
> > of the original code. So again, why not just modify the 'getuid' function in
> > cygwin1.dll to return '0' if the current user is actually SYSTEM or one of the
> > administrators?
> >
> > Then you have rock-solid emulation. I would not have to modify a single line of
> > code.
>
> You're kidding, right?
Haha. I must admit that I was not kidding. I got stuck with the idea that "there can
only be one".
> What about code like this:
>
> struct stat st;
> stat("foo", &st);
> if (st.st_uid != getuid ())
> /*error*/
> else
> /*do something*/
>
> I'm not saying that this is overly elegant coding, but just as you
> expect that getuid() returns 0 for any admin, other applications will
> expect that getuid() reflects reality.
>
> Why don't you just override getuid in your application to serve the
> applications needs?
>
> #ifdef __CYGWIN__
> #define getuid() CYG_getuid()
> #endif
>
> [...]
>
> #ifdef __CYGWIN__
> #undef getuid
> uid_t
> CYG_getuid ()
> {
> /* Return 0 for any admin user. */
> if (/*getgroups() contains group 544*/)
> return 0;
> return getuid ();
> }
>
> But be careful. Just because there are multiple users with admin
> permissions, that doesn't mean they all want their mail in the same
> mailbox for user 0...
Thanks for the overloading code. I already tested it. Now I can leave the Sendmail
code (almost) unchanged. Thanks also for the time you put into this. I hope the
RedHat people pay you well.
I have Sendmail ready to be released, but only the 'crude' version (running as an
admin user). I'd like to go for the preferred solution (starting as admin, switching
to unprivileged). The uid issue is sorted. But to get it there, I have one final
problem to solve.
Sendmail checks if the user's home directories are group- or world writable. It does
this with 'stat'. If Sendmail is running in 'crude' mode (main program and children
running as the Sendmail 'smmsp' user, made admin), stat returns the right file mode
for my home directory (rwxr-xr-x). The email is delivered.
If I have Sendmail running in preferred mode (main program as cyg_server, children
running as 'smmsp', removed from admin group), stat returns the wrong mode
(rwxrwxrwx). As a consequence, Sendmail refuses to deliver email.
Can I do anything about this?
Cincerely,
Daniel
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-24 21:38 ` D. Boland
@ 2014-07-24 22:18 ` Jeffrey Altman
2014-07-25 12:42 ` Corinna Vinschen
1 sibling, 0 replies; 28+ messages in thread
From: Jeffrey Altman @ 2014-07-24 22:18 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 3602 bytes --]
On 7/24/2014 5:42 PM, D. Boland wrote:
> Hi Corinna,
>
> Corinna Vinschen wrote:
>> But be careful. Just because there are multiple users with admin
>> permissions, that doesn't mean they all want their mail in the same
>> mailbox for user 0...
Things are actually worse than Corinna and others have described. The
SYSTEM account is a built-in local machine account that by default is
granted certain permissions but those permissions are configurable.
There is a built-in Administrator account which everyone is taught to
never use
There are two default groups "Administrators" and "Domain
Administrators" whose members are considered to be administrators but
whose logon sessions run in a restricted mode which is tighter in many
regards than standard users UNLESS the process running as that user is
granted "elevated" access.
Simply working off the user's SID or GIDs to make decisions are often
going to result in failures that appear to your users as unpredictable.
> Thanks for the overloading code. I already tested it. Now I can leave the Sendmail
> code (almost) unchanged. Thanks also for the time you put into this. I hope the
> RedHat people pay you well.
>
> I have Sendmail ready to be released, but only the 'crude' version (running as an
> admin user). I'd like to go for the preferred solution (starting as admin, switching
> to unprivileged). The uid issue is sorted. But to get it there, I have one final
> problem to solve.
On all modern versions of Windows the accounts that are members of the
Administrators and Domain Administrators accounts are going to run
unprivileged.
In the Windows world background daemons (aka services) should be
assigned their own service account that is granted the minimum set of
privileges required. Windows permissions are much more fine grained
than POSIX and this gives you a great deal of control.
Shedding privileges can be done by a privileged process by replacing its
process (or thread access tokens) with a more restricted version.
> Sendmail checks if the user's home directories are group- or world writable. It does
> this with 'stat'. If Sendmail is running in 'crude' mode (main program and children
> running as the Sendmail 'smmsp' user, made admin), stat returns the right file mode
> for my home directory (rwxr-xr-x). The email is delivered.
On Windows file systems (as with many UNIX network file systems, think
AFS as one example) the UNIX mode is not going to have much value.
What matters are the entries in the access control list and that is what
should be checked and manipulated. Cygwin can't turn a non-POSIX file
system into a POSIX file system no matter how hard it tries.
> If I have Sendmail running in preferred mode (main program as cyg_server, children
> running as 'smmsp', removed from admin group), stat returns the wrong mode
> (rwxrwxrwx). As a consequence, Sendmail refuses to deliver email.
The UNIX mode cannot describe the fine grained permissions of the access
control language for the file system.
> Can I do anything about this?
Other members of this group might have some additional suggestions on
how to remove checks but if you really want secure delivery of e-mail on
a Windows file system you will need to write code that is capable of
understanding the capabilities of the file system. Just as you would on
UNIX if the home directory was in a network file system that relied upon
GSS/Kerberos network credentials and Access Control Lists instead of
UNIX mode for access control.
Jeffrey Altman
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4529 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-24 21:38 ` D. Boland
2014-07-24 22:18 ` Jeffrey Altman
@ 2014-07-25 12:42 ` Corinna Vinschen
2014-07-25 12:47 ` Corinna Vinschen
2014-07-28 8:03 ` D. Boland
1 sibling, 2 replies; 28+ messages in thread
From: Corinna Vinschen @ 2014-07-25 12:42 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]
On Jul 24 23:42, D. Boland wrote:
> [...]
> Sendmail checks if the user's home directories are group- or world
> writable. It does this with 'stat'. If Sendmail is running in 'crude'
> mode (main program and children running as the Sendmail 'smmsp' user,
> made admin), stat returns the right file mode for my home directory
> (rwxr-xr-x). The email is delivered.
>
> If I have Sendmail running in preferred mode (main program as
> cyg_server, children running as 'smmsp', removed from admin group),
> stat returns the wrong mode (rwxrwxrwx). As a consequence, Sendmail
> refuses to deliver email.
>
> Can I do anything about this?
That shouldn't happen. Unless your home dir is on FAT or FAT32
and you're using the wrong umask. For a start, can you try this:
Login as user smmsp twice, once with admin privs, once without.
Each time, run the following command:
$ strace -o stat.trace stat <your home dir>
And send the output of stat, as well as the two generated trace files
here. This might give us a clue.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-25 12:42 ` Corinna Vinschen
@ 2014-07-25 12:47 ` Corinna Vinschen
2014-07-25 14:01 ` D. Boland
2014-07-28 8:03 ` D. Boland
1 sibling, 1 reply; 28+ messages in thread
From: Corinna Vinschen @ 2014-07-25 12:47 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 1415 bytes --]
On Jul 25 14:42, Corinna Vinschen wrote:
> On Jul 24 23:42, D. Boland wrote:
> > [...]
> > Sendmail checks if the user's home directories are group- or world
> > writable. It does this with 'stat'. If Sendmail is running in 'crude'
> > mode (main program and children running as the Sendmail 'smmsp' user,
> > made admin), stat returns the right file mode for my home directory
> > (rwxr-xr-x). The email is delivered.
> >
> > If I have Sendmail running in preferred mode (main program as
> > cyg_server, children running as 'smmsp', removed from admin group),
> > stat returns the wrong mode (rwxrwxrwx). As a consequence, Sendmail
> > refuses to deliver email.
> >
> > Can I do anything about this?
>
> That shouldn't happen. Unless your home dir is on FAT or FAT32
> and you're using the wrong umask. For a start, can you try this:
>
> Login as user smmsp twice, once with admin privs, once without.
> Each time, run the following command:
>
> $ strace -o stat.trace stat <your home dir>
>
> And send the output of stat, as well as the two generated trace files
> here. This might give us a clue.
Oh, hang on. Is this using the default setuid method 1 and is your
home dir on a remote share, by any chance?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-25 12:47 ` Corinna Vinschen
@ 2014-07-25 14:01 ` D. Boland
0 siblings, 0 replies; 28+ messages in thread
From: D. Boland @ 2014-07-25 14:01 UTC (permalink / raw)
To: cygwin
Corinna Vinschen wrote:
> Oh, hang on. Is this using the default setuid method 1 and is your
> home dir on a remote share, by any chance?
No. All file locations are local (C:\). I'll send you the output later on.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The deprecated uid issue: use caps
2014-07-23 8:34 ` D. Boland
@ 2014-07-26 2:07 ` Linda Walsh
2014-07-26 13:29 ` D. Boland
0 siblings, 1 reply; 28+ messages in thread
From: Linda Walsh @ 2014-07-26 2:07 UTC (permalink / raw)
To: cygwin
D. Boland wrote:
> Linda Walsh wrote:
>> D. Boland wrote:
>>> But I had to compromise in some critical areas. One of them is the uid issue.
>>>
>>> * sendmail, procmail, mail.local assume that the id of the privileged user is '0'.
>>>
>>> Isn't it about time to make this our First Directive also?
>>>
>>>
>> I thought sendmail used capabilities?
>>
>> Isn't it about time none of them used a fixed 'uid', but used capabilities?
>>
>> I thought hard coding a Uid was going out with the dodo bird?
>
> You didn't get the point. We create a kernel on which Linux software runs. We don't
> dictate how software should be written.
You are missing the point.
MS privilege model is the MS version of the linux capability model.
MS didn't get it wrong, linux has been slow to adopt, but MS had linux
capabilities 10 years before linux did.
Several other people have tried to explain that the way to go is to use
the "minimum priviledge model".
For example, almost ALL user have the "unreadable directory traversal"
priv/capability.
To enforce it cost alot in execution time on Windows (as it would under
cygwin).
Another priviledge is to "impersonate" another user; sendmail would
likely need such a privilege. Another is to ignore file-permissions.
It would be questionable whether or not sendmail needed that.
Sendmail was using capabilities back in 2000 when I brought a basic
"non-reciprocal action" bug in the capability code to the attention
of Ted Tso, he told me and others that I didn't know what I was talking
about and they were following POSIX and my "find" was irrelevant under
POSIX.
About 10 days later there was a day-zero exploit involving the bug
in the defective code using sendmail's capability usage as the vector.
The result was kernel caps being disabled for the next few years until
the cap-code could be reviewed by more eyes and knew what to look for.
So I'm pretty sure sendmail has had code to extensively run solely off
of capabilities and has had it for some time. I'd be surprised if it
was removed.
Linux software that uses the capability model is likely to not have
these problems. But saying that any random linux software with security
bugs
from the past should work on cygwin, seems like a ridiculous stance to
take.
You can set capabilities on files processes and network sockets. Linux file
systems with "extended attributes" or "alternate data forks" (2 names
for the
same thing), can and do support "SETCAP" on linux files that works just
like SETUID, but for capabilities.
MS only supports the capability model and uses it to implement their
Admin or privileged user model. They don't support the less secure setuid
model that linux is moving away from.
Does this help clarify the issue ?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The deprecated uid issue: use caps
2014-07-26 2:07 ` The deprecated uid issue: use caps Linda Walsh
@ 2014-07-26 13:29 ` D. Boland
0 siblings, 0 replies; 28+ messages in thread
From: D. Boland @ 2014-07-26 13:29 UTC (permalink / raw)
To: cygwin
Hi Linda,
Linda Walsh wrote:
>
> D. Boland wrote:
> > Linda Walsh wrote:
> >> D. Boland wrote:
> >>> But I had to compromise in some critical areas. One of them is the uid issue.
> >>>
> >>> * sendmail, procmail, mail.local assume that the id of the privileged user is '0'.
> >>>
> >>> Isn't it about time to make this our First Directive also?
> >>>
> >>>
> >> I thought sendmail used capabilities?
> >>
> >> Isn't it about time none of them used a fixed 'uid', but used capabilities?
> >>
> >> I thought hard coding a Uid was going out with the dodo bird?
> >
> > You didn't get the point. We create a kernel on which Linux software runs. We don't
> > dictate how software should be written.
> You are missing the point.
>
> MS privilege model is the MS version of the linux capability model.
>
> MS didn't get it wrong, linux has been slow to adopt, but MS had linux
> capabilities 10 years before linux did.
>
> Several other people have tried to explain that the way to go is to use
> the "minimum priviledge model".
>
> For example, almost ALL user have the "unreadable directory traversal"
> priv/capability.
>
> To enforce it cost alot in execution time on Windows (as it would under
> cygwin).
>
> Another priviledge is to "impersonate" another user; sendmail would
> likely need such a privilege. Another is to ignore file-permissions.
> It would be questionable whether or not sendmail needed that.
>
> Sendmail was using capabilities back in 2000 when I brought a basic
> "non-reciprocal action" bug in the capability code to the attention
> of Ted Tso, he told me and others that I didn't know what I was talking
> about and they were following POSIX and my "find" was irrelevant under
> POSIX.
> About 10 days later there was a day-zero exploit involving the bug
> in the defective code using sendmail's capability usage as the vector.
> The result was kernel caps being disabled for the next few years until
> the cap-code could be reviewed by more eyes and knew what to look for.
>
> So I'm pretty sure sendmail has had code to extensively run solely off
> of capabilities and has had it for some time. I'd be surprised if it
> was removed.
>
> Linux software that uses the capability model is likely to not have
> these problems. But saying that any random linux software with security
> bugs
> from the past should work on cygwin, seems like a ridiculous stance to
> take.
>
> You can set capabilities on files processes and network sockets. Linux file
> systems with "extended attributes" or "alternate data forks" (2 names
> for the
> same thing), can and do support "SETCAP" on linux files that works just
> like SETUID, but for capabilities.
>
> MS only supports the capability model and uses it to implement their
> Admin or privileged user model. They don't support the less secure setuid
> model that linux is moving away from.
>
> Does this help clarify the issue ?
Thanks for disagreeing. You are completely right. Sendmail seems to demand a much
more restrictive impersonation policy than Windows offers. That's why I can't get
the thing to work. It constantly tests if certain actions are allowed and if so, it
just refuses to deliver e-mail.
I'll look into this capabilities thing, but I do not intend to change anything
significant in the Sendmail code. Maybe the folks at Proofpoint will switch to it
one day.
Daniel
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-25 12:42 ` Corinna Vinschen
2014-07-25 12:47 ` Corinna Vinschen
@ 2014-07-28 8:03 ` D. Boland
2014-07-28 9:14 ` Corinna Vinschen
1 sibling, 1 reply; 28+ messages in thread
From: D. Boland @ 2014-07-28 8:03 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 2557 bytes --]
Hi Corinna,
Corinna Vinschen wrote:
>
> On Jul 24 23:42, D. Boland wrote:
> > [...]
> > Sendmail checks if the user's home directories are group- or world
> > writable. It does this with 'stat'. If Sendmail is running in 'crude'
> > mode (main program and children running as the Sendmail 'smmsp' user,
> > made admin), stat returns the right file mode for my home directory
> > (rwxr-xr-x). The email is delivered.
> >
> > If I have Sendmail running in preferred mode (main program as
> > cyg_server, children running as 'smmsp', removed from admin group),
> > stat returns the wrong mode (rwxrwxrwx). As a consequence, Sendmail
> > refuses to deliver email.
> >
> > Can I do anything about this?
>
> That shouldn't happen. Unless your home dir is on FAT or FAT32
> and you're using the wrong umask. For a start, can you try this:
>
> Login as user smmsp twice, once with admin privs, once without.
> Each time, run the following command:
>
> $ strace -o stat.trace stat <your home dir>
>
> And send the output of stat, as well as the two generated trace files
> here. This might give us a clue.
Here's the output I get on the terminal:
daniel@dimension ~
$ ssh smmsp@localhost
smmsp@localhost's password:
Last login: Tue Jul 22 07:18:27 2014 from localhost
smmsp@dimension ~
$ groups
None Users mail
smmsp@dimension ~
$ strace -o /tmp/stat.trace stat /home/daniel/
File: `/home/daniel/'
Size: 0 Blocks: 0 IO Block: 65536 directory
Device: e82f1393h/3895399315d Inode: 1970324836993607 Links: 1
Access: (0755/drwxr-xr-x) Uid: ( 1003/ daniel) Gid: ( 513/ None)
Access: 2014-07-28 09:40:47.976156800 +0200
Modify: 2014-07-17 11:40:03.095408000 +0200
Change: 2014-07-17 11:40:03.095408000 +0200
Birth: 2014-05-22 17:00:44.538505600 +0200
daniel@dimension ~
net localgroup "Administrators" "smmsp" /add
daniel@dimension ~
$ ssh smmsp@localhost
smmsp@localhost's password:
Last login: Mon Jul 28 09:48:12 2014 from localhost
smmsp@dimension ~
$ groups
None Administrators Users mail
smmsp@dimension ~
$ strace -o /tmp/stat.trace.admin stat /home/daniel/
File: `/home/daniel/'
Size: 0 Blocks: 0 IO Block: 65536 directory
Device: e82f1393h/3895399315d Inode: 1970324836993607 Links: 1
Access: (0755/drwxr-xr-x) Uid: ( 1003/ daniel) Gid: ( 513/ None)
Access: 2014-07-28 09:53:19.596934400 +0200
Modify: 2014-07-17 11:40:03.095408000 +0200
Change: 2014-07-17 11:40:03.095408000 +0200
Birth: 2014-05-22 17:00:44.538505600 +0200
The strace output is attached.
Daniel
[-- Attachment #2: stat.trace --]
[-- Type: text/plain, Size: 75565 bytes --]
7 7 [main] stat (2016) **********************************************
130 137 [main] stat (2016) Program name: C:\cygwin\bin\stat.exe (windows pid 2016)
40 177 [main] stat (2016) OS version: Windows NT-5.1
35 212 [main] stat (2016) **********************************************
108 320 [main] stat (2016) sigprocmask: 0 = sigprocmask (0, 0x0, 0x61276928)
238 558 [main] stat 2016 open_shared: name shared.5, n 5, shared 0x60FF0000 (wanted 0x60FF0000), h 0x79C, *m 6
109 667 [main] stat 2016 user_heap_info::init: heap base 0x20000000, heap top 0x20000000, heap size 0x18000000 (402653184)
139 806 [main] stat 2016 open_shared: name S-1-5-21-1659004503-813497703-854245398-1028.1, n 1, shared 0x60FE0000 (wanted 0x60FE0000), h 0x7A0, *m 6
33 839 [main] stat 2016 user_info::create: opening user shared for 'S-1-5-21-1659004503-813497703-854245398-1028' at 0x60FE0000
30 869 [main] stat 2016 user_info::create: user shared version AB1FCCE8
62 931 [main] stat 2016 fhandler_pipe::create: name \\.\pipe\cygwin-c5e39b7a9d22bafb-2016-sigwait, size 5412, mode PIPE_TYPE_MESSAGE
78 1009 [main] stat 2016 fhandler_pipe::create: pipe read handle 0x788
67 1076 [main] stat 2016 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-c5e39b7a9d22bafb-2016-sigwait
48 1124 [main] stat 2016 fhandler_pipe::create: pipe write handle 0x784
36 1160 [main] stat 2016 dll_crt0_0: finished dll_crt0_0 initialization
359 1519 [sig] stat 2016 wait_sig: entering ReadFile loop, my_readsig 0x788, my_sendsig 0x784
222 1741 [main] stat 2016 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\var\empty, no-keep-rel, no-add-slash)
77 1818 [main] stat 2016 normalize_win32_path: C:\cygwin\var\empty = normalize_win32_path (C:\cygwin\var\empty)
37 1855 [main] stat 2016 mount_info::conv_to_posix_path: /var/empty = conv_to_posix_path (C:\cygwin\var\empty)
58 1913 [main] stat 2016 sigprocmask: 0 = sigprocmask (0, 0x0, 0x200180A8)
148 2061 [main] stat 2016 _cygwin_istext_for_stdio: fd 0: not open
31 2092 [main] stat 2016 _cygwin_istext_for_stdio: fd 1: not open
26 2118 [main] stat 2016 _cygwin_istext_for_stdio: fd 2: not open
114 2232 [main] stat (2016) open_shared: name cygpid.2016, n 2016, shared 0x60FD0000 (wanted 0x60FD0000), h 0x758, *m 2
40 2272 [main] ? (2016) time: 1406533331 = time(0x0)
29 2301 [main] stat 2016 pinfo::thisproc: myself dwProcessId 2016
219 2520 [main] stat 2016 environ_init: GetEnvironmentStrings returned 0x10000
65 2585 [main] stat 2016 environ_init: 0x20028290: ALLUSERSPROFILE=C:\Documents and Settings\All Users
54 2639 [main] stat 2016 environ_init: 0x200282D0: COMPUTERNAME=DIMENSION
53 2692 [main] stat 2016 environ_init: 0x200282F0: COMSPEC=C:\WINDOWS\system32\cmd.exe
56 2748 [main] stat 2016 parse_options: glob (called func)
50 2798 [main] stat 2016 parse_options: returning
26 2824 [main] stat 2016 environ_init: 0x20028320: CYGWIN=noglob
51 2875 [main] stat 2016 environ_init: 0x20028348: EXECIGNORE=*.dll
52 2927 [main] stat 2016 getwinenv: can't set native for HOME= since no environ yet
31 2958 [main] stat 2016 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\var\empty, no-keep-rel, no-add-slash)
28 2986 [main] stat 2016 normalize_win32_path: C:\cygwin\var\empty = normalize_win32_path (C:\cygwin\var\empty)
28 3014 [main] stat 2016 mount_info::conv_to_posix_path: /var/empty = conv_to_posix_path (C:\cygwin\var\empty)
96 3110 [main] stat 2016 win_env::add_cache: posix /var/empty
26 3136 [main] stat 2016 win_env::add_cache: native HOME=C:\cygwin\var\empty
26 3162 [main] stat 2016 posify_maybe: env var converted to HOME=/var/empty
93 3255 [main] stat 2016 environ_init: 0x200283B0: HOME=/var/empty
52 3307 [main] stat 2016 environ_init: 0x20028360: HOMEDRIVE=C:
52 3359 [main] stat 2016 environ_init: 0x200283C8: HOMEPATH=\cygwin\var\empty
53 3412 [main] stat 2016 environ_init: 0x200283E8: HOSTNAME=dimension
107 3519 [main] stat 2016 environ_init: 0x20028400: INFOPATH=/usr/local/info:/usr/share/info:/usr/info
52 3571 [main] stat 2016 environ_init: 0x20028438: LANG=en_US.UTF-8
50 3621 [main] stat 2016 environ_init: 0x20028450: LOGNAME=smmsp
51 3672 [main] stat 2016 environ_init: 0x20028468: LOGONSERVER=\\DIMENSION
50 3722 [main] stat 2016 environ_init: 0x20028488: MAIL=/var/spool/mail//smmsp
51 3773 [main] stat 2016 environ_init: 0x200284B0: OLDPWD=/var/empty
55 3828 [main] stat 2016 environ_init: 0x200284C8: ORIGINAL_PATH=/cygdrive/c/ffmpeg:/cygdrive/j/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/bin
51 3879 [main] stat 2016 environ_init: 0x20028558: OS=Windows_NT
55 3934 [main] stat 2016 getwinenv: can't set native for PATH= since no environ yet
60 3994 [main] stat 2016 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\usr\local\bin, keep-rel, no-add-slash)
28 4022 [main] stat 2016 normalize_win32_path: C:\cygwin\usr\local\bin = normalize_win32_path (C:\cygwin\usr\local\bin)
28 4050 [main] stat 2016 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (C:\cygwin\usr\local\bin)
28 4078 [main] stat 2016 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\bin, keep-rel, no-add-slash)
26 4104 [main] stat 2016 normalize_win32_path: C:\cygwin\bin = normalize_win32_path (C:\cygwin\bin)
27 4131 [main] stat 2016 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cygwin\bin)
28 4159 [main] stat 2016 mount_info::conv_to_posix_path: conv_to_posix_path (C:\ffmpeg, keep-rel, no-add-slash)
116 4275 [main] stat 2016 normalize_win32_path: C:\ffmpeg = normalize_win32_path (C:\ffmpeg)
31 4306 [main] stat 2016 mount_info::conv_to_posix_path: /cygdrive/c/ffmpeg = conv_to_posix_path (C:\ffmpeg)
27 4333 [main] stat 2016 mount_info::conv_to_posix_path: conv_to_posix_path (J:\bin, keep-rel, no-add-slash)
27 4360 [main] stat 2016 normalize_win32_path: J:\bin = normalize_win32_path (J:\bin)
27 4387 [main] stat 2016 mount_info::conv_to_posix_path: /cygdrive/j/bin = conv_to_posix_path (J:\bin)
27 4414 [main] stat 2016 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS\system32, keep-rel, no-add-slash)
27 4441 [main] stat 2016 normalize_win32_path: C:\WINDOWS\system32 = normalize_win32_path (C:\WINDOWS\system32)
27 4468 [main] stat 2016 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/system32 = conv_to_posix_path (C:\WINDOWS\system32)
28 4496 [main] stat 2016 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS, keep-rel, no-add-slash)
27 4523 [main] stat 2016 normalize_win32_path: C:\WINDOWS = normalize_win32_path (C:\WINDOWS)
27 4550 [main] stat 2016 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS = conv_to_posix_path (C:\WINDOWS)
27 4577 [main] stat 2016 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS\System32\Wbem, keep-rel, no-add-slash)
27 4604 [main] stat 2016 normalize_win32_path: C:\WINDOWS\System32\Wbem = normalize_win32_path (C:\WINDOWS\System32\Wbem)
28 4632 [main] stat 2016 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/System32/Wbem = conv_to_posix_path (C:\WINDOWS\System32\Wbem)
27 4659 [main] stat 2016 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\bin, keep-rel, no-add-slash)
27 4686 [main] stat 2016 normalize_win32_path: C:\cygwin\bin = normalize_win32_path (C:\cygwin\bin)
27 4713 [main] stat 2016 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cygwin\bin)
101 4814 [main] stat 2016 win_env::add_cache: posix /usr/local/bin:/usr/bin:/cygdrive/c/ffmpeg:/cygdrive/j/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/bin
28 4842 [main] stat 2016 win_env::add_cache: native PATH=C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\ffmpeg;J:\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\cygwin\bin
65 4907 [main] stat 2016 posify_maybe: env var converted to PATH=/usr/local/bin:/usr/bin:/cygdrive/c/ffmpeg:/cygdrive/j/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/bin
76 4983 [main] stat 2016 environ_init: 0x20038728: PATH=/usr/local/bin:/usr/bin:/cygdrive/c/ffmpeg:/cygdrive/j/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/bin
55 5038 [main] stat 2016 environ_init: 0x20028570: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
84 5122 [main] stat 2016 environ_init: 0x200285B0: PROFILEREAD=true
55 5177 [main] stat 2016 environ_init: 0x200285C8: PROGRAMFILES=C:\Program Files
76 5253 [main] stat 2016 environ_init: 0x200387C8: PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$
55 5308 [main] stat 2016 environ_init: 0x20038810: PWD=/var/empty
51 5359 [main] stat 2016 environ_init: 0x20038828: SHELL=/bin/bash
51 5410 [main] stat 2016 environ_init: 0x20038840: SHLVL=1
51 5461 [main] stat 2016 environ_init: 0x20038850: SSH_CLIENT=127.0.0.1 1658 22
53 5514 [main] stat 2016 environ_init: 0x20038878: SSH_CONNECTION=127.0.0.1 1658 127.0.0.1 22
51 5565 [main] stat 2016 environ_init: 0x200388A8: SSH_TTY=/dev/pty1
51 5616 [main] stat 2016 environ_init: 0x200388C0: SYSTEMDRIVE=C:
52 5668 [main] stat 2016 environ_init: 0x200388D8: SYSTEMROOT=C:\WINDOWS
51 5719 [main] stat 2016 getwinenv: can't set native for TEMP= since no environ yet
26 5745 [main] stat 2016 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\tmp, no-keep-rel, no-add-slash)
28 5773 [main] stat 2016 normalize_win32_path: C:\cygwin\tmp = normalize_win32_path (C:\cygwin\tmp)
28 5801 [main] stat 2016 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (C:\cygwin\tmp)
73 5874 [main] stat 2016 win_env::add_cache: posix /tmp
26 5900 [main] stat 2016 win_env::add_cache: native TEMP=C:\cygwin\tmp
26 5926 [main] stat 2016 posify_maybe: env var converted to TEMP=/tmp
71 5997 [main] stat 2016 environ_init: 0x20038938: TEMP=/tmp
51 6048 [main] stat 2016 environ_init: 0x200388F8: TERM=xterm
51 6099 [main] stat 2016 getwinenv: can't set native for TMP= since no environ yet
27 6126 [main] stat 2016 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\tmp, no-keep-rel, no-add-slash)
27 6153 [main] stat 2016 normalize_win32_path: C:\cygwin\tmp = normalize_win32_path (C:\cygwin\tmp)
27 6180 [main] stat 2016 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (C:\cygwin\tmp)
72 6252 [main] stat 2016 win_env::add_cache: posix /tmp
25 6277 [main] stat 2016 win_env::add_cache: native TMP=C:\cygwin\tmp
26 6303 [main] stat 2016 posify_maybe: env var converted to TMP=/tmp
71 6374 [main] stat 2016 environ_init: 0x20038988: TMP=/tmp
52 6426 [main] stat 2016 environ_init: 0x20038948: TZ=Europe/Berlin
50 6476 [main] stat 2016 environ_init: 0x20038998: USER=smmsp
114 6590 [main] stat 2016 environ_init: 0x200389A8: USERDOMAIN=DIMENSION
52 6642 [main] stat 2016 environ_init: 0x200389C8: USERNAME=smmsp
51 6693 [main] stat 2016 environ_init: 0x200389E0: USERPROFILE=C:\Documents and Settings\smmsp
51 6744 [main] stat 2016 environ_init: 0x20038A18: WINDIR=C:\WINDOWS
50 6794 [main] stat 2016 environ_init: 0x20038A30: _=/usr/bin/strace
35 6829 [main] stat 2016 pinfo_init: Set nice to 0
27 6856 [main] stat 2016 pinfo_init: pid 2016, pgid 2016, process_state 0x41
27 6883 [main] stat 2016 App version: 1007.10, api: 0.259
26 6909 [main] stat 2016 DLL version: 1007.31, api: 0.272
26 6935 [main] stat 2016 DLL build: 20140716 11:15:29SNP
32 6967 [main] stat 2016 dtable::extend: size 32, fds 0x612AD194
366 7333 [main] stat 2016 pwdgrp::load: \etc\passwd curr_lines 16
38 7371 [main] stat 2016 pwdgrp::load: \etc\passwd load succeeded
264 7635 [main] stat 2016 pwdgrp::load: \etc\group curr_lines 15
39 7674 [main] stat 2016 pwdgrp::load: \etc\group load succeeded
31 7705 [main] stat 2016 cygheap_user::ontherange: what 2, pw 0x20039298
28 7733 [main] stat 2016 cygheap_user::ontherange: HOME is already in the environment /var/empty
248 7981 [main] stat 2016 __get_lcid_from_locale: LCID=0x0409
204 8185 [main] stat 2016 build_argv: argv[0] = 'stat'
29 8214 [main] stat 2016 build_argv: argv[1] = '/home/daniel/'
25 8239 [main] stat 2016 build_argv: argc 2
120 8359 [main] stat 2016 build_fh_pc: created an archetype (0x612AD4E4) for /dev/pty1(136/1)
31 8390 [main] stat 2016 build_fh_pc: fh 0x612AD29C, dev 00880001
38 8428 [main] stat 2016 fhandler_pipe::create: name \\.\pipe\cygwin-c5e39b7a9d22bafb-pty1-from-master, size 131072, mode PIPE_TYPE_MESSAGE
77 8505 [main] stat 2016 fhandler_pipe::create: pipe access denied
29 8534 [main] stat 2016 tty::exists: exists 1
79 8613 [main] stat 2016 alloc_sd: uid 1028, gid 513, attribute 0x2190
32 8645 [main] stat 2016 cygsid::debug_print: alloc_sd: owner SID = S-1-5-21-1659004503-813497703-854245398-1028 (+)
30 8675 [main] stat 2016 cygsid::debug_print: alloc_sd: group SID = S-1-5-21-1659004503-813497703-854245398-513 (+)
34 8709 [main] stat 2016 alloc_sd: ACL-Size: 124
74 8783 [main] stat 2016 alloc_sd: Created SD-Size: 200
30 8813 [main] stat 2016 fhandler_pty_slave::open: (440): pty output_mutex (0x754): waiting -1 ms
29 8842 [main] stat 2016 fhandler_pty_slave::open: (440): pty output_mutex: acquired
37 8879 [main] stat 2016 tty::create_inuse: cygtty.slave_alive.1 0x748
30 8909 [main] stat 2016 fhandler_pty_slave::open: (443): pty output_mutex(0x754) released
66 8975 [main] stat 2016 open_shared: name cygpid.408, n 408, shared 0x3F0000 (wanted 0x0), h 0x744, *m 6
50 9025 [main] stat 2016 fhandler_pty_slave::open: dup handles via master control pipe \\.\pipe\cygwin-c5e39b7a9d22bafb-pty1-master-ctl
220 9245 [main] stat 2016 fhandler_pty_slave::open: duplicated from_master 0x6C8->0x740 from pty_owner
43 9288 [main] stat 2016 fhandler_pty_slave::open: duplicated to_master 0x6B0->0x73C from pty_owner
49 9337 [main] stat 2016 fhandler_console::need_invisible: invisible_console 0
37 9374 [main] stat 2016 fhandler_base::open_with_arch: line 474: /dev/pty1<0x612AD4E4> usecount + 1 = 1
34 9408 [main] stat 2016 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
27 9435 [main] stat 2016 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
27 9462 [main] stat 2016 fhandler_base::set_flags: filemode set to binary
27 9489 [main] stat 2016 _pinfo::set_ctty: old no ctty, ctty device number 0xFFFFFFFF, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
28 9517 [main] stat 2016 _pinfo::set_ctty: cygheap->ctty 0x0, archetype 0x612AD4E4
49 9566 [main] stat 2016 _pinfo::set_ctty: ctty was NULL
26 9592 [main] stat 2016 _pinfo::set_ctty: line 482: /dev/pty1<0x612AD4E4> usecount + 1 = 2
28 9620 [main] stat 2016 _pinfo::set_ctty: /dev/pty1 ctty, usecount 2
32 9652 [main] stat 2016 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 2016, pid 2016, pgid 2016, tty->pgid 1148, tty->sid 1204
29 9681 [main] stat 2016 _pinfo::set_ctty: cygheap->ctty now 0x612AD4E4, archetype 0x612AD4E4
27 9708 [main] stat 2016 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 2
29 9737 [main] stat 2016 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
27 9764 [main] stat 2016 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
26 9790 [main] stat 2016 fhandler_base::set_flags: filemode set to binary
27 9817 [main] stat 2016 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
29 9846 [main] stat 2016 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 1204, pid 2016, pgid 1148, tty->pgid 1148, tty->sid 1204
29 9875 [main] stat 2016 _pinfo::set_ctty: cygheap->ctty now 0x612AD4E4, archetype 0x612AD4E4
88 9963 [main] stat 2016 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 2
83 10046 [main] stat 2016 build_fh_pc: found an archetype for (null)(136/1) io_handle 0x740
29 10075 [main] stat 2016 build_fh_pc: fh 0x612AD764, dev 00880001
34 10109 [main] stat 2016 fhandler_base::open_with_arch: line 494: /dev/pty1<0x612AD4E4> usecount + 1 = 3
28 10137 [main] stat 2016 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
27 10164 [main] stat 2016 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
27 10191 [main] stat 2016 fhandler_base::set_flags: filemode set to binary
27 10218 [main] stat 2016 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
30 10248 [main] stat 2016 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 1204, pid 2016, pgid 1148, tty->pgid 1148, tty->sid 1204
29 10277 [main] stat 2016 _pinfo::set_ctty: cygheap->ctty now 0x612AD4E4, archetype 0x612AD4E4
27 10304 [main] stat 2016 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 3
28 10332 [main] stat 2016 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
26 10358 [main] stat 2016 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
26 10384 [main] stat 2016 fhandler_base::set_flags: filemode set to binary
27 10411 [main] stat 2016 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
29 10440 [main] stat 2016 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 1204, pid 2016, pgid 1148, tty->pgid 1148, tty->sid 1204
29 10469 [main] stat 2016 _pinfo::set_ctty: cygheap->ctty now 0x612AD4E4, archetype 0x612AD4E4
27 10496 [main] stat 2016 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 3
67 10563 [main] stat 2016 build_fh_pc: found an archetype for (null)(136/1) io_handle 0x740
29 10592 [main] stat 2016 build_fh_pc: fh 0x612AD9AC, dev 00880001
33 10625 [main] stat 2016 fhandler_base::open_with_arch: line 494: /dev/pty1<0x612AD4E4> usecount + 1 = 4
27 10652 [main] stat 2016 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
27 10679 [main] stat 2016 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
25 10704 [main] stat 2016 fhandler_base::set_flags: filemode set to binary
28 10732 [main] stat 2016 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
29 10761 [main] stat 2016 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 1204, pid 2016, pgid 1148, tty->pgid 1148, tty->sid 1204
30 10791 [main] stat 2016 _pinfo::set_ctty: cygheap->ctty now 0x612AD4E4, archetype 0x612AD4E4
27 10818 [main] stat 2016 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 4
28 10846 [main] stat 2016 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
26 10872 [main] stat 2016 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
26 10898 [main] stat 2016 fhandler_base::set_flags: filemode set to binary
27 10925 [main] stat 2016 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
29 10954 [main] stat 2016 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 1204, pid 2016, pgid 1148, tty->pgid 1148, tty->sid 1204
29 10983 [main] stat 2016 _pinfo::set_ctty: cygheap->ctty now 0x612AD4E4, archetype 0x612AD4E4
27 11010 [main] stat 2016 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 4
159 11169 [main] stat 2016 __set_errno: void dll_crt0_1(void*):1002 setting errno 0
378 11547 [main] stat 2016 __get_lcid_from_locale: LCID=0x0409
32 11579 [main] stat 2016 __get_lcid_from_locale: LCID=0x0409
100 11679 [main] stat 2016 __get_lcid_from_locale: LCID=0x0409
289 11968 [main] stat 2016 __get_lcid_from_locale: LCID=0x0409
160 12128 [main] stat 2016 __get_lcid_from_locale: LCID=0x0409
261 12389 [main] stat 2016 __get_lcid_from_locale: LCID=0x0409
1177 13566 [main] stat 2016 open: open(/usr/share/locale/locale.alias, 0x0)
37 13603 [main] stat 2016 normalize_posix_path: src /usr/share/locale/locale.alias
27 13630 [main] stat 2016 normalize_posix_path: /usr/share/locale/locale.alias = normalize_posix_path (/usr/share/locale/locale.alias)
29 13659 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/locale.alias)
35 13694 [main] stat 2016 set_flags: flags: binary (0x2)
27 13721 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/locale.alias, dst C:\cygwin\usr\share\locale\locale.alias, flags 0x3000A, rc 0
79 13800 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\locale.alias)
32 13832 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\locale.alias)
47 13879 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\locale.alias.exe)
30 13909 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\locale.alias.exe)
45 13954 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\locale.alias.lnk)
29 13983 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\locale.alias.lnk)
47 14030 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\locale.alias.exe.lnk)
29 14059 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\locale.alias.exe.lnk)
28 14087 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\locale.alias, 0x229478) (0x3000A)
31 14118 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale)
28 14146 [main] stat 2016 set_flags: flags: binary (0x2)
27 14173 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale, dst C:\cygwin\usr\share\locale, flags 0x3000A, rc 0
44 14217 [main] stat 2016 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\locale)
47 14264 [main] stat 2016 symlink_info::check: not a symlink
36 14300 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale, 0x229478) (0x3000A)
30 14330 [main] stat 2016 path_conv::check: this->path(C:\cygwin\usr\share\locale\locale.alias), has_acls(1)
37 14367 [main] stat 2016 build_fh_pc: fh 0x612ADC74, dev 000000C3
33 14400 [main] stat 2016 fhandler_base::open: (\??\C:\cygwin\usr\share\locale\locale.alias, 0x108000)
48 14448 [main] stat 2016 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC0000034 -> windows error 2
30 14478 [main] stat 2016 geterrno_from_win_error: windows error 2 == errno 2
27 14505 [main] stat 2016 fhandler_base::open: 0xC0000034 = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\share\locale\locale.alias, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
29 14534 [main] stat 2016 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\share\locale\locale.alias, 0x108000)
29 14563 [main] stat 2016 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\locale\locale.alias, 0x8000)
35 14598 [main] stat 2016 open: -1 = open(/usr/share/locale/locale.alias, 0x8000), errno 2
395 14993 [main] stat 2016 open: open(/usr/local/share/locale/locale.alias, 0x0)
28 15021 [main] stat 2016 normalize_posix_path: src /usr/local/share/locale/locale.alias
26 15047 [main] stat 2016 normalize_posix_path: /usr/local/share/locale/locale.alias = normalize_posix_path (/usr/local/share/locale/locale.alias)
27 15074 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/local/share/locale/locale.alias)
53 15127 [main] stat 2016 set_flags: flags: binary (0x2)
32 15159 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/local/share/locale/locale.alias, dst C:\cygwin\usr\local\share\locale\locale.alias, flags 0x3000A, rc 0
57 15216 [main] stat 2016 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\local\share\locale\locale.alias)
31 15247 [main] stat 2016 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\local\share\locale\locale.alias)
48 15295 [main] stat 2016 symlink_info::check: not a symlink
27 15322 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\local\share\locale\locale.alias, 0x229468) (0x3000A)
28 15350 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/local/share/locale)
28 15378 [main] stat 2016 set_flags: flags: binary (0x2)
26 15404 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/local/share/locale, dst C:\cygwin\usr\local\share\locale, flags 0x3000A, rc 0
46 15450 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\local\share\locale)
29 15479 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\local\share\locale)
44 15523 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\local\share\locale.lnk)
29 15552 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\local\share\locale.lnk)
28 15580 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\local\share\locale, 0x229468) (0x3000A)
27 15607 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/local/share)
27 15634 [main] stat 2016 set_flags: flags: binary (0x2)
27 15661 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/local/share, dst C:\cygwin\usr\local\share, flags 0x3000A, rc 0
43 15704 [main] stat 2016 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\local\share)
37 15741 [main] stat 2016 symlink_info::check: not a symlink
36 15777 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\local\share, 0x229468) (0x3000A)
28 15805 [main] stat 2016 path_conv::check: this->path(C:\cygwin\usr\local\share\locale\locale.alias), has_acls(1)
33 15838 [main] stat 2016 build_fh_pc: fh 0x612ADC74, dev 000000C3
31 15869 [main] stat 2016 fhandler_base::open: (\??\C:\cygwin\usr\local\share\locale\locale.alias, 0x108000)
46 15915 [main] stat 2016 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC000003A -> windows error 3
34 15949 [main] stat 2016 geterrno_from_win_error: windows error 3 == errno 2
27 15976 [main] stat 2016 fhandler_base::open: 0xC000003A = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\local\share\locale\locale.alias, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
29 16005 [main] stat 2016 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\local\share\locale\locale.alias, 0x108000)
29 16034 [main] stat 2016 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\local\share\locale\locale.alias, 0x8000)
30 16064 [main] stat 2016 open: -1 = open(/usr/local/share/locale/locale.alias, 0x8000), errno 2
393 16457 [main] stat 2016 open: open(/usr/share/X11/locale/locale.alias, 0x0)
29 16486 [main] stat 2016 normalize_posix_path: src /usr/share/X11/locale/locale.alias
26 16512 [main] stat 2016 normalize_posix_path: /usr/share/X11/locale/locale.alias = normalize_posix_path (/usr/share/X11/locale/locale.alias)
27 16539 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/X11/locale/locale.alias)
28 16567 [main] stat 2016 set_flags: flags: binary (0x2)
27 16594 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/X11/locale/locale.alias, dst C:\cygwin\usr\share\X11\locale\locale.alias, flags 0x3000A, rc 0
48 16642 [main] stat 2016 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\X11\locale\locale.alias)
41 16683 [main] stat 2016 symlink_info::check: not a symlink
35 16718 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\X11\locale\locale.alias, 0x229468) (0x3000A)
29 16747 [main] stat 2016 path_conv::check: this->path(C:\cygwin\usr\share\X11\locale\locale.alias), has_acls(1)
31 16778 [main] stat 2016 build_fh_pc: fh 0x612ADC74, dev 000000C3
30 16808 [main] stat 2016 fhandler_base::open: (\??\C:\cygwin\usr\share\X11\locale\locale.alias, 0x108000)
41 16849 [main] stat 2016 fhandler_base::set_flags: flags 0x108000, supplied_bin 0x10000
29 16878 [main] stat 2016 fhandler_base::set_flags: filemode set to binary
26 16904 [main] stat 2016 fhandler_base::open: 0x0 = NtCreateFile (0x6F0, 0x80100000, \??\C:\cygwin\usr\share\X11\locale\locale.alias, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
29 16933 [main] stat 2016 fhandler_base::open: 1 = fhandler_base::open(\??\C:\cygwin\usr\share\X11\locale\locale.alias, 0x108000)
33 16966 [main] stat 2016 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\X11\locale\locale.alias, 0x8000)
29 16995 [main] stat 2016 open: 3 = open(/usr/share/X11/locale/locale.alias, 0x8000)
191 17186 [main] stat 2016 _cygwin_istext_for_stdio: fd 3: opened as binary
324 17510 [main] stat 2016 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-1659004503-813497703-854245398-1003
123 17633 [main] stat 2016 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-1659004503-813497703-854245398-513
34 17667 [main] stat 2016 get_info_from_sd: ACL 0x1A4, uid 1003, gid 513
51 17718 [main] stat 2016 fhandler_base::fstat_helper: 0 = fstat (\??\C:\cygwin\usr\share\X11\locale\locale.alias, 0x22A6D0) st_size=81609, st_mode=0x81A4, st_ino=562949953475694st_atim=53D5FD06.1210C7C0 st_ctim=538F896B.26B090C0 st_mtim=52CF502D.0 st_birthtim=538F896B.26B090C0
35 17753 [main] stat 2016 fstat64: 0 = fstat(3, 0x22A6D0)
56 17809 [main] stat 2016 read: read(3, 0x2003A1B8, 65536) blocking
120 17929 [main] stat 2016 fhandler_base::read: returning 65536, binary mode
35 17964 [main] stat 2016 read: 65536 = read(3, 0x2003A1B8, 65536)
388103 406067 [main] stat 2016 read: read(3, 0x2003A1B8, 65536) blocking
64 406131 [main] stat 2016 fhandler_base::read: returning 16073, binary mode
29 406160 [main] stat 2016 read: 16073 = read(3, 0x2003A1B8, 65536)
95983 502143 [main] stat 2016 read: read(3, 0x2003A1B8, 65536) blocking
46 502189 [main] stat 2016 fhandler_base::read: returning 0, binary mode
26 502215 [main] stat 2016 read: 0 = read(3, 0x2003A1B8, 65536)
217 502432 [main] stat 2016 close: close(3)
40 502472 [main] stat 2016 fhandler_base::close: closing '/usr/share/X11/locale/locale.alias' handle 0x6F0
37 502509 [main] stat 2016 close: 0 = close(3)
3368 505877 [main] stat 2016 open: open(/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo, 0x10000)
34 505911 [main] stat 2016 normalize_posix_path: src /usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo
29 505940 [main] stat 2016 normalize_posix_path: /usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo = normalize_posix_path (/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo)
28 505968 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo)
30 505998 [main] stat 2016 set_flags: flags: binary (0x2)
27 506025 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo, dst C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo, flags 0x3000A, rc 0
79 506104 [main] stat 2016 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo)
33 506137 [main] stat 2016 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo)
28 506165 [main] stat 2016 symlink_info::check: not a symlink
82 506247 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo, 0x229688) (0x3000A)
31 506278 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US.UTF-8/LC_MESSAGES)
27 506305 [main] stat 2016 set_flags: flags: binary (0x2)
27 506332 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US.UTF-8/LC_MESSAGES, dst C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES, flags 0x3000A, rc 0
53 506385 [main] stat 2016 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES)
31 506416 [main] stat 2016 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES)
28 506444 [main] stat 2016 symlink_info::check: not a symlink
26 506470 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES, 0x229688) (0x3000A)
28 506498 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US.UTF-8)
27 506525 [main] stat 2016 set_flags: flags: binary (0x2)
27 506552 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US.UTF-8, dst C:\cygwin\usr\share\locale\en_US.UTF-8, flags 0x3000A, rc 0
47 506599 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8)
31 506630 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8)
109 506739 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8.lnk)
34 506773 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8.lnk)
28 506801 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US.UTF-8, 0x229688) (0x3000A)
29 506830 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale)
28 506858 [main] stat 2016 set_flags: flags: binary (0x2)
26 506884 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale, dst C:\cygwin\usr\share\locale, flags 0x3000A, rc 0
47 506931 [main] stat 2016 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\locale)
40 506971 [main] stat 2016 symlink_info::check: not a symlink
35 507006 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale, 0x229688) (0x3000A)
31 507037 [main] stat 2016 path_conv::check: this->path(C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo), has_acls(1)
37 507074 [main] stat 2016 build_fh_pc: fh 0x612ADC74, dev 000000C3
38 507112 [main] stat 2016 fhandler_base::open: (\??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo, 0x118000)
52 507164 [main] stat 2016 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC000003A -> windows error 3
32 507196 [main] stat 2016 geterrno_from_win_error: windows error 3 == errno 2
27 507223 [main] stat 2016 fhandler_base::open: 0xC000003A = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
29 507252 [main] stat 2016 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo, 0x118000)
31 507283 [main] stat 2016 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo, 0x18000)
31 507314 [main] stat 2016 open: -1 = open(/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo, 0x18000), errno 2
80 507394 [main] stat 2016 open: open(/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo, 0x10000)
29 507423 [main] stat 2016 normalize_posix_path: src /usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo
32 507455 [main] stat 2016 normalize_posix_path: /usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo = normalize_posix_path (/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo)
28 507483 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo)
28 507511 [main] stat 2016 set_flags: flags: binary (0x2)
26 507537 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo, dst C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo, flags 0x3000A, rc 0
53 507590 [main] stat 2016 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo)
30 507620 [main] stat 2016 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo)
30 507650 [main] stat 2016 symlink_info::check: not a symlink
25 507675 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo, 0x229688) (0x3000A)
28 507703 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US.utf8/LC_MESSAGES)
27 507730 [main] stat 2016 set_flags: flags: binary (0x2)
27 507757 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US.utf8/LC_MESSAGES, dst C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES, flags 0x3000A, rc 0
48 507805 [main] stat 2016 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES)
30 507835 [main] stat 2016 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES)
28 507863 [main] stat 2016 symlink_info::check: not a symlink
25 507888 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES, 0x229688) (0x3000A)
28 507916 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US.utf8)
27 507943 [main] stat 2016 set_flags: flags: binary (0x2)
27 507970 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US.utf8, dst C:\cygwin\usr\share\locale\en_US.utf8, flags 0x3000A, rc 0
45 508015 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.utf8)
30 508045 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.utf8)
45 508090 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.utf8.lnk)
110 508200 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.utf8.lnk)
30 508230 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US.utf8, 0x229688) (0x3000A)
28 508258 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale)
27 508285 [main] stat 2016 set_flags: flags: binary (0x2)
27 508312 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale, dst C:\cygwin\usr\share\locale, flags 0x3000A, rc 0
47 508359 [main] stat 2016 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\locale)
39 508398 [main] stat 2016 symlink_info::check: not a symlink
36 508434 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale, 0x229688) (0x3000A)
29 508463 [main] stat 2016 path_conv::check: this->path(C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo), has_acls(1)
33 508496 [main] stat 2016 build_fh_pc: fh 0x612ADC74, dev 000000C3
31 508527 [main] stat 2016 fhandler_base::open: (\??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo, 0x118000)
51 508578 [main] stat 2016 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC000003A -> windows error 3
36 508614 [main] stat 2016 geterrno_from_win_error: windows error 3 == errno 2
27 508641 [main] stat 2016 fhandler_base::open: 0xC000003A = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
34 508675 [main] stat 2016 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo, 0x118000)
42 508717 [main] stat 2016 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo, 0x18000)
32 508749 [main] stat 2016 open: -1 = open(/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo, 0x18000), errno 2
79 508828 [main] stat 2016 open: open(/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo, 0x10000)
28 508856 [main] stat 2016 normalize_posix_path: src /usr/share/locale/en_US/LC_MESSAGES/coreutils.mo
27 508883 [main] stat 2016 normalize_posix_path: /usr/share/locale/en_US/LC_MESSAGES/coreutils.mo = normalize_posix_path (/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo)
28 508911 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo)
28 508939 [main] stat 2016 set_flags: flags: binary (0x2)
26 508965 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US/LC_MESSAGES/coreutils.mo, dst C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo, flags 0x3000A, rc 0
54 509019 [main] stat 2016 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo)
31 509050 [main] stat 2016 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo)
29 509079 [main] stat 2016 symlink_info::check: not a symlink
25 509104 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo, 0x229688) (0x3000A)
28 509132 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US/LC_MESSAGES)
27 509159 [main] stat 2016 set_flags: flags: binary (0x2)
27 509186 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US/LC_MESSAGES, dst C:\cygwin\usr\share\locale\en_US\LC_MESSAGES, flags 0x3000A, rc 0
47 509233 [main] stat 2016 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES)
29 509262 [main] stat 2016 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES)
29 509291 [main] stat 2016 symlink_info::check: not a symlink
26 509317 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US\LC_MESSAGES, 0x229688) (0x3000A)
27 509344 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US)
27 509371 [main] stat 2016 set_flags: flags: binary (0x2)
26 509397 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US, dst C:\cygwin\usr\share\locale\en_US, flags 0x3000A, rc 0
45 509442 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US)
30 509472 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US)
47 509519 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.lnk)
30 509549 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.lnk)
27 509576 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US, 0x229688) (0x3000A)
28 509604 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale)
28 509632 [main] stat 2016 set_flags: flags: binary (0x2)
26 509658 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale, dst C:\cygwin\usr\share\locale, flags 0x3000A, rc 0
47 509705 [main] stat 2016 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\locale)
37 509742 [main] stat 2016 symlink_info::check: not a symlink
35 509777 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale, 0x229688) (0x3000A)
29 509806 [main] stat 2016 path_conv::check: this->path(C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo), has_acls(1)
34 509840 [main] stat 2016 build_fh_pc: fh 0x612ADC74, dev 000000C3
30 509870 [main] stat 2016 fhandler_base::open: (\??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo, 0x118000)
48 509918 [main] stat 2016 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC000003A -> windows error 3
30 509948 [main] stat 2016 geterrno_from_win_error: windows error 3 == errno 2
27 509975 [main] stat 2016 fhandler_base::open: 0xC000003A = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
29 510004 [main] stat 2016 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo, 0x118000)
28 510032 [main] stat 2016 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo, 0x18000)
31 510063 [main] stat 2016 open: -1 = open(/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo, 0x18000), errno 2
77 510140 [main] stat 2016 open: open(/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo, 0x10000)
28 510168 [main] stat 2016 normalize_posix_path: src /usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo
27 510195 [main] stat 2016 normalize_posix_path: /usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo = normalize_posix_path (/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo)
28 510223 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo)
27 510250 [main] stat 2016 set_flags: flags: binary (0x2)
27 510277 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo, dst C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo, flags 0x3000A, rc 0
51 510328 [main] stat 2016 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo)
30 510358 [main] stat 2016 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo)
29 510387 [main] stat 2016 symlink_info::check: not a symlink
26 510413 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo, 0x229688) (0x3000A)
27 510440 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en.UTF-8/LC_MESSAGES)
28 510468 [main] stat 2016 set_flags: flags: binary (0x2)
26 510494 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en.UTF-8/LC_MESSAGES, dst C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES, flags 0x3000A, rc 0
48 510542 [main] stat 2016 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES)
30 510572 [main] stat 2016 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES)
29 510601 [main] stat 2016 symlink_info::check: not a symlink
26 510627 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES, 0x229688) (0x3000A)
27 510654 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en.UTF-8)
887 511541 [main] stat 2016 set_flags: flags: binary (0x2)
62 511603 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en.UTF-8, dst C:\cygwin\usr\share\locale\en.UTF-8, flags 0x3000A, rc 0
86 511689 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.UTF-8)
40 511729 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.UTF-8)
47 511776 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.UTF-8.lnk)
29 511805 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.UTF-8.lnk)
28 511833 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en.UTF-8, 0x229688) (0x3000A)
28 511861 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale)
39 511900 [main] stat 2016 set_flags: flags: binary (0x2)
28 511928 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale, dst C:\cygwin\usr\share\locale, flags 0x3000A, rc 0
46 511974 [main] stat 2016 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\locale)
40 512014 [main] stat 2016 symlink_info::check: not a symlink
36 512050 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale, 0x229688) (0x3000A)
31 512081 [main] stat 2016 path_conv::check: this->path(C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo), has_acls(1)
48 512129 [main] stat 2016 build_fh_pc: fh 0x612ADC74, dev 000000C3
34 512163 [main] stat 2016 fhandler_base::open: (\??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo, 0x118000)
53 512216 [main] stat 2016 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC000003A -> windows error 3
31 512247 [main] stat 2016 geterrno_from_win_error: windows error 3 == errno 2
27 512274 [main] stat 2016 fhandler_base::open: 0xC000003A = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
30 512304 [main] stat 2016 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo, 0x118000)
41 512345 [main] stat 2016 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo, 0x18000)
32 512377 [main] stat 2016 open: -1 = open(/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo, 0x18000), errno 2
82 512459 [main] stat 2016 open: open(/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo, 0x10000)
29 512488 [main] stat 2016 normalize_posix_path: src /usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo
37 512525 [main] stat 2016 normalize_posix_path: /usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo = normalize_posix_path (/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo)
27 512552 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo)
28 512580 [main] stat 2016 set_flags: flags: binary (0x2)
27 512607 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo, dst C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo, flags 0x3000A, rc 0
54 512661 [main] stat 2016 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo)
36 512697 [main] stat 2016 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo)
60 512757 [main] stat 2016 symlink_info::check: not a symlink
28 512785 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo, 0x229688) (0x3000A)
28 512813 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en.utf8/LC_MESSAGES)
28 512841 [main] stat 2016 set_flags: flags: binary (0x2)
26 512867 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en.utf8/LC_MESSAGES, dst C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES, flags 0x3000A, rc 0
50 512917 [main] stat 2016 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES)
47 512964 [main] stat 2016 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES)
28 512992 [main] stat 2016 symlink_info::check: not a symlink
26 513018 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES, 0x229688) (0x3000A)
28 513046 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en.utf8)
27 513073 [main] stat 2016 set_flags: flags: binary (0x2)
27 513100 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en.utf8, dst C:\cygwin\usr\share\locale\en.utf8, flags 0x3000A, rc 0
58 513158 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.utf8)
30 513188 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.utf8)
44 513232 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.utf8.lnk)
30 513262 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.utf8.lnk)
28 513290 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en.utf8, 0x229688) (0x3000A)
27 513317 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale)
27 513344 [main] stat 2016 set_flags: flags: binary (0x2)
26 513370 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale, dst C:\cygwin\usr\share\locale, flags 0x3000A, rc 0
44 513414 [main] stat 2016 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\locale)
39 513453 [main] stat 2016 symlink_info::check: not a symlink
34 513487 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale, 0x229688) (0x3000A)
29 513516 [main] stat 2016 path_conv::check: this->path(C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo), has_acls(1)
33 513549 [main] stat 2016 build_fh_pc: fh 0x612ADC74, dev 000000C3
31 513580 [main] stat 2016 fhandler_base::open: (\??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo, 0x118000)
49 513629 [main] stat 2016 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC000003A -> windows error 3
30 513659 [main] stat 2016 geterrno_from_win_error: windows error 3 == errno 2
26 513685 [main] stat 2016 fhandler_base::open: 0xC000003A = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
29 513714 [main] stat 2016 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo, 0x118000)
29 513743 [main] stat 2016 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo, 0x18000)
31 513774 [main] stat 2016 open: -1 = open(/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo, 0x18000), errno 2
78 513852 [main] stat 2016 open: open(/usr/share/locale/en/LC_MESSAGES/coreutils.mo, 0x10000)
29 513881 [main] stat 2016 normalize_posix_path: src /usr/share/locale/en/LC_MESSAGES/coreutils.mo
27 513908 [main] stat 2016 normalize_posix_path: /usr/share/locale/en/LC_MESSAGES/coreutils.mo = normalize_posix_path (/usr/share/locale/en/LC_MESSAGES/coreutils.mo)
27 513935 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en/LC_MESSAGES/coreutils.mo)
27 513962 [main] stat 2016 set_flags: flags: binary (0x2)
27 513989 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en/LC_MESSAGES/coreutils.mo, dst C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo, flags 0x3000A, rc 0
50 514039 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo)
35 514074 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo)
45 514119 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo.exe)
29 514148 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo.exe)
45 514193 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo.lnk)
30 514223 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo.lnk)
45 514268 [main] stat 2016 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo.exe.lnk)
30 514298 [main] stat 2016 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo.exe.lnk)
29 514327 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo, 0x229688) (0x3000A)
27 514354 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en/LC_MESSAGES)
28 514382 [main] stat 2016 set_flags: flags: binary (0x2)
26 514408 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/locale/en/LC_MESSAGES, dst C:\cygwin\usr\share\locale\en\LC_MESSAGES, flags 0x3000A, rc 0
44 514452 [main] stat 2016 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES)
38 514490 [main] stat 2016 symlink_info::check: not a symlink
35 514525 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en\LC_MESSAGES, 0x229688) (0x3000A)
29 514554 [main] stat 2016 path_conv::check: this->path(C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo), has_acls(1)
32 514586 [main] stat 2016 build_fh_pc: fh 0x612ADC74, dev 000000C3
30 514616 [main] stat 2016 fhandler_base::open: (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo, 0x118000)
45 514661 [main] stat 2016 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC0000034 -> windows error 2
50 514711 [main] stat 2016 geterrno_from_win_error: windows error 2 == errno 2
27 514738 [main] stat 2016 fhandler_base::open: 0xC0000034 = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
30 514768 [main] stat 2016 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo, 0x118000)
28 514796 [main] stat 2016 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo, 0x18000)
31 514827 [main] stat 2016 open: -1 = open(/usr/share/locale/en/LC_MESSAGES/coreutils.mo, 0x18000), errno 2
2819 517646 [main] stat 2016 lstat64: entering
28 517674 [main] stat 2016 normalize_posix_path: src /home/daniel/
27 517701 [main] stat 2016 normalize_posix_path: /home/daniel/ = normalize_posix_path (/home/daniel/)
27 517728 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/home/daniel)
27 517755 [main] stat 2016 set_flags: flags: binary (0x2)
27 517782 [main] stat 2016 mount_info::conv_to_win32_path: src_path /home/daniel, dst C:\cygwin\home\daniel, flags 0x3000A, rc 0
50 517832 [main] stat 2016 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\home\daniel)
38 517870 [main] stat 2016 symlink_info::check: not a symlink
26 517896 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\home\daniel, 0x2299E8) (0x43000A)
30 517926 [main] stat 2016 path_conv::check: this->path(C:\cygwin\home\daniel), has_acls(1)
33 517959 [main] stat 2016 build_fh_pc: fh 0x612ADC74, dev 000000C3
29 517988 [main] stat 2016 stat_worker: (\??\C:\cygwin\home\daniel, 0x22AB80, 0x612ADC74), file_attributes 16
78 518066 [main] stat 2016 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-1659004503-813497703-854245398-1003
30 518096 [main] stat 2016 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-1659004503-813497703-854245398-513
33 518129 [main] stat 2016 get_info_from_sd: ACL 0x41ED, uid 1003, gid 513
52 518181 [main] stat 2016 fhandler_base::fstat_helper: 0 = fstat (\??\C:\cygwin\home\daniel, 0x22AB80) st_size=0, st_mode=0x41ED, st_ino=1970324836993607st_atim=53D5FE7F.3A2EF880 st_ctim=53C799F3.5AFCF80 st_mtim=53C799F3.5AFCF80 st_birthtim=537E111C.2018F180
36 518217 [main] stat 2016 stat_worker: 0 = (\??\C:\cygwin\home\daniel,0x22AB80)
77 518294 [main] stat 2016 time: 1406533332 = time(0x0)
57 518351 [main] stat 2016 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-1659004503-813497703-854245398-1028
29 518380 [main] stat 2016 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-1659004503-813497703-854245398-513
28 518408 [main] stat 2016 get_info_from_sd: ACL 0x2192, uid 1028, gid 513
51 518459 [main] stat 2016 stat64: entering
26 518485 [main] stat 2016 normalize_posix_path: src /dev
26 518511 [main] stat 2016 normalize_posix_path: /dev = normalize_posix_path (/dev)
26 518537 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/dev)
28 518565 [main] stat 2016 set_flags: flags: binary (0x2)
27 518592 [main] stat 2016 mount_info::conv_to_win32_path: src_path /dev, dst C:\cygwin\dev, flags 0x3000A, rc 0
49 518641 [main] stat 2016 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\dev)
39 518680 [main] stat 2016 symlink_info::check: not a symlink
58 518738 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\dev, 0x229808) (0x43000A)
37 518775 [main] stat 2016 build_fh_pc: fh 0x612ADC74, dev 000000C1
28 518803 [main] stat 2016 stat_worker: (\??\C:\cygwin\dev, 0x61276820, 0x612ADC74), file_attributes 16
70 518873 [main] stat 2016 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-1659004503-813497703-854245398-1003
30 518903 [main] stat 2016 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-1659004503-813497703-854245398-513
32 518935 [main] stat 2016 get_info_from_sd: ACL 0x41FD, uid 1003, gid 513
53 518988 [main] stat 2016 fhandler_base::fstat_helper: 0 = fstat (\??\C:\cygwin\dev, 0x61276820) st_size=0, st_mode=0x41FD, st_ino=1970324836993560st_atim=53D5FBB4.3453A140 st_ctim=53D5F5C1.78F9240 st_mtim=53D5F5C1.78F9240 st_birthtim=537E1107.273FA1C0
35 519023 [main] stat 2016 stat_worker: 0 = (\??\C:\cygwin\dev,0x61276820)
37 519060 [main] stat 2016 fstat64: 0 = fstat(1, 0x22AA10)
51 519111 [main] stat 2016 isatty: 1 = isatty(1)
1072 520183 [main] stat 2016 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 24)
29 520212 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
29 520241 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex: acquired
34 520275 [main] stat 2016 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
27 520302 [main] stat 2016 write: 24 = write(1, 0x2003A9B0, 24)
1340 521642 [main] stat 2016 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 65)
29 521671 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
28 521699 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex: acquired
31 521730 [main] stat 2016 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
28 521758 [main] stat 2016 write: 65 = write(1, 0x2003A9B0, 65)
991 522749 [main] stat 2016 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 64)
27 522776 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
28 522804 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex: acquired
288 523092 [main] stat 2016 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
107 523199 [main] stat 2016 write: 64 = write(1, 0x2003A9B0, 64)
1363 524562 [main] stat 2016 normalize_posix_path: src /etc
40 524602 [main] stat 2016 normalize_posix_path: /etc = normalize_posix_path (/etc)
28 524630 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/etc)
30 524660 [main] stat 2016 set_flags: flags: binary (0x2)
27 524687 [main] stat 2016 mount_info::conv_to_win32_path: src_path /etc, dst C:\cygwin\etc, flags 0x3000A, rc 0
97 524784 [main] stat 2016 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\etc)
44 524828 [main] stat 2016 symlink_info::check: not a symlink
111 524939 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\etc, 0x229898) (0x3000A)
31 524970 [main] stat 2016 path_conv::check: this->path(C:\cygwin\etc), has_acls(1)
9365 534335 [main] stat 2016 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 73)
38 534373 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
40 534413 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex: acquired
36 534449 [main] stat 2016 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
27 534476 [main] stat 2016 write: 73 = write(1, 0x2003A9B0, 73)
216 534692 [main] stat 2016 open: open(/usr/share/zoneinfo/Europe/Berlin, 0x10000)
33 534725 [main] stat 2016 normalize_posix_path: src /usr/share/zoneinfo/Europe/Berlin
80 534805 [main] stat 2016 normalize_posix_path: /usr/share/zoneinfo/Europe/Berlin = normalize_posix_path (/usr/share/zoneinfo/Europe/Berlin)
32 534837 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/zoneinfo/Europe/Berlin)
30 534867 [main] stat 2016 set_flags: flags: binary (0x2)
27 534894 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/zoneinfo/Europe/Berlin, dst C:\cygwin\usr\share\zoneinfo\Europe\Berlin, flags 0x3000A, rc 0
60 534954 [main] stat 2016 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\zoneinfo\Europe\Berlin)
43 534997 [main] stat 2016 symlink_info::check: not a symlink
147 535144 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\zoneinfo\Europe\Berlin, 0x2267D8) (0x3000A)
39 535183 [main] stat 2016 path_conv::check: this->path(C:\cygwin\usr\share\zoneinfo\Europe\Berlin), has_acls(1)
36 535219 [main] stat 2016 build_fh_pc: fh 0x612ADC74, dev 000000C3
32 535251 [main] stat 2016 fhandler_base::open: (\??\C:\cygwin\usr\share\zoneinfo\Europe\Berlin, 0x118000)
49 535300 [main] stat 2016 fhandler_base::set_flags: flags 0x118000, supplied_bin 0x10000
29 535329 [main] stat 2016 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
59 535388 [main] stat 2016 fhandler_base::set_flags: filemode set to binary
29 535417 [main] stat 2016 fhandler_base::open: 0x0 = NtCreateFile (0x6D8, 0x80100000, \??\C:\cygwin\usr\share\zoneinfo\Europe\Berlin, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
29 535446 [main] stat 2016 fhandler_base::open: 1 = fhandler_base::open(\??\C:\cygwin\usr\share\zoneinfo\Europe\Berlin, 0x118000)
35 535481 [main] stat 2016 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\zoneinfo\Europe\Berlin, 0x18000)
30 535511 [main] stat 2016 open: 3 = open(/usr/share/zoneinfo/Europe/Berlin, 0x18000)
28 535539 [main] stat 2016 read: read(3, 0x2004D908, 29000) blocking
204 535743 [main] stat 2016 fhandler_base::read: returning 2309, binary mode
41 535784 [main] stat 2016 read: 2309 = read(3, 0x2004D908, 29000)
29 535813 [main] stat 2016 close: close(3)
30 535843 [main] stat 2016 fhandler_base::close: closing '/usr/share/zoneinfo/Europe/Berlin' handle 0x6D8
35 535878 [main] stat 2016 close: 0 = close(3)
286 536164 [main] stat 2016 open: open(/usr/share/zoneinfo/GMT, 0x10000)
35 536199 [main] stat 2016 normalize_posix_path: src /usr/share/zoneinfo/GMT
28 536227 [main] stat 2016 normalize_posix_path: /usr/share/zoneinfo/GMT = normalize_posix_path (/usr/share/zoneinfo/GMT)
34 536261 [main] stat 2016 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/zoneinfo/GMT)
105 536366 [main] stat 2016 set_flags: flags: binary (0x2)
32 536398 [main] stat 2016 mount_info::conv_to_win32_path: src_path /usr/share/zoneinfo/GMT, dst C:\cygwin\usr\share\zoneinfo\GMT, flags 0x3000A, rc 0
60 536458 [main] stat 2016 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\zoneinfo\GMT)
41 536499 [main] stat 2016 symlink_info::check: not a symlink
36 536535 [main] stat 2016 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\zoneinfo\GMT, 0x2262D8) (0x3000A)
31 536566 [main] stat 2016 path_conv::check: this->path(C:\cygwin\usr\share\zoneinfo\GMT), has_acls(1)
52 536618 [main] stat 2016 build_fh_pc: fh 0x612ADC74, dev 000000C3
32 536650 [main] stat 2016 fhandler_base::open: (\??\C:\cygwin\usr\share\zoneinfo\GMT, 0x118000)
44 536694 [main] stat 2016 fhandler_base::set_flags: flags 0x118000, supplied_bin 0x10000
28 536722 [main] stat 2016 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
27 536749 [main] stat 2016 fhandler_base::set_flags: filemode set to binary
149 536898 [main] stat 2016 fhandler_base::open: 0x0 = NtCreateFile (0x6D4, 0x80100000, \??\C:\cygwin\usr\share\zoneinfo\GMT, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
55 536953 [main] stat 2016 fhandler_base::open: 1 = fhandler_base::open(\??\C:\cygwin\usr\share\zoneinfo\GMT, 0x118000)
35 536988 [main] stat 2016 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\zoneinfo\GMT, 0x18000)
30 537018 [main] stat 2016 open: 3 = open(/usr/share/zoneinfo/GMT, 0x18000)
28 537046 [main] stat 2016 read: read(3, 0x20050828, 29000) blocking
64 537110 [main] stat 2016 fhandler_base::read: returning 118, binary mode
28 537138 [main] stat 2016 read: 118 = read(3, 0x20050828, 29000)
54 537192 [main] stat 2016 close: close(3)
30 537222 [main] stat 2016 fhandler_base::close: closing '/usr/share/zoneinfo/GMT' handle 0x6D4
33 537255 [main] stat 2016 close: 0 = close(3)
514 537769 [main] stat 2016 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 44)
53 537822 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
31 537853 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex: acquired
33 537886 [main] stat 2016 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
27 537913 [main] stat 2016 write: 44 = write(1, 0x2003A9B0, 44)
478 538391 [main] stat 2016 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 44)
28 538419 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
28 538447 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex: acquired
31 538478 [main] stat 2016 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
28 538506 [main] stat 2016 write: 44 = write(1, 0x2003A9B0, 44)
573 539079 [main] stat 2016 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 44)
31 539110 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
29 539139 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex: acquired
31 539170 [main] stat 2016 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
27 539197 [main] stat 2016 write: 44 = write(1, 0x2003A9B0, 44)
905 540102 [main] stat 2016 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 44)
33 540135 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
29 540164 [main] stat 2016 fhandler_pty_slave::write: (656): pty output_mutex: acquired
123 540287 [main] stat 2016 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
32 540319 [main] stat 2016 write: 44 = write(1, 0x2003A9B0, 44)
1007 541326 [main] stat 2016 close: close(1)
36 541362 [main] stat 2016 fhandler_base::close_with_arch: line 1140: /dev/pty1<0x612AD4E4> usecount + -1 = 3
34 541396 [main] stat 2016 fhandler_base::close_with_arch: not closing archetype
261 541657 [main] stat 2016 close: 0 = close(1)
470 542127 [main] stat 2016 close: close(2)
50 542177 [main] stat 2016 fhandler_base::close_with_arch: line 1140: /dev/pty1<0x612AD4E4> usecount + -1 = 2
29 542206 [main] stat 2016 fhandler_base::close_with_arch: not closing archetype
28 542234 [main] stat 2016 close: 0 = close(2)
364 542598 [main] stat 2016 do_exit: do_exit (0), exit_state 1
28 542626 [main] stat 2016 void: 0x0 = signal (20, 0x1)
28 542654 [main] stat 2016 void: 0x0 = signal (1, 0x1)
25 542679 [main] stat 2016 void: 0x0 = signal (2, 0x1)
50 542729 [main] stat 2016 void: 0x0 = signal (3, 0x1)
35 542764 [main] stat 2016 fhandler_base::close_with_arch: line 1140: /dev/pty1<0x612AD4E4> usecount + -1 = 1
34 542798 [main] stat 2016 fhandler_base::close_with_arch: not closing archetype
27 542825 [main] stat 2016 init_cygheap::close_ctty: closing cygheap->ctty 0x612AD4E4
28 542853 [main] stat 2016 fhandler_base::close_with_arch: closing passed in archetype 0x0, usecount 0
27 542880 [main] stat 2016 fhandler_pty_slave::cleanup: /dev/pty1 closed, usecount 0
60 542940 [main] stat 2016 fhandler_pty_slave::close: closing last open /dev/pty1 handle
55 542995 [main] stat 2016 fhandler_console::free_console: freed console, res 1
29 543024 [main] stat 2016 fhandler_pty_common::close: pty1 <0x740,0x73C> closing
31 543055 [main] stat 2016 dtable::delete_archetype: deleting element 0 for /dev/pty1(136/1)
32 543087 [main] stat 2016 getpid: 2016 = getpid()
43 543130 [main] stat 2016 proc_terminate: nprocs 0
26 543156 [main] stat 2016 proc_terminate: leaving
41 543197 [main] stat 2016 pinfo::exit: Calling ExitProcess n 0x0, exitcode 0x0
[-- Attachment #3: stat.trace.admin --]
[-- Type: text/plain, Size: 75504 bytes --]
8 8 [main] stat (1160) **********************************************
131 139 [main] stat (1160) Program name: C:\cygwin\bin\stat.exe (windows pid 1160)
42 181 [main] stat (1160) OS version: Windows NT-5.1
42 223 [main] stat (1160) **********************************************
111 334 [main] stat (1160) sigprocmask: 0 = sigprocmask (0, 0x0, 0x61276928)
231 565 [main] stat 1160 open_shared: name shared.5, n 5, shared 0x60FF0000 (wanted 0x60FF0000), h 0x79C, *m 6
112 677 [main] stat 1160 user_heap_info::init: heap base 0x20000000, heap top 0x20000000, heap size 0x18000000 (402653184)
115 792 [main] stat 1160 open_shared: name S-1-5-21-1659004503-813497703-854245398-1028.1, n 1, shared 0x60FE0000 (wanted 0x60FE0000), h 0x7A0, *m 6
35 827 [main] stat 1160 user_info::create: opening user shared for 'S-1-5-21-1659004503-813497703-854245398-1028' at 0x60FE0000
30 857 [main] stat 1160 user_info::create: user shared version AB1FCCE8
62 919 [main] stat 1160 fhandler_pipe::create: name \\.\pipe\cygwin-c5e39b7a9d22bafb-1160-sigwait, size 5412, mode PIPE_TYPE_MESSAGE
81 1000 [main] stat 1160 fhandler_pipe::create: pipe read handle 0x788
48 1048 [main] stat 1160 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-c5e39b7a9d22bafb-1160-sigwait
48 1096 [main] stat 1160 fhandler_pipe::create: pipe write handle 0x784
37 1133 [main] stat 1160 dll_crt0_0: finished dll_crt0_0 initialization
461 1594 [sig] stat 1160 wait_sig: entering ReadFile loop, my_readsig 0x788, my_sendsig 0x784
231 1825 [main] stat 1160 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\var\empty, no-keep-rel, no-add-slash)
77 1902 [main] stat 1160 normalize_win32_path: C:\cygwin\var\empty = normalize_win32_path (C:\cygwin\var\empty)
37 1939 [main] stat 1160 mount_info::conv_to_posix_path: /var/empty = conv_to_posix_path (C:\cygwin\var\empty)
58 1997 [main] stat 1160 sigprocmask: 0 = sigprocmask (0, 0x0, 0x200180A8)
150 2147 [main] stat 1160 _cygwin_istext_for_stdio: fd 0: not open
31 2178 [main] stat 1160 _cygwin_istext_for_stdio: fd 1: not open
26 2204 [main] stat 1160 _cygwin_istext_for_stdio: fd 2: not open
142 2346 [main] stat (1160) open_shared: name cygpid.1160, n 1160, shared 0x60FD0000 (wanted 0x60FD0000), h 0x758, *m 2
40 2386 [main] ? (1160) time: 1406534044 = time(0x0)
30 2416 [main] stat 1160 pinfo::thisproc: myself dwProcessId 1160
225 2641 [main] stat 1160 environ_init: GetEnvironmentStrings returned 0x10000
66 2707 [main] stat 1160 environ_init: 0x20028290: ALLUSERSPROFILE=C:\Documents and Settings\All Users
53 2760 [main] stat 1160 environ_init: 0x200282D0: COMPUTERNAME=DIMENSION
54 2814 [main] stat 1160 environ_init: 0x200282F0: COMSPEC=C:\WINDOWS\system32\cmd.exe
54 2868 [main] stat 1160 parse_options: glob (called func)
51 2919 [main] stat 1160 parse_options: returning
25 2944 [main] stat 1160 environ_init: 0x20028320: CYGWIN=noglob
51 2995 [main] stat 1160 environ_init: 0x20028348: EXECIGNORE=*.dll
51 3046 [main] stat 1160 getwinenv: can't set native for HOME= since no environ yet
31 3077 [main] stat 1160 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\var\empty, no-keep-rel, no-add-slash)
28 3105 [main] stat 1160 normalize_win32_path: C:\cygwin\var\empty = normalize_win32_path (C:\cygwin\var\empty)
27 3132 [main] stat 1160 mount_info::conv_to_posix_path: /var/empty = conv_to_posix_path (C:\cygwin\var\empty)
77 3209 [main] stat 1160 win_env::add_cache: posix /var/empty
26 3235 [main] stat 1160 win_env::add_cache: native HOME=C:\cygwin\var\empty
26 3261 [main] stat 1160 posify_maybe: env var converted to HOME=/var/empty
71 3332 [main] stat 1160 environ_init: 0x200283B0: HOME=/var/empty
52 3384 [main] stat 1160 environ_init: 0x20028360: HOMEDRIVE=C:
53 3437 [main] stat 1160 environ_init: 0x200283C8: HOMEPATH=\cygwin\var\empty
51 3488 [main] stat 1160 environ_init: 0x200283E8: HOSTNAME=dimension
110 3598 [main] stat 1160 environ_init: 0x20028400: INFOPATH=/usr/local/info:/usr/share/info:/usr/info
52 3650 [main] stat 1160 environ_init: 0x20028438: LANG=en_US.UTF-8
51 3701 [main] stat 1160 environ_init: 0x20028450: LOGNAME=smmsp
50 3751 [main] stat 1160 environ_init: 0x20028468: LOGONSERVER=\\DIMENSION
50 3801 [main] stat 1160 environ_init: 0x20028488: MAIL=/var/spool/mail//smmsp
51 3852 [main] stat 1160 environ_init: 0x200284B0: OLDPWD=/var/empty
54 3906 [main] stat 1160 environ_init: 0x200284C8: ORIGINAL_PATH=/cygdrive/c/ffmpeg:/cygdrive/j/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/bin
52 3958 [main] stat 1160 environ_init: 0x20028558: OS=Windows_NT
53 4011 [main] stat 1160 getwinenv: can't set native for PATH= since no environ yet
62 4073 [main] stat 1160 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\usr\local\bin, keep-rel, no-add-slash)
26 4099 [main] stat 1160 normalize_win32_path: C:\cygwin\usr\local\bin = normalize_win32_path (C:\cygwin\usr\local\bin)
27 4126 [main] stat 1160 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (C:\cygwin\usr\local\bin)
28 4154 [main] stat 1160 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\bin, keep-rel, no-add-slash)
26 4180 [main] stat 1160 normalize_win32_path: C:\cygwin\bin = normalize_win32_path (C:\cygwin\bin)
27 4207 [main] stat 1160 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cygwin\bin)
48 4255 [main] stat 1160 mount_info::conv_to_posix_path: conv_to_posix_path (C:\ffmpeg, keep-rel, no-add-slash)
28 4283 [main] stat 1160 normalize_win32_path: C:\ffmpeg = normalize_win32_path (C:\ffmpeg)
44 4327 [main] stat 1160 mount_info::conv_to_posix_path: /cygdrive/c/ffmpeg = conv_to_posix_path (C:\ffmpeg)
28 4355 [main] stat 1160 mount_info::conv_to_posix_path: conv_to_posix_path (J:\bin, keep-rel, no-add-slash)
27 4382 [main] stat 1160 normalize_win32_path: J:\bin = normalize_win32_path (J:\bin)
27 4409 [main] stat 1160 mount_info::conv_to_posix_path: /cygdrive/j/bin = conv_to_posix_path (J:\bin)
27 4436 [main] stat 1160 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS\system32, keep-rel, no-add-slash)
26 4462 [main] stat 1160 normalize_win32_path: C:\WINDOWS\system32 = normalize_win32_path (C:\WINDOWS\system32)
28 4490 [main] stat 1160 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/system32 = conv_to_posix_path (C:\WINDOWS\system32)
27 4517 [main] stat 1160 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS, keep-rel, no-add-slash)
27 4544 [main] stat 1160 normalize_win32_path: C:\WINDOWS = normalize_win32_path (C:\WINDOWS)
26 4570 [main] stat 1160 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS = conv_to_posix_path (C:\WINDOWS)
27 4597 [main] stat 1160 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS\System32\Wbem, keep-rel, no-add-slash)
26 4623 [main] stat 1160 normalize_win32_path: C:\WINDOWS\System32\Wbem = normalize_win32_path (C:\WINDOWS\System32\Wbem)
28 4651 [main] stat 1160 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/System32/Wbem = conv_to_posix_path (C:\WINDOWS\System32\Wbem)
28 4679 [main] stat 1160 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\bin, keep-rel, no-add-slash)
26 4705 [main] stat 1160 normalize_win32_path: C:\cygwin\bin = normalize_win32_path (C:\cygwin\bin)
26 4731 [main] stat 1160 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cygwin\bin)
74 4805 [main] stat 1160 win_env::add_cache: posix /usr/local/bin:/usr/bin:/cygdrive/c/ffmpeg:/cygdrive/j/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/bin
27 4832 [main] stat 1160 win_env::add_cache: native PATH=C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\ffmpeg;J:\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\cygwin\bin
72 4904 [main] stat 1160 posify_maybe: env var converted to PATH=/usr/local/bin:/usr/bin:/cygdrive/c/ffmpeg:/cygdrive/j/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/bin
76 4980 [main] stat 1160 environ_init: 0x20038728: PATH=/usr/local/bin:/usr/bin:/cygdrive/c/ffmpeg:/cygdrive/j/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/bin
56 5036 [main] stat 1160 environ_init: 0x20028570: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
55 5091 [main] stat 1160 environ_init: 0x200285B0: PROFILEREAD=true
55 5146 [main] stat 1160 environ_init: 0x200285C8: PROGRAMFILES=C:\Program Files
57 5203 [main] stat 1160 environ_init: 0x200387C8: PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$
56 5259 [main] stat 1160 environ_init: 0x20038810: PWD=/var/empty
51 5310 [main] stat 1160 environ_init: 0x20038828: SHELL=/bin/bash
51 5361 [main] stat 1160 environ_init: 0x20038840: SHLVL=1
52 5413 [main] stat 1160 environ_init: 0x20038850: SSH_CLIENT=127.0.0.1 1672 22
52 5465 [main] stat 1160 environ_init: 0x20038878: SSH_CONNECTION=127.0.0.1 1672 127.0.0.1 22
52 5517 [main] stat 1160 environ_init: 0x200388A8: SSH_TTY=/dev/pty1
51 5568 [main] stat 1160 environ_init: 0x200388C0: SYSTEMDRIVE=C:
52 5620 [main] stat 1160 environ_init: 0x200388D8: SYSTEMROOT=C:\WINDOWS
51 5671 [main] stat 1160 getwinenv: can't set native for TEMP= since no environ yet
28 5699 [main] stat 1160 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\tmp, no-keep-rel, no-add-slash)
26 5725 [main] stat 1160 normalize_win32_path: C:\cygwin\tmp = normalize_win32_path (C:\cygwin\tmp)
27 5752 [main] stat 1160 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (C:\cygwin\tmp)
73 5825 [main] stat 1160 win_env::add_cache: posix /tmp
26 5851 [main] stat 1160 win_env::add_cache: native TEMP=C:\cygwin\tmp
26 5877 [main] stat 1160 posify_maybe: env var converted to TEMP=/tmp
71 5948 [main] stat 1160 environ_init: 0x20038938: TEMP=/tmp
52 6000 [main] stat 1160 environ_init: 0x200388F8: TERM=xterm
52 6052 [main] stat 1160 getwinenv: can't set native for TMP= since no environ yet
26 6078 [main] stat 1160 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\tmp, no-keep-rel, no-add-slash)
28 6106 [main] stat 1160 normalize_win32_path: C:\cygwin\tmp = normalize_win32_path (C:\cygwin\tmp)
26 6132 [main] stat 1160 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (C:\cygwin\tmp)
198 6330 [main] stat 1160 win_env::add_cache: posix /tmp
27 6357 [main] stat 1160 win_env::add_cache: native TMP=C:\cygwin\tmp
26 6383 [main] stat 1160 posify_maybe: env var converted to TMP=/tmp
72 6455 [main] stat 1160 environ_init: 0x20038988: TMP=/tmp
53 6508 [main] stat 1160 environ_init: 0x20038948: TZ=Europe/Berlin
50 6558 [main] stat 1160 environ_init: 0x20038998: USER=smmsp
51 6609 [main] stat 1160 environ_init: 0x200389A8: USERDOMAIN=DIMENSION
50 6659 [main] stat 1160 environ_init: 0x200389C8: USERNAME=smmsp
50 6709 [main] stat 1160 environ_init: 0x200389E0: USERPROFILE=C:\Documents and Settings\smmsp
52 6761 [main] stat 1160 environ_init: 0x20038A18: WINDIR=C:\WINDOWS
50 6811 [main] stat 1160 environ_init: 0x20038A30: _=/usr/bin/strace
35 6846 [main] stat 1160 pinfo_init: Set nice to 0
27 6873 [main] stat 1160 pinfo_init: pid 1160, pgid 1160, process_state 0x41
27 6900 [main] stat 1160 App version: 1007.10, api: 0.259
26 6926 [main] stat 1160 DLL version: 1007.31, api: 0.272
25 6951 [main] stat 1160 DLL build: 20140716 11:15:29SNP
33 6984 [main] stat 1160 dtable::extend: size 32, fds 0x612AD194
289 7273 [main] stat 1160 pwdgrp::load: \etc\passwd curr_lines 16
36 7309 [main] stat 1160 pwdgrp::load: \etc\passwd load succeeded
257 7566 [main] stat 1160 pwdgrp::load: \etc\group curr_lines 15
38 7604 [main] stat 1160 pwdgrp::load: \etc\group load succeeded
31 7635 [main] stat 1160 cygheap_user::ontherange: what 2, pw 0x20039298
27 7662 [main] stat 1160 cygheap_user::ontherange: HOME is already in the environment /var/empty
258 7920 [main] stat 1160 __get_lcid_from_locale: LCID=0x0409
212 8132 [main] stat 1160 build_argv: argv[0] = 'stat'
28 8160 [main] stat 1160 build_argv: argv[1] = '/home/daniel/'
26 8186 [main] stat 1160 build_argv: argc 2
148 8334 [main] stat 1160 build_fh_pc: created an archetype (0x612AD4E4) for /dev/pty1(136/1)
34 8368 [main] stat 1160 build_fh_pc: fh 0x612AD29C, dev 00880001
39 8407 [main] stat 1160 fhandler_pipe::create: name \\.\pipe\cygwin-c5e39b7a9d22bafb-pty1-from-master, size 131072, mode PIPE_TYPE_MESSAGE
82 8489 [main] stat 1160 fhandler_pipe::create: pipe busy
30 8519 [main] stat 1160 tty::exists: exists 1
115 8634 [main] stat 1160 alloc_sd: uid 1028, gid 513, attribute 0x2190
34 8668 [main] stat 1160 cygsid::debug_print: alloc_sd: owner SID = S-1-5-21-1659004503-813497703-854245398-1028 (+)
29 8697 [main] stat 1160 cygsid::debug_print: alloc_sd: group SID = S-1-5-21-1659004503-813497703-854245398-513 (+)
34 8731 [main] stat 1160 alloc_sd: ACL-Size: 124
74 8805 [main] stat 1160 alloc_sd: Created SD-Size: 200
30 8835 [main] stat 1160 fhandler_pty_slave::open: (440): pty output_mutex (0x754): waiting -1 ms
29 8864 [main] stat 1160 fhandler_pty_slave::open: (440): pty output_mutex: acquired
38 8902 [main] stat 1160 tty::create_inuse: cygtty.slave_alive.1 0x748
30 8932 [main] stat 1160 fhandler_pty_slave::open: (443): pty output_mutex(0x754) released
64 8996 [main] stat 1160 open_shared: name cygpid.1640, n 1640, shared 0x3F0000 (wanted 0x0), h 0x744, *m 6
37 9033 [main] stat 1160 fhandler_pty_slave::open: dup handles directly since I'm the owner
46 9079 [main] stat 1160 fhandler_pty_slave::open: duplicated from_master 0x6C8->0x744 from pty_owner
28 9107 [main] stat 1160 fhandler_pty_slave::open: duplicated to_master 0x6B0->0x73C from pty_owner
47 9154 [main] stat 1160 fhandler_console::need_invisible: invisible_console 0
36 9190 [main] stat 1160 fhandler_base::open_with_arch: line 474: /dev/pty1<0x612AD4E4> usecount + 1 = 1
33 9223 [main] stat 1160 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
27 9250 [main] stat 1160 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
26 9276 [main] stat 1160 fhandler_base::set_flags: filemode set to binary
27 9303 [main] stat 1160 _pinfo::set_ctty: old no ctty, ctty device number 0xFFFFFFFF, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
28 9331 [main] stat 1160 _pinfo::set_ctty: cygheap->ctty 0x0, archetype 0x612AD4E4
26 9357 [main] stat 1160 _pinfo::set_ctty: ctty was NULL
26 9383 [main] stat 1160 _pinfo::set_ctty: line 482: /dev/pty1<0x612AD4E4> usecount + 1 = 2
27 9410 [main] stat 1160 _pinfo::set_ctty: /dev/pty1 ctty, usecount 2
31 9441 [main] stat 1160 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 1160, pid 1160, pgid 1160, tty->pgid 408, tty->sid 1712
29 9470 [main] stat 1160 _pinfo::set_ctty: cygheap->ctty now 0x612AD4E4, archetype 0x612AD4E4
27 9497 [main] stat 1160 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 2
29 9526 [main] stat 1160 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
26 9552 [main] stat 1160 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
26 9578 [main] stat 1160 fhandler_base::set_flags: filemode set to binary
28 9606 [main] stat 1160 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
29 9635 [main] stat 1160 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 1712, pid 1160, pgid 408, tty->pgid 408, tty->sid 1712
29 9664 [main] stat 1160 _pinfo::set_ctty: cygheap->ctty now 0x612AD4E4, archetype 0x612AD4E4
27 9691 [main] stat 1160 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 2
143 9834 [main] stat 1160 build_fh_pc: found an archetype for (null)(136/1) io_handle 0x744
31 9865 [main] stat 1160 build_fh_pc: fh 0x612AD764, dev 00880001
33 9898 [main] stat 1160 fhandler_base::open_with_arch: line 494: /dev/pty1<0x612AD4E4> usecount + 1 = 3
29 9927 [main] stat 1160 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
27 9954 [main] stat 1160 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
26 9980 [main] stat 1160 fhandler_base::set_flags: filemode set to binary
27 10007 [main] stat 1160 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
30 10037 [main] stat 1160 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 1712, pid 1160, pgid 408, tty->pgid 408, tty->sid 1712
29 10066 [main] stat 1160 _pinfo::set_ctty: cygheap->ctty now 0x612AD4E4, archetype 0x612AD4E4
27 10093 [main] stat 1160 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 3
29 10122 [main] stat 1160 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
27 10149 [main] stat 1160 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
26 10175 [main] stat 1160 fhandler_base::set_flags: filemode set to binary
27 10202 [main] stat 1160 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
29 10231 [main] stat 1160 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 1712, pid 1160, pgid 408, tty->pgid 408, tty->sid 1712
54 10285 [main] stat 1160 _pinfo::set_ctty: cygheap->ctty now 0x612AD4E4, archetype 0x612AD4E4
47 10332 [main] stat 1160 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 3
70 10402 [main] stat 1160 build_fh_pc: found an archetype for (null)(136/1) io_handle 0x744
28 10430 [main] stat 1160 build_fh_pc: fh 0x612AD9AC, dev 00880001
34 10464 [main] stat 1160 fhandler_base::open_with_arch: line 494: /dev/pty1<0x612AD4E4> usecount + 1 = 4
28 10492 [main] stat 1160 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
26 10518 [main] stat 1160 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
26 10544 [main] stat 1160 fhandler_base::set_flags: filemode set to binary
28 10572 [main] stat 1160 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
29 10601 [main] stat 1160 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 1712, pid 1160, pgid 408, tty->pgid 408, tty->sid 1712
30 10631 [main] stat 1160 _pinfo::set_ctty: cygheap->ctty now 0x612AD4E4, archetype 0x612AD4E4
27 10658 [main] stat 1160 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 4
28 10686 [main] stat 1160 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
26 10712 [main] stat 1160 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
26 10738 [main] stat 1160 fhandler_base::set_flags: filemode set to binary
27 10765 [main] stat 1160 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
30 10795 [main] stat 1160 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 1712, pid 1160, pgid 408, tty->pgid 408, tty->sid 1712
28 10823 [main] stat 1160 _pinfo::set_ctty: cygheap->ctty now 0x612AD4E4, archetype 0x612AD4E4
27 10850 [main] stat 1160 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 4
136 10986 [main] stat 1160 __set_errno: void dll_crt0_1(void*):1002 setting errno 0
354 11340 [main] stat 1160 __get_lcid_from_locale: LCID=0x0409
31 11371 [main] stat 1160 __get_lcid_from_locale: LCID=0x0409
100 11471 [main] stat 1160 __get_lcid_from_locale: LCID=0x0409
295 11766 [main] stat 1160 __get_lcid_from_locale: LCID=0x0409
160 11926 [main] stat 1160 __get_lcid_from_locale: LCID=0x0409
264 12190 [main] stat 1160 __get_lcid_from_locale: LCID=0x0409
1165 13355 [main] stat 1160 open: open(/usr/share/locale/locale.alias, 0x0)
43 13398 [main] stat 1160 normalize_posix_path: src /usr/share/locale/locale.alias
29 13427 [main] stat 1160 normalize_posix_path: /usr/share/locale/locale.alias = normalize_posix_path (/usr/share/locale/locale.alias)
28 13455 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/locale.alias)
34 13489 [main] stat 1160 set_flags: flags: binary (0x2)
28 13517 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/locale.alias, dst C:\cygwin\usr\share\locale\locale.alias, flags 0x3000A, rc 0
81 13598 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\locale.alias)
32 13630 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\locale.alias)
47 13677 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\locale.alias.exe)
30 13707 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\locale.alias.exe)
45 13752 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\locale.alias.lnk)
29 13781 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\locale.alias.lnk)
45 13826 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\locale.alias.exe.lnk)
31 13857 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\locale.alias.exe.lnk)
27 13884 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\locale.alias, 0x229478) (0x3000A)
31 13915 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale)
28 13943 [main] stat 1160 set_flags: flags: binary (0x2)
26 13969 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale, dst C:\cygwin\usr\share\locale, flags 0x3000A, rc 0
45 14014 [main] stat 1160 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\locale)
49 14063 [main] stat 1160 symlink_info::check: not a symlink
37 14100 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale, 0x229478) (0x3000A)
30 14130 [main] stat 1160 path_conv::check: this->path(C:\cygwin\usr\share\locale\locale.alias), has_acls(1)
38 14168 [main] stat 1160 build_fh_pc: fh 0x612ADC74, dev 000000C3
32 14200 [main] stat 1160 fhandler_base::open: (\??\C:\cygwin\usr\share\locale\locale.alias, 0x108000)
49 14249 [main] stat 1160 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC0000034 -> windows error 2
65 14314 [main] stat 1160 geterrno_from_win_error: windows error 2 == errno 2
27 14341 [main] stat 1160 fhandler_base::open: 0xC0000034 = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\share\locale\locale.alias, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
30 14371 [main] stat 1160 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\share\locale\locale.alias, 0x108000)
47 14418 [main] stat 1160 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\locale\locale.alias, 0x8000)
37 14455 [main] stat 1160 open: -1 = open(/usr/share/locale/locale.alias, 0x8000), errno 2
492 14947 [main] stat 1160 open: open(/usr/local/share/locale/locale.alias, 0x0)
30 14977 [main] stat 1160 normalize_posix_path: src /usr/local/share/locale/locale.alias
27 15004 [main] stat 1160 normalize_posix_path: /usr/local/share/locale/locale.alias = normalize_posix_path (/usr/local/share/locale/locale.alias)
28 15032 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/local/share/locale/locale.alias)
28 15060 [main] stat 1160 set_flags: flags: binary (0x2)
28 15088 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/local/share/locale/locale.alias, dst C:\cygwin\usr\local\share\locale\locale.alias, flags 0x3000A, rc 0
69 15157 [main] stat 1160 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\local\share\locale\locale.alias)
30 15187 [main] stat 1160 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\local\share\locale\locale.alias)
29 15216 [main] stat 1160 symlink_info::check: not a symlink
26 15242 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\local\share\locale\locale.alias, 0x229468) (0x3000A)
28 15270 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/local/share/locale)
27 15297 [main] stat 1160 set_flags: flags: binary (0x2)
27 15324 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/local/share/locale, dst C:\cygwin\usr\local\share\locale, flags 0x3000A, rc 0
44 15368 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\local\share\locale)
30 15398 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\local\share\locale)
43 15441 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\local\share\locale.lnk)
29 15470 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\local\share\locale.lnk)
28 15498 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\local\share\locale, 0x229468) (0x3000A)
27 15525 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/local/share)
28 15553 [main] stat 1160 set_flags: flags: binary (0x2)
27 15580 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/local/share, dst C:\cygwin\usr\local\share, flags 0x3000A, rc 0
43 15623 [main] stat 1160 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\local\share)
39 15662 [main] stat 1160 symlink_info::check: not a symlink
36 15698 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\local\share, 0x229468) (0x3000A)
30 15728 [main] stat 1160 path_conv::check: this->path(C:\cygwin\usr\local\share\locale\locale.alias), has_acls(1)
34 15762 [main] stat 1160 build_fh_pc: fh 0x612ADC74, dev 000000C3
31 15793 [main] stat 1160 fhandler_base::open: (\??\C:\cygwin\usr\local\share\locale\locale.alias, 0x108000)
47 15840 [main] stat 1160 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC000003A -> windows error 3
35 15875 [main] stat 1160 geterrno_from_win_error: windows error 3 == errno 2
27 15902 [main] stat 1160 fhandler_base::open: 0xC000003A = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\local\share\locale\locale.alias, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
29 15931 [main] stat 1160 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\local\share\locale\locale.alias, 0x108000)
29 15960 [main] stat 1160 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\local\share\locale\locale.alias, 0x8000)
30 15990 [main] stat 1160 open: -1 = open(/usr/local/share/locale/locale.alias, 0x8000), errno 2
435 16425 [main] stat 1160 open: open(/usr/share/X11/locale/locale.alias, 0x0)
30 16455 [main] stat 1160 normalize_posix_path: src /usr/share/X11/locale/locale.alias
26 16481 [main] stat 1160 normalize_posix_path: /usr/share/X11/locale/locale.alias = normalize_posix_path (/usr/share/X11/locale/locale.alias)
27 16508 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/X11/locale/locale.alias)
29 16537 [main] stat 1160 set_flags: flags: binary (0x2)
27 16564 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/X11/locale/locale.alias, dst C:\cygwin\usr\share\X11\locale\locale.alias, flags 0x3000A, rc 0
48 16612 [main] stat 1160 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\X11\locale\locale.alias)
44 16656 [main] stat 1160 symlink_info::check: not a symlink
35 16691 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\X11\locale\locale.alias, 0x229468) (0x3000A)
29 16720 [main] stat 1160 path_conv::check: this->path(C:\cygwin\usr\share\X11\locale\locale.alias), has_acls(1)
33 16753 [main] stat 1160 build_fh_pc: fh 0x612ADC74, dev 000000C3
30 16783 [main] stat 1160 fhandler_base::open: (\??\C:\cygwin\usr\share\X11\locale\locale.alias, 0x108000)
43 16826 [main] stat 1160 fhandler_base::set_flags: flags 0x108000, supplied_bin 0x10000
28 16854 [main] stat 1160 fhandler_base::set_flags: filemode set to binary
26 16880 [main] stat 1160 fhandler_base::open: 0x0 = NtCreateFile (0x6F0, 0x80100000, \??\C:\cygwin\usr\share\X11\locale\locale.alias, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
30 16910 [main] stat 1160 fhandler_base::open: 1 = fhandler_base::open(\??\C:\cygwin\usr\share\X11\locale\locale.alias, 0x108000)
32 16942 [main] stat 1160 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\X11\locale\locale.alias, 0x8000)
30 16972 [main] stat 1160 open: 3 = open(/usr/share/X11/locale/locale.alias, 0x8000)
169 17141 [main] stat 1160 _cygwin_istext_for_stdio: fd 3: opened as binary
293 17434 [main] stat 1160 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-1659004503-813497703-854245398-1003
31 17465 [main] stat 1160 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-1659004503-813497703-854245398-513
34 17499 [main] stat 1160 get_info_from_sd: ACL 0x1A4, uid 1003, gid 513
52 17551 [main] stat 1160 fhandler_base::fstat_helper: 0 = fstat (\??\C:\cygwin\usr\share\X11\locale\locale.alias, 0x22A6D0) st_size=81609, st_mode=0x81A4, st_ino=562949953475694st_atim=53D60071.3828C840 st_ctim=538F896B.26B090C0 st_mtim=52CF502D.0 st_birthtim=538F896B.26B090C0
34 17585 [main] stat 1160 fstat64: 0 = fstat(3, 0x22A6D0)
56 17641 [main] stat 1160 read: read(3, 0x2003A1B8, 65536) blocking
132 17773 [main] stat 1160 fhandler_base::read: returning 65536, binary mode
35 17808 [main] stat 1160 read: 65536 = read(3, 0x2003A1B8, 65536)
387361 405169 [main] stat 1160 read: read(3, 0x2003A1B8, 65536) blocking
64 405233 [main] stat 1160 fhandler_base::read: returning 16073, binary mode
28 405261 [main] stat 1160 read: 16073 = read(3, 0x2003A1B8, 65536)
96203 501464 [main] stat 1160 read: read(3, 0x2003A1B8, 65536) blocking
60 501524 [main] stat 1160 fhandler_base::read: returning 0, binary mode
28 501552 [main] stat 1160 read: 0 = read(3, 0x2003A1B8, 65536)
230 501782 [main] stat 1160 close: close(3)
43 501825 [main] stat 1160 fhandler_base::close: closing '/usr/share/X11/locale/locale.alias' handle 0x6F0
50 501875 [main] stat 1160 close: 0 = close(3)
3385 505260 [main] stat 1160 open: open(/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo, 0x10000)
34 505294 [main] stat 1160 normalize_posix_path: src /usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo
27 505321 [main] stat 1160 normalize_posix_path: /usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo = normalize_posix_path (/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo)
29 505350 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo)
30 505380 [main] stat 1160 set_flags: flags: binary (0x2)
28 505408 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo, dst C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo, flags 0x3000A, rc 0
81 505489 [main] stat 1160 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo)
32 505521 [main] stat 1160 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo)
29 505550 [main] stat 1160 symlink_info::check: not a symlink
25 505575 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo, 0x229688) (0x3000A)
88 505663 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US.UTF-8/LC_MESSAGES)
31 505694 [main] stat 1160 set_flags: flags: binary (0x2)
26 505720 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US.UTF-8/LC_MESSAGES, dst C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES, flags 0x3000A, rc 0
55 505775 [main] stat 1160 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES)
30 505805 [main] stat 1160 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES)
50 505855 [main] stat 1160 symlink_info::check: not a symlink
27 505882 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES, 0x229688) (0x3000A)
29 505911 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US.UTF-8)
27 505938 [main] stat 1160 set_flags: flags: binary (0x2)
26 505964 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US.UTF-8, dst C:\cygwin\usr\share\locale\en_US.UTF-8, flags 0x3000A, rc 0
50 506014 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8)
30 506044 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8)
46 506090 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8.lnk)
30 506120 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.UTF-8.lnk)
28 506148 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US.UTF-8, 0x229688) (0x3000A)
27 506175 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale)
28 506203 [main] stat 1160 set_flags: flags: binary (0x2)
26 506229 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale, dst C:\cygwin\usr\share\locale, flags 0x3000A, rc 0
45 506274 [main] stat 1160 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\locale)
41 506315 [main] stat 1160 symlink_info::check: not a symlink
36 506351 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale, 0x229688) (0x3000A)
31 506382 [main] stat 1160 path_conv::check: this->path(C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo), has_acls(1)
36 506418 [main] stat 1160 build_fh_pc: fh 0x612ADC74, dev 000000C3
37 506455 [main] stat 1160 fhandler_base::open: (\??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo, 0x118000)
52 506507 [main] stat 1160 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC000003A -> windows error 3
31 506538 [main] stat 1160 geterrno_from_win_error: windows error 3 == errno 2
27 506565 [main] stat 1160 fhandler_base::open: 0xC000003A = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
29 506594 [main] stat 1160 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo, 0x118000)
30 506624 [main] stat 1160 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\locale\en_US.UTF-8\LC_MESSAGES\coreutils.mo, 0x18000)
32 506656 [main] stat 1160 open: -1 = open(/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo, 0x18000), errno 2
79 506735 [main] stat 1160 open: open(/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo, 0x10000)
29 506764 [main] stat 1160 normalize_posix_path: src /usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo
27 506791 [main] stat 1160 normalize_posix_path: /usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo = normalize_posix_path (/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo)
32 506823 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo)
29 506852 [main] stat 1160 set_flags: flags: binary (0x2)
27 506879 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo, dst C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo, flags 0x3000A, rc 0
53 506932 [main] stat 1160 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo)
30 506962 [main] stat 1160 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo)
30 506992 [main] stat 1160 symlink_info::check: not a symlink
26 507018 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo, 0x229688) (0x3000A)
27 507045 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US.utf8/LC_MESSAGES)
28 507073 [main] stat 1160 set_flags: flags: binary (0x2)
27 507100 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US.utf8/LC_MESSAGES, dst C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES, flags 0x3000A, rc 0
48 507148 [main] stat 1160 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES)
31 507179 [main] stat 1160 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES)
28 507207 [main] stat 1160 symlink_info::check: not a symlink
26 507233 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES, 0x229688) (0x3000A)
28 507261 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US.utf8)
27 507288 [main] stat 1160 set_flags: flags: binary (0x2)
26 507314 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US.utf8, dst C:\cygwin\usr\share\locale\en_US.utf8, flags 0x3000A, rc 0
46 507360 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.utf8)
31 507391 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.utf8)
45 507436 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.utf8.lnk)
30 507466 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.utf8.lnk)
29 507495 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US.utf8, 0x229688) (0x3000A)
27 507522 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale)
27 507549 [main] stat 1160 set_flags: flags: binary (0x2)
27 507576 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale, dst C:\cygwin\usr\share\locale, flags 0x3000A, rc 0
42 507618 [main] stat 1160 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\locale)
37 507655 [main] stat 1160 symlink_info::check: not a symlink
35 507690 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale, 0x229688) (0x3000A)
28 507718 [main] stat 1160 path_conv::check: this->path(C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo), has_acls(1)
147 507865 [main] stat 1160 build_fh_pc: fh 0x612ADC74, dev 000000C3
91 507956 [main] stat 1160 fhandler_base::open: (\??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo, 0x118000)
58 508014 [main] stat 1160 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC000003A -> windows error 3
30 508044 [main] stat 1160 geterrno_from_win_error: windows error 3 == errno 2
32 508076 [main] stat 1160 fhandler_base::open: 0xC000003A = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
30 508106 [main] stat 1160 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo, 0x118000)
30 508136 [main] stat 1160 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\locale\en_US.utf8\LC_MESSAGES\coreutils.mo, 0x18000)
31 508167 [main] stat 1160 open: -1 = open(/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo, 0x18000), errno 2
79 508246 [main] stat 1160 open: open(/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo, 0x10000)
29 508275 [main] stat 1160 normalize_posix_path: src /usr/share/locale/en_US/LC_MESSAGES/coreutils.mo
27 508302 [main] stat 1160 normalize_posix_path: /usr/share/locale/en_US/LC_MESSAGES/coreutils.mo = normalize_posix_path (/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo)
27 508329 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo)
29 508358 [main] stat 1160 set_flags: flags: binary (0x2)
27 508385 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US/LC_MESSAGES/coreutils.mo, dst C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo, flags 0x3000A, rc 0
55 508440 [main] stat 1160 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo)
31 508471 [main] stat 1160 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo)
28 508499 [main] stat 1160 symlink_info::check: not a symlink
26 508525 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo, 0x229688) (0x3000A)
28 508553 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US/LC_MESSAGES)
28 508581 [main] stat 1160 set_flags: flags: binary (0x2)
27 508608 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US/LC_MESSAGES, dst C:\cygwin\usr\share\locale\en_US\LC_MESSAGES, flags 0x3000A, rc 0
47 508655 [main] stat 1160 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES)
31 508686 [main] stat 1160 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES)
28 508714 [main] stat 1160 symlink_info::check: not a symlink
26 508740 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US\LC_MESSAGES, 0x229688) (0x3000A)
27 508767 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en_US)
27 508794 [main] stat 1160 set_flags: flags: binary (0x2)
27 508821 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en_US, dst C:\cygwin\usr\share\locale\en_US, flags 0x3000A, rc 0
46 508867 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US)
30 508897 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US)
45 508942 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en_US.lnk)
30 508972 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en_US.lnk)
28 509000 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en_US, 0x229688) (0x3000A)
27 509027 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale)
28 509055 [main] stat 1160 set_flags: flags: binary (0x2)
26 509081 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale, dst C:\cygwin\usr\share\locale, flags 0x3000A, rc 0
44 509125 [main] stat 1160 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\locale)
42 509167 [main] stat 1160 symlink_info::check: not a symlink
36 509203 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale, 0x229688) (0x3000A)
31 509234 [main] stat 1160 path_conv::check: this->path(C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo), has_acls(1)
31 509265 [main] stat 1160 build_fh_pc: fh 0x612ADC74, dev 000000C3
31 509296 [main] stat 1160 fhandler_base::open: (\??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo, 0x118000)
49 509345 [main] stat 1160 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC000003A -> windows error 3
30 509375 [main] stat 1160 geterrno_from_win_error: windows error 3 == errno 2
26 509401 [main] stat 1160 fhandler_base::open: 0xC000003A = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
30 509431 [main] stat 1160 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo, 0x118000)
29 509460 [main] stat 1160 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\locale\en_US\LC_MESSAGES\coreutils.mo, 0x18000)
31 509491 [main] stat 1160 open: -1 = open(/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo, 0x18000), errno 2
77 509568 [main] stat 1160 open: open(/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo, 0x10000)
29 509597 [main] stat 1160 normalize_posix_path: src /usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo
26 509623 [main] stat 1160 normalize_posix_path: /usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo = normalize_posix_path (/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo)
27 509650 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo)
29 509679 [main] stat 1160 set_flags: flags: binary (0x2)
26 509705 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo, dst C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo, flags 0x3000A, rc 0
53 509758 [main] stat 1160 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo)
30 509788 [main] stat 1160 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo)
29 509817 [main] stat 1160 symlink_info::check: not a symlink
49 509866 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo, 0x229688) (0x3000A)
61 509927 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en.UTF-8/LC_MESSAGES)
29 509956 [main] stat 1160 set_flags: flags: binary (0x2)
27 509983 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en.UTF-8/LC_MESSAGES, dst C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES, flags 0x3000A, rc 0
52 510035 [main] stat 1160 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES)
31 510066 [main] stat 1160 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES)
28 510094 [main] stat 1160 symlink_info::check: not a symlink
25 510119 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES, 0x229688) (0x3000A)
28 510147 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en.UTF-8)
28 510175 [main] stat 1160 set_flags: flags: binary (0x2)
26 510201 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en.UTF-8, dst C:\cygwin\usr\share\locale\en.UTF-8, flags 0x3000A, rc 0
47 510248 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.UTF-8)
30 510278 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.UTF-8)
50 510328 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.UTF-8.lnk)
30 510358 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.UTF-8.lnk)
29 510387 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en.UTF-8, 0x229688) (0x3000A)
28 510415 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale)
26 510441 [main] stat 1160 set_flags: flags: binary (0x2)
27 510468 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale, dst C:\cygwin\usr\share\locale, flags 0x3000A, rc 0
43 510511 [main] stat 1160 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\locale)
38 510549 [main] stat 1160 symlink_info::check: not a symlink
34 510583 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale, 0x229688) (0x3000A)
29 510612 [main] stat 1160 path_conv::check: this->path(C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo), has_acls(1)
33 510645 [main] stat 1160 build_fh_pc: fh 0x612ADC74, dev 000000C3
31 510676 [main] stat 1160 fhandler_base::open: (\??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo, 0x118000)
49 510725 [main] stat 1160 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC000003A -> windows error 3
31 510756 [main] stat 1160 geterrno_from_win_error: windows error 3 == errno 2
26 510782 [main] stat 1160 fhandler_base::open: 0xC000003A = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
29 510811 [main] stat 1160 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo, 0x118000)
29 510840 [main] stat 1160 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\locale\en.UTF-8\LC_MESSAGES\coreutils.mo, 0x18000)
31 510871 [main] stat 1160 open: -1 = open(/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo, 0x18000), errno 2
79 510950 [main] stat 1160 open: open(/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo, 0x10000)
29 510979 [main] stat 1160 normalize_posix_path: src /usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo
26 511005 [main] stat 1160 normalize_posix_path: /usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo = normalize_posix_path (/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo)
27 511032 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo)
29 511061 [main] stat 1160 set_flags: flags: binary (0x2)
26 511087 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo, dst C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo, flags 0x3000A, rc 0
52 511139 [main] stat 1160 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo)
31 511170 [main] stat 1160 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo)
28 511198 [main] stat 1160 symlink_info::check: not a symlink
26 511224 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo, 0x229688) (0x3000A)
28 511252 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en.utf8/LC_MESSAGES)
27 511279 [main] stat 1160 set_flags: flags: binary (0x2)
27 511306 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en.utf8/LC_MESSAGES, dst C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES, flags 0x3000A, rc 0
47 511353 [main] stat 1160 symlink_info::check: 0xC000003A = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES)
35 511388 [main] stat 1160 symlink_info::check: 0xC000003A = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES)
27 511415 [main] stat 1160 symlink_info::check: not a symlink
26 511441 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES, 0x229688) (0x3000A)
28 511469 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en.utf8)
27 511496 [main] stat 1160 set_flags: flags: binary (0x2)
27 511523 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en.utf8, dst C:\cygwin\usr\share\locale\en.utf8, flags 0x3000A, rc 0
46 511569 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.utf8)
31 511600 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.utf8)
45 511645 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en.utf8.lnk)
30 511675 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en.utf8.lnk)
28 511703 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en.utf8, 0x229688) (0x3000A)
27 511730 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale)
28 511758 [main] stat 1160 set_flags: flags: binary (0x2)
26 511784 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale, dst C:\cygwin\usr\share\locale, flags 0x3000A, rc 0
43 511827 [main] stat 1160 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\locale)
56 511883 [main] stat 1160 symlink_info::check: not a symlink
35 511918 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale, 0x229688) (0x3000A)
30 511948 [main] stat 1160 path_conv::check: this->path(C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo), has_acls(1)
32 511980 [main] stat 1160 build_fh_pc: fh 0x612ADC74, dev 000000C3
30 512010 [main] stat 1160 fhandler_base::open: (\??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo, 0x118000)
51 512061 [main] stat 1160 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC000003A -> windows error 3
30 512091 [main] stat 1160 geterrno_from_win_error: windows error 3 == errno 2
26 512117 [main] stat 1160 fhandler_base::open: 0xC000003A = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
30 512147 [main] stat 1160 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo, 0x118000)
28 512175 [main] stat 1160 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\locale\en.utf8\LC_MESSAGES\coreutils.mo, 0x18000)
31 512206 [main] stat 1160 open: -1 = open(/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo, 0x18000), errno 2
78 512284 [main] stat 1160 open: open(/usr/share/locale/en/LC_MESSAGES/coreutils.mo, 0x10000)
29 512313 [main] stat 1160 normalize_posix_path: src /usr/share/locale/en/LC_MESSAGES/coreutils.mo
27 512340 [main] stat 1160 normalize_posix_path: /usr/share/locale/en/LC_MESSAGES/coreutils.mo = normalize_posix_path (/usr/share/locale/en/LC_MESSAGES/coreutils.mo)
26 512366 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en/LC_MESSAGES/coreutils.mo)
29 512395 [main] stat 1160 set_flags: flags: binary (0x2)
27 512422 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en/LC_MESSAGES/coreutils.mo, dst C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo, flags 0x3000A, rc 0
50 512472 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo)
30 512502 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo)
50 512552 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo.exe)
31 512583 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo.exe)
45 512628 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo.lnk)
30 512658 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo.lnk)
45 512703 [main] stat 1160 symlink_info::check: 0xC0000034 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo.exe.lnk)
31 512734 [main] stat 1160 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo.exe.lnk)
28 512762 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo, 0x229688) (0x3000A)
28 512790 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/locale/en/LC_MESSAGES)
28 512818 [main] stat 1160 set_flags: flags: binary (0x2)
26 512844 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/locale/en/LC_MESSAGES, dst C:\cygwin\usr\share\locale\en\LC_MESSAGES, flags 0x3000A, rc 0
45 512889 [main] stat 1160 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES)
37 512926 [main] stat 1160 symlink_info::check: not a symlink
35 512961 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\locale\en\LC_MESSAGES, 0x229688) (0x3000A)
29 512990 [main] stat 1160 path_conv::check: this->path(C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo), has_acls(1)
32 513022 [main] stat 1160 build_fh_pc: fh 0x612ADC74, dev 000000C3
30 513052 [main] stat 1160 fhandler_base::open: (\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo, 0x118000)
45 513097 [main] stat 1160 seterrno_from_nt_status: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140716-1/winsup/cygwin/fhandler.cc:691 status 0xC0000034 -> windows error 2
30 513127 [main] stat 1160 geterrno_from_win_error: windows error 2 == errno 2
26 513153 [main] stat 1160 fhandler_base::open: 0xC0000034 = NtCreateFile (0x0, 0x80100000, \??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
31 513184 [main] stat 1160 fhandler_base::open: 0 = fhandler_base::open(\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo, 0x118000)
28 513212 [main] stat 1160 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\locale\en\LC_MESSAGES\coreutils.mo, 0x18000)
30 513242 [main] stat 1160 open: -1 = open(/usr/share/locale/en/LC_MESSAGES/coreutils.mo, 0x18000), errno 2
2879 516121 [main] stat 1160 lstat64: entering
29 516150 [main] stat 1160 normalize_posix_path: src /home/daniel/
27 516177 [main] stat 1160 normalize_posix_path: /home/daniel/ = normalize_posix_path (/home/daniel/)
27 516204 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/home/daniel)
29 516233 [main] stat 1160 set_flags: flags: binary (0x2)
26 516259 [main] stat 1160 mount_info::conv_to_win32_path: src_path /home/daniel, dst C:\cygwin\home\daniel, flags 0x3000A, rc 0
50 516309 [main] stat 1160 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\home\daniel)
38 516347 [main] stat 1160 symlink_info::check: not a symlink
26 516373 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\home\daniel, 0x2299E8) (0x43000A)
30 516403 [main] stat 1160 path_conv::check: this->path(C:\cygwin\home\daniel), has_acls(1)
32 516435 [main] stat 1160 build_fh_pc: fh 0x612ADC74, dev 000000C3
29 516464 [main] stat 1160 stat_worker: (\??\C:\cygwin\home\daniel, 0x22AB80, 0x612ADC74), file_attributes 16
79 516543 [main] stat 1160 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-1659004503-813497703-854245398-1003
30 516573 [main] stat 1160 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-1659004503-813497703-854245398-513
34 516607 [main] stat 1160 get_info_from_sd: ACL 0x41ED, uid 1003, gid 513
53 516660 [main] stat 1160 fhandler_base::fstat_helper: 0 = fstat (\??\C:\cygwin\home\daniel, 0x22AB80) st_size=0, st_mode=0x41ED, st_ino=1970324836993607st_atim=53D6016F.23947F00 st_ctim=53C799F3.5AFCF80 st_mtim=53C799F3.5AFCF80 st_birthtim=537E111C.2018F180
35 516695 [main] stat 1160 stat_worker: 0 = (\??\C:\cygwin\home\daniel,0x22AB80)
78 516773 [main] stat 1160 time: 1406534044 = time(0x0)
57 516830 [main] stat 1160 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-1659004503-813497703-854245398-1028
29 516859 [main] stat 1160 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-1659004503-813497703-854245398-513
28 516887 [main] stat 1160 get_info_from_sd: ACL 0x2192, uid 1028, gid 513
52 516939 [main] stat 1160 stat64: entering
26 516965 [main] stat 1160 normalize_posix_path: src /dev
26 516991 [main] stat 1160 normalize_posix_path: /dev = normalize_posix_path (/dev)
27 517018 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/dev)
28 517046 [main] stat 1160 set_flags: flags: binary (0x2)
28 517074 [main] stat 1160 mount_info::conv_to_win32_path: src_path /dev, dst C:\cygwin\dev, flags 0x3000A, rc 0
48 517122 [main] stat 1160 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\dev)
37 517159 [main] stat 1160 symlink_info::check: not a symlink
26 517185 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\dev, 0x229808) (0x43000A)
35 517220 [main] stat 1160 build_fh_pc: fh 0x612ADC74, dev 000000C1
28 517248 [main] stat 1160 stat_worker: (\??\C:\cygwin\dev, 0x61276820, 0x612ADC74), file_attributes 16
69 517317 [main] stat 1160 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-1659004503-813497703-854245398-1003
29 517346 [main] stat 1160 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-1659004503-813497703-854245398-513
33 517379 [main] stat 1160 get_info_from_sd: ACL 0x41FD, uid 1003, gid 513
52 517431 [main] stat 1160 fhandler_base::fstat_helper: 0 = fstat (\??\C:\cygwin\dev, 0x61276820) st_size=0, st_mode=0x41FD, st_ino=1970324836993560st_atim=53D5FBB4.3453A140 st_ctim=53D5F5C1.78F9240 st_mtim=53D5F5C1.78F9240 st_birthtim=537E1107.273FA1C0
35 517466 [main] stat 1160 stat_worker: 0 = (\??\C:\cygwin\dev,0x61276820)
37 517503 [main] stat 1160 fstat64: 0 = fstat(1, 0x22AA10)
51 517554 [main] stat 1160 isatty: 1 = isatty(1)
1098 518652 [main] stat 1160 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 24)
30 518682 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
29 518711 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex: acquired
34 518745 [main] stat 1160 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
27 518772 [main] stat 1160 write: 24 = write(1, 0x2003A9B0, 24)
1793 520565 [main] stat 1160 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 65)
37 520602 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
29 520631 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex: acquired
31 520662 [main] stat 1160 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
28 520690 [main] stat 1160 write: 65 = write(1, 0x2003A9B0, 65)
9601 530291 [main] stat 1160 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 64)
42 530333 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
29 530362 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex: acquired
55 530417 [main] stat 1160 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
29 530446 [main] stat 1160 write: 64 = write(1, 0x2003A9B0, 64)
1384 531830 [main] stat 1160 normalize_posix_path: src /etc
39 531869 [main] stat 1160 normalize_posix_path: /etc = normalize_posix_path (/etc)
28 531897 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/etc)
33 531930 [main] stat 1160 set_flags: flags: binary (0x2)
27 531957 [main] stat 1160 mount_info::conv_to_win32_path: src_path /etc, dst C:\cygwin\etc, flags 0x3000A, rc 0
64 532021 [main] stat 1160 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\etc)
66 532087 [main] stat 1160 symlink_info::check: not a symlink
38 532125 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\etc, 0x229898) (0x3000A)
31 532156 [main] stat 1160 path_conv::check: this->path(C:\cygwin\etc), has_acls(1)
1010 533166 [main] stat 1160 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 73)
30 533196 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
30 533226 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex: acquired
32 533258 [main] stat 1160 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
28 533286 [main] stat 1160 write: 73 = write(1, 0x2003A9B0, 73)
201 533487 [main] stat 1160 open: open(/usr/share/zoneinfo/Europe/Berlin, 0x10000)
32 533519 [main] stat 1160 normalize_posix_path: src /usr/share/zoneinfo/Europe/Berlin
27 533546 [main] stat 1160 normalize_posix_path: /usr/share/zoneinfo/Europe/Berlin = normalize_posix_path (/usr/share/zoneinfo/Europe/Berlin)
28 533574 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/zoneinfo/Europe/Berlin)
30 533604 [main] stat 1160 set_flags: flags: binary (0x2)
27 533631 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/zoneinfo/Europe/Berlin, dst C:\cygwin\usr\share\zoneinfo\Europe\Berlin, flags 0x3000A, rc 0
55 533686 [main] stat 1160 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\zoneinfo\Europe\Berlin)
41 533727 [main] stat 1160 symlink_info::check: not a symlink
34 533761 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\zoneinfo\Europe\Berlin, 0x2267D8) (0x3000A)
30 533791 [main] stat 1160 path_conv::check: this->path(C:\cygwin\usr\share\zoneinfo\Europe\Berlin), has_acls(1)
37 533828 [main] stat 1160 build_fh_pc: fh 0x612ADC74, dev 000000C3
31 533859 [main] stat 1160 fhandler_base::open: (\??\C:\cygwin\usr\share\zoneinfo\Europe\Berlin, 0x118000)
43 533902 [main] stat 1160 fhandler_base::set_flags: flags 0x118000, supplied_bin 0x10000
50 533952 [main] stat 1160 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
26 533978 [main] stat 1160 fhandler_base::set_flags: filemode set to binary
61 534039 [main] stat 1160 fhandler_base::open: 0x0 = NtCreateFile (0x6D8, 0x80100000, \??\C:\cygwin\usr\share\zoneinfo\Europe\Berlin, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
30 534069 [main] stat 1160 fhandler_base::open: 1 = fhandler_base::open(\??\C:\cygwin\usr\share\zoneinfo\Europe\Berlin, 0x118000)
34 534103 [main] stat 1160 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\zoneinfo\Europe\Berlin, 0x18000)
30 534133 [main] stat 1160 open: 3 = open(/usr/share/zoneinfo/Europe/Berlin, 0x18000)
29 534162 [main] stat 1160 read: read(3, 0x2004D908, 29000) blocking
75 534237 [main] stat 1160 fhandler_base::read: returning 2309, binary mode
143 534380 [main] stat 1160 read: 2309 = read(3, 0x2004D908, 29000)
36 534416 [main] stat 1160 close: close(3)
29 534445 [main] stat 1160 fhandler_base::close: closing '/usr/share/zoneinfo/Europe/Berlin' handle 0x6D8
35 534480 [main] stat 1160 close: 0 = close(3)
410 534890 [main] stat 1160 open: open(/usr/share/zoneinfo/GMT, 0x10000)
40 534930 [main] stat 1160 normalize_posix_path: src /usr/share/zoneinfo/GMT
28 534958 [main] stat 1160 normalize_posix_path: /usr/share/zoneinfo/GMT = normalize_posix_path (/usr/share/zoneinfo/GMT)
28 534986 [main] stat 1160 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/zoneinfo/GMT)
37 535023 [main] stat 1160 set_flags: flags: binary (0x2)
149 535172 [main] stat 1160 mount_info::conv_to_win32_path: src_path /usr/share/zoneinfo/GMT, dst C:\cygwin\usr\share\zoneinfo\GMT, flags 0x3000A, rc 0
69 535241 [main] stat 1160 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\usr\share\zoneinfo\GMT)
41 535282 [main] stat 1160 symlink_info::check: not a symlink
37 535319 [main] stat 1160 symlink_info::check: 0 = symlink.check(C:\cygwin\usr\share\zoneinfo\GMT, 0x2262D8) (0x3000A)
31 535350 [main] stat 1160 path_conv::check: this->path(C:\cygwin\usr\share\zoneinfo\GMT), has_acls(1)
37 535387 [main] stat 1160 build_fh_pc: fh 0x612ADC74, dev 000000C3
102 535489 [main] stat 1160 fhandler_base::open: (\??\C:\cygwin\usr\share\zoneinfo\GMT, 0x118000)
50 535539 [main] stat 1160 fhandler_base::set_flags: flags 0x118000, supplied_bin 0x10000
29 535568 [main] stat 1160 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
26 535594 [main] stat 1160 fhandler_base::set_flags: filemode set to binary
27 535621 [main] stat 1160 fhandler_base::open: 0x0 = NtCreateFile (0x6D4, 0x80100000, \??\C:\cygwin\usr\share\zoneinfo\GMT, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
29 535650 [main] stat 1160 fhandler_base::open: 1 = fhandler_base::open(\??\C:\cygwin\usr\share\zoneinfo\GMT, 0x118000)
46 535696 [main] stat 1160 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\C:\cygwin\usr\share\zoneinfo\GMT, 0x18000)
31 535727 [main] stat 1160 open: 3 = open(/usr/share/zoneinfo/GMT, 0x18000)
28 535755 [main] stat 1160 read: read(3, 0x20050828, 29000) blocking
66 535821 [main] stat 1160 fhandler_base::read: returning 118, binary mode
29 535850 [main] stat 1160 read: 118 = read(3, 0x20050828, 29000)
28 535878 [main] stat 1160 close: close(3)
44 535922 [main] stat 1160 fhandler_base::close: closing '/usr/share/zoneinfo/GMT' handle 0x6D4
163 536085 [main] stat 1160 close: 0 = close(3)
422 536507 [main] stat 1160 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 44)
28 536535 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
51 536586 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex: acquired
32 536618 [main] stat 1160 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
27 536645 [main] stat 1160 write: 44 = write(1, 0x2003A9B0, 44)
623 537268 [main] stat 1160 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 44)
31 537299 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
28 537327 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex: acquired
31 537358 [main] stat 1160 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
27 537385 [main] stat 1160 write: 44 = write(1, 0x2003A9B0, 44)
858 538243 [main] stat 1160 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 44)
36 538279 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
29 538308 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex: acquired
141 538449 [main] stat 1160 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
37 538486 [main] stat 1160 write: 44 = write(1, 0x2003A9B0, 44)
904 539390 [main] stat 1160 fhandler_pty_slave::write: pty1, write(0x2003A9B0, 44)
33 539423 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex (0x754): waiting -1 ms
31 539454 [main] stat 1160 fhandler_pty_slave::write: (656): pty output_mutex: acquired
30 539484 [main] stat 1160 fhandler_pty_slave::write: (671): pty output_mutex(0x754) released
43 539527 [main] stat 1160 write: 44 = write(1, 0x2003A9B0, 44)
1002 540529 [main] stat 1160 close: close(1)
37 540566 [main] stat 1160 fhandler_base::close_with_arch: line 1140: /dev/pty1<0x612AD4E4> usecount + -1 = 3
28 540594 [main] stat 1160 fhandler_base::close_with_arch: not closing archetype
36 540630 [main] stat 1160 close: 0 = close(1)
696 541326 [main] stat 1160 close: close(2)
33 541359 [main] stat 1160 fhandler_base::close_with_arch: line 1140: /dev/pty1<0x612AD4E4> usecount + -1 = 2
53 541412 [main] stat 1160 fhandler_base::close_with_arch: not closing archetype
29 541441 [main] stat 1160 close: 0 = close(2)
365 541806 [main] stat 1160 do_exit: do_exit (0), exit_state 1
30 541836 [main] stat 1160 void: 0x0 = signal (20, 0x1)
27 541863 [main] stat 1160 void: 0x0 = signal (1, 0x1)
26 541889 [main] stat 1160 void: 0x0 = signal (2, 0x1)
26 541915 [main] stat 1160 void: 0x0 = signal (3, 0x1)
57 541972 [main] stat 1160 fhandler_base::close_with_arch: line 1140: /dev/pty1<0x612AD4E4> usecount + -1 = 1
28 542000 [main] stat 1160 fhandler_base::close_with_arch: not closing archetype
28 542028 [main] stat 1160 init_cygheap::close_ctty: closing cygheap->ctty 0x612AD4E4
28 542056 [main] stat 1160 fhandler_base::close_with_arch: closing passed in archetype 0x0, usecount 0
27 542083 [main] stat 1160 fhandler_pty_slave::cleanup: /dev/pty1 closed, usecount 0
27 542110 [main] stat 1160 fhandler_pty_slave::close: closing last open /dev/pty1 handle
74 542184 [main] stat 1160 fhandler_console::free_console: freed console, res 1
31 542215 [main] stat 1160 fhandler_pty_common::close: pty1 <0x744,0x73C> closing
32 542247 [main] stat 1160 dtable::delete_archetype: deleting element 0 for /dev/pty1(136/1)
33 542280 [main] stat 1160 getpid: 1160 = getpid()
31 542311 [main] stat 1160 proc_terminate: nprocs 0
37 542348 [main] stat 1160 proc_terminate: leaving
42 542390 [main] stat 1160 pinfo::exit: Calling ExitProcess n 0x0, exitcode 0x0
[-- Attachment #4: Type: text/plain, Size: 218 bytes --]
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-28 8:03 ` D. Boland
@ 2014-07-28 9:14 ` Corinna Vinschen
2014-07-28 11:38 ` D. Boland
0 siblings, 1 reply; 28+ messages in thread
From: Corinna Vinschen @ 2014-07-28 9:14 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 2803 bytes --]
On Jul 28 10:07, D. Boland wrote:
> Corinna Vinschen wrote:
> > On Jul 24 23:42, D. Boland wrote:
> > > [...]
> > > If I have Sendmail running in preferred mode (main program as
> > > cyg_server, children running as 'smmsp', removed from admin group),
> > > stat returns the wrong mode (rwxrwxrwx). As a consequence, Sendmail
> > > refuses to deliver email.
> >
> > That shouldn't happen. Unless your home dir is on FAT or FAT32
> > and you're using the wrong umask. For a start, can you try this:
> >
> > Login as user smmsp twice, once with admin privs, once without.
> > [...]
>
> Here's the output I get on the terminal:
>
> [...]
> $ strace -o /tmp/stat.trace stat /home/daniel/
> File: `/home/daniel/'
> Size: 0 Blocks: 0 IO Block: 65536 directory
> Device: e82f1393h/3895399315d Inode: 1970324836993607 Links: 1
> Access: (0755/drwxr-xr-x) Uid: ( 1003/ daniel) Gid: ( 513/ None)
> Access: 2014-07-28 09:40:47.976156800 +0200
> Modify: 2014-07-17 11:40:03.095408000 +0200
> Change: 2014-07-17 11:40:03.095408000 +0200
> Birth: 2014-05-22 17:00:44.538505600 +0200
> [...]
> $ strace -o /tmp/stat.trace.admin stat /home/daniel/
> File: `/home/daniel/'
> Size: 0 Blocks: 0 IO Block: 65536 directory
> Device: e82f1393h/3895399315d Inode: 1970324836993607 Links: 1
> Access: (0755/drwxr-xr-x) Uid: ( 1003/ daniel) Gid: ( 513/ None)
> Access: 2014-07-28 09:53:19.596934400 +0200
> Modify: 2014-07-17 11:40:03.095408000 +0200
> Change: 2014-07-17 11:40:03.095408000 +0200
> Birth: 2014-05-22 17:00:44.538505600 +0200
The permissions are the same in both cases, 0755. This doesn't help us,
unfortunately.
Still, are you using setuid method 1 or another method? Is your home
dir the default /home/$USER as created from inside the Cygwin
environment? Any chance your home dir has an unusual ACL?
Did you set up sshd as service? If not, you might consider to do that
so you can check what happens when switching to the smmsp account. Run
ssh-host-config as admin, install the service. Create an authorized_keys
file for the smmsp user (run ssh-user-config under smmsp for instance),
then start the service. Now login to the smmsp user account using
public key authentication, admin-enabled vs. non-admin as above(*), and
observe the permissions ls or stat show you for your home dir. Are they
really different? If so, let's see the strace output again.
Corinna
(*) Note that an ssh login to an admin account will always provide you
with an admin-enabled user token, not an UAC-disabled one.
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-28 9:14 ` Corinna Vinschen
@ 2014-07-28 11:38 ` D. Boland
2014-07-28 11:53 ` Corinna Vinschen
0 siblings, 1 reply; 28+ messages in thread
From: D. Boland @ 2014-07-28 11:38 UTC (permalink / raw)
To: cygwin
Hi Corinna,
Corinna Vinschen wrote:
>
> Still, are you using setuid method 1 or another method? Is your home
> dir the default /home/$USER as created from inside the Cygwin
> environment? Any chance your home dir has an unusual ACL?
>
> Did you set up sshd as service? If not, you might consider to do that
> so you can check what happens when switching to the smmsp account. Run
> ssh-host-config as admin, install the service. Create an authorized_keys
> file for the smmsp user (run ssh-user-config under smmsp for instance),
> then start the service. Now login to the smmsp user account using
> public key authentication, admin-enabled vs. non-admin as above(*), and
> observe the permissions ls or stat show you for your home dir. Are they
> really different? If so, let's see the strace output again.
Argh! I checked the /home folder and it was indeed group and world writable. After
setting it to 0755 sendmail had no issues anymore. Sendmail checks permissions on
the entire path. I cannot remember setting it 0777, so something else must have set
it.
Regarding the suid method: You mean method 1, 2 and 3 in the "Using Windows security
in Cygwin" article, right? I have nothing special set up, so it uses the default
method 1.
As to the sshd, I had it set up as a service already.
Thanks again for your help. I will announce the Sendmail release soon.
Cincerely,
Daniel
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-28 11:38 ` D. Boland
@ 2014-07-28 11:53 ` Corinna Vinschen
2014-07-28 12:04 ` Corinna Vinschen
2014-07-29 14:02 ` D. Boland
0 siblings, 2 replies; 28+ messages in thread
From: Corinna Vinschen @ 2014-07-28 11:53 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 2079 bytes --]
On Jul 28 13:42, D. Boland wrote:
> Hi Corinna,
>
> Corinna Vinschen wrote:
> >
> > Still, are you using setuid method 1 or another method? Is your home
> > dir the default /home/$USER as created from inside the Cygwin
> > environment? Any chance your home dir has an unusual ACL?
> >
> > Did you set up sshd as service? If not, you might consider to do that
> > so you can check what happens when switching to the smmsp account. Run
> > ssh-host-config as admin, install the service. Create an authorized_keys
> > file for the smmsp user (run ssh-user-config under smmsp for instance),
> > then start the service. Now login to the smmsp user account using
> > public key authentication, admin-enabled vs. non-admin as above(*), and
> > observe the permissions ls or stat show you for your home dir. Are they
> > really different? If so, let's see the strace output again.
>
> Argh! I checked the /home folder and it was indeed group and world writable. After
> setting it to 0755 sendmail had no issues anymore. Sendmail checks permissions on
> the entire path. I cannot remember setting it 0777, so something else must have set
> it.
The permissions of the home folder are set to 01777 by default (S_ISVTX
bit!). Since we can't rely on central administration for Cygwin, this
allows a user to create her own homedir automatically at first start of
a Cygwin shell.
You might consider to disable this full patch check in sendmail for
Cygwin. Is there some configuration flag, maybe?
> Regarding the suid method: You mean method 1, 2 and 3 in the "Using Windows security
> in Cygwin" article, right? I have nothing special set up, so it uses the default
> method 1.
>
> As to the sshd, I had it set up as a service already.
>
> Thanks again for your help. I will announce the Sendmail release soon.
Thanks, but you need to send an ITA to cygwin-apps first.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-28 11:53 ` Corinna Vinschen
@ 2014-07-28 12:04 ` Corinna Vinschen
2014-07-29 14:02 ` D. Boland
1 sibling, 0 replies; 28+ messages in thread
From: Corinna Vinschen @ 2014-07-28 12:04 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 405 bytes --]
On Jul 28 13:53, Corinna Vinschen wrote:
> On Jul 28 13:42, D. Boland wrote:
> > Thanks again for your help. I will announce the Sendmail release soon.
>
> Thanks, but you need to send an ITA to cygwin-apps first.
s/ITA/ITP/
Sorry,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-28 11:53 ` Corinna Vinschen
2014-07-28 12:04 ` Corinna Vinschen
@ 2014-07-29 14:02 ` D. Boland
2014-07-30 13:10 ` Corinna Vinschen
1 sibling, 1 reply; 28+ messages in thread
From: D. Boland @ 2014-07-29 14:02 UTC (permalink / raw)
To: cygwin
Corinna Vinschen wrote:
> The permissions of the home folder are set to 01777 by default (S_ISVTX
> bit!). Since we can't rely on central administration for Cygwin, this
> allows a user to create her own homedir automatically at first start of
> a Cygwin shell.
>
> You might consider to disable this full patch check in sendmail for
> Cygwin. Is there some configuration flag, maybe?
>
If I make the 'Users' group owner of the /home folder and remove the world-writable
bit, Sendmail doesn't complain anymore. I found out that everybody who is logged on,
will be put in the 'Users' group anyway.
Regards,
Daniel
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-29 14:02 ` D. Boland
@ 2014-07-30 13:10 ` Corinna Vinschen
2014-07-31 12:48 ` D. Boland
0 siblings, 1 reply; 28+ messages in thread
From: Corinna Vinschen @ 2014-07-30 13:10 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 980 bytes --]
On Jul 29 15:36, D. Boland wrote:
> Corinna Vinschen wrote:
> > The permissions of the home folder are set to 01777 by default (S_ISVTX
> > bit!). Since we can't rely on central administration for Cygwin, this
> > allows a user to create her own homedir automatically at first start of
> > a Cygwin shell.
> >
> > You might consider to disable this full patch check in sendmail for
> > Cygwin. Is there some configuration flag, maybe?
> >
>
> If I make the 'Users' group owner of the /home folder and remove the world-writable
> bit, Sendmail doesn't complain anymore. I found out that everybody who is logged on,
> will be put in the 'Users' group anyway.
Uhm... that works for you, but you can't rely on that for a sendmail
package. You'd have to deal with the default 01777 /home as well.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: The eternal uid issue
2014-07-30 13:10 ` Corinna Vinschen
@ 2014-07-31 12:48 ` D. Boland
0 siblings, 0 replies; 28+ messages in thread
From: D. Boland @ 2014-07-31 12:48 UTC (permalink / raw)
To: cygwin
Corinna Vinschen wrote:
>
> On Jul 29 15:36, D. Boland wrote:
> > Corinna Vinschen wrote:
> > > The permissions of the home folder are set to 01777 by default (S_ISVTX
> > > bit!). Since we can't rely on central administration for Cygwin, this
> > > allows a user to create her own homedir automatically at first start of
> > > a Cygwin shell.
> > >
> > > You might consider to disable this full patch check in sendmail for
> > > Cygwin. Is there some configuration flag, maybe?
> > >
> >
> > If I make the 'Users' group owner of the /home folder and remove the world-writable
> > bit, Sendmail doesn't complain anymore. I found out that everybody who is logged on,
> > will be put in the 'Users' group anyway.
>
> Uhm... that works for you, but you can't rely on that for a sendmail
> package. You'd have to deal with the default 01777 /home as well.
Yes, yes, I know. Cygwin shouldn't want to lock their users out of their own system.
Sendmail is a real b&^ch with security. This project cost me 2 1/2 weeks straight,
trying to figure out a way to accomodate its strict impersonation rules on a system
which has multiple root users. But I did it. No hacking in the sendmail source code.
Anyway, today I tested it succesfully on my Win7 machine (32bit Cygwin), but no
complaining from Sendmail, even with a home folder which is group- and world
writable. Strange.
Cincerely,
Daniel
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 28+ messages in thread
end of thread, other threads:[~2014-07-31 12:48 UTC | newest]
Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-23 8:01 The eternal uid issue D. Boland
2014-07-23 8:19 ` Linda Walsh
2014-07-23 8:34 ` D. Boland
2014-07-26 2:07 ` The deprecated uid issue: use caps Linda Walsh
2014-07-26 13:29 ` D. Boland
2014-07-23 9:14 ` The eternal uid issue Corinna Vinschen
2014-07-23 11:31 ` D. Boland
2014-07-23 15:13 ` Larry Hall (Cygwin)
2014-07-23 15:24 ` Corinna Vinschen
2014-07-24 6:48 ` D. Boland
2014-07-24 13:52 ` Corinna Vinschen
2014-07-24 21:38 ` D. Boland
2014-07-24 22:18 ` Jeffrey Altman
2014-07-25 12:42 ` Corinna Vinschen
2014-07-25 12:47 ` Corinna Vinschen
2014-07-25 14:01 ` D. Boland
2014-07-28 8:03 ` D. Boland
2014-07-28 9:14 ` Corinna Vinschen
2014-07-28 11:38 ` D. Boland
2014-07-28 11:53 ` Corinna Vinschen
2014-07-28 12:04 ` Corinna Vinschen
2014-07-29 14:02 ` D. Boland
2014-07-30 13:10 ` Corinna Vinschen
2014-07-31 12:48 ` D. Boland
2014-07-23 16:20 ` Andrey Repin
2014-07-23 16:27 ` Christopher Faylor
2014-07-24 9:30 ` D. Boland
2014-07-24 13:20 ` Andrey Repin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).