This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Mar 26 10:55, Houder wrote: > [...] > 1538 if (status != STATUS_SUCCESS) > 1539 { > 1540 debug_printf ("%s: %y", logon ? "LsaRegisterLogonProcess" > 1541 : "LsaConnectUntrusted", status); > // Henri: HACK! > // LsaRegisterLogonProcess returns STATUS_PORT_CONNECTION_REFUSED > if (status == STATUS_PORT_CONNECTION_REFUSED) // > ((NTSTATUS)0xC0000041) > // => EACCES ... > WRONG! > { > // status that was previously returned by NtCreateToken > status = STATUS_PRIVILEGE_NOT_HELD; // ((NTSTATUS)0xC0000061) > => EPERM > } Thanks for the find. Just send the important two lines as git patch to cygwin-patches with a short commit message why the error code needs tweaking. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer
Attachment:
signature.asc
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |