[#7978] Patch for Unix socket peer credentials — "James F. Hranicky" <jfh@...>

This patch adds support for getting the uid and gid of the peer

27 messages 2006/06/09
[#8004] Re: Patch for Unix socket peer credentials — Tanaka Akira <akr@...17n.org> 2006/06/16

In article <200606091528.30171.jfh@cise.ufl.edu>,

[#8005] Re: Patch for Unix socket peer credentials — "James F. Hranicky" <jfh@...> 2006/06/16

On Friday 16 June 2006 11:51, Tanaka Akira wrote:

[#8010] Re: Patch for Unix socket peer credentials — Tanaka Akira <akr@...17n.org> 2006/06/17

In article <200606161327.35948.jfh@cise.ufl.edu>,

[#8191] Re: Patch for Unix socket peer credentials — "James F. Hranicky" <jfh@...> 2006/07/10

On Saturday 17 June 2006 06:27, Tanaka Akira wrote:

[#8193] Re: Patch for Unix socket peer credentials — Tanaka Akira <akr@...> 2006/07/11

In article <200607101352.16804.jfh@cise.ufl.edu>,

[#8212] Re: Patch for Unix socket peer credentials — "James F. Hranicky" <jfh@...> 2006/07/13

On Tuesday 11 July 2006 00:10, Tanaka Akira wrote:

[#8217] Re: Patch for Unix socket peer credentials — nobu@... 2006/07/14

Hi,

[#8257] Re: Patch for Unix socket peer credentials — "James F. Hranicky" <jfh@...> 2006/07/18

On Thursday 13 July 2006 22:48, nobu@ruby-lang.org wrote:

[#8258] Re: Patch for Unix socket peer credentials — Eric Hodel <drbrain@...7.net> 2006/07/18

On Jul 18, 2006, at 12:27 PM, James F. Hranicky wrote:

[#8073] 1.8.5p1 build failure on Solaris 10 — "Daniel Berger" <Daniel.Berger@...>

Solaris 10

23 messages 2006/06/27
[#8074] Re: 1.8.5p1 build failure on Solaris 10 — Yukihiro Matsumoto <matz@...> 2006/06/28

Hi,

[#8078] Re: 1.8.5p1 build failure on Solaris 10 — "Daniel Berger" <Daniel.Berger@...> 2006/06/28

Yukihiro Matsumoto wrote:

[#8079] Re: 1.8.5p1 build failure on Solaris 10 — ts <decoux@...> 2006/06/28

>>>>> "D" == Daniel Berger <Daniel.Berger@qwest.com> writes:

[#8096] Re: 1.8.5p1 build failure on Solaris 10 — ville.mattila@... 2006/06/29

ts <decoux@moulon.inra.fr> wrote on 28.06.2006 17:37:00:

Windows XP SP2 socket issues

From: "Dan Hatfield" <dan.hatfield@...>
Date: 2006-06-05 15:32:48 UTC
List: ruby-core #7945
I'm trying to determine the best course of action for myself on this issue
(windows IFS sockets)...
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/5388

The patch has been applied to 1.9:
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/win32/win32.c.diff?r1=1.154;r2=1.155;f=h
I downloaded the latest 1.9 binary and it is indeed fixed.

Of course, I need Ruby 1.8 for Rails...

I had started down the path of patching ruby 1.8.4 and recompiling. I
grabbed the latest --- 1.8.4-17 release candidate 2.
And I patched the source as shown here:
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/win32/win32.c.diff?r1=1.154;r2=1.155;f=h

That's a bit naive I know. :) Interestingly, it generally appears to work
but I appear to be blowing up when it tries to close the socket now.

The other caveat is that I've been compiling ruby using VS2005 Express
Edition (I've followed the exchanges with Austin Ziegler on this
mailing list). That's actually been pretty painless as the details are
documented well in this mailing list.

My questions are:

1) Is there any effort to get this ifs sockets patch into 1.8 currently?
With 1.9 being an experimental branch and Ruby 2.0 not coming anytime soon,
I'm thinking this problem will be growing an importance as more people end
up on XP SP2.

2) Or should I just continue down the path of recompiling my own binaries?
And if so, is there anyone out there that knows enough about these ifs
sockets to help me debug my patch?

3) Or am I better off trying to get rails to run under 1.9 (that may not be
a question for this list, I can post in on rails devel)?

4) Or should I just punt and go for a dual boot with FreeBSD or something?
:)

Thanks in advance for any advice you can offer.

Dan

In This Thread

Prev Next