[OpenAFS-devel] comment on applied kauth/user_nt.c patch
Jeffrey Altman
jaltman@columbia.edu
Tue, 02 Dec 2003 17:18:10 -0500
This is a cryptographically signed message in MIME format.
--------------ms090602060305040902000502
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
This is a windows specific file. The type of SOCKET is Unsigned Int on
all platforms.
This is safe.
Joe Buehler wrote:
> Looking at the current CVS, I see that the following snippet
> in kauth/user_nt.c is still incorrect:
>
> if (krb_debug) {
> fprintf(stderr, "select failed: readfds=%p", readfds);
> perror("");
> }
>
> I had submitted a patch containing a comment about the format
> being incorrect. I should have been less terse -- the problem is that
> readfds may have a non-integral type. It is a set of file descriptors,
> so it might actually be an array or a struct. The format was originally
> %x, which will work for integer "readfds". But for RedHat 9, for
> example,
> readfds is actually a struct containing an array of 32 or so longs.
--------------ms090602060305040902000502
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKtDCC
A4IwggJqAgIArjANBgkqhkiG9w0BAQQFADBWMQswCQYDVQQGEwJVUzERMA8GA1UECBMITmV3
IFlvcmsxNDAyBgNVBAoTK0NvbHVtYmlhIFVuaXZlcnNpdHkgaW4gdGhlIENpdHkgb2YgTmV3
IFlvcmswHhcNMDMwNDE0MTMzMDQ1WhcNMDQwNDEzMTMzMDQ1WjCBtjELMAkGA1UEBhMCVVMx
ETAPBgNVBAgTCE5ldyBZb3JrMRYwFAYDVQQHEw1OZXcgWW9yayBDaXR5MRwwGgYDVQQKExND
b2x1bWJpYSBVbml2ZXJzaXR5MRswGQYDVQQLExJUaGUgS2VybWl0IFByb2plY3QxHDAaBgNV
BAMTE0plZmZyZXkgRXJpYyBBbHRtYW4xIzAhBgkqhkiG9w0BCQEWFGphbHRtYW5AY29sdW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