[#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:

Re: 1.8.5p1 build failure on Solaris 10

From: ville.mattila@...
Date: 2006-06-29 19:10:32 UTC
List: ruby-core #8100
Yukihiro Matsumoto <matz@ruby-lang.org> wrote on 29.06.2006 20:53:20:

> Hi,
> 
> In message "Re: 1.8.5p1 build failure on Solaris 10"
>     on Fri, 30 Jun 2006 02:35:51 +0900, ville.mattila@stonesoft.com 
writes:
> 
> |> Can you write a patch for us?
> |
> |   Yes I can. It will be ready 10.7 at the latest. I'm on summer 
vacation 
> |and my computer time is limited...
> 
> 
At the end is minimal patch. It seems to work with the following compilers

sun's supported gcc
/usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure 
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as 
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ 
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

The latest gcc
 /usr/local/gcc-4.1/bin/gcc -v
Using built-in specs.
Target: i386-pc-solaris2.10
Configured with: ../configure --prefix=/usr/local/gcc-4.1 
--with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld 
--without-gnu-ld --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 4.1.1

and the sun's forte compiler
 /opt/SUNWspro/bin/cc -V 
cc: Sun C 5.8 2005/10/13

I didn't use the gcc option "-std=gnu99" because with that option I got 
errors with the sun's gcc.

bash-3.00# cvs diff -up configure.in
Index: configure.in
===================================================================
RCS file: /src/ruby/configure.in,v
retrieving revision 1.212.2.50
diff -u -p -r1.212.2.50 configure.in
--- configure.in        27 Jun 2006 07:21:24 -0000      1.212.2.50
+++ configure.in        29 Jun 2006 19:04:15 -0000
@@ -417,7 +417,9 @@ bow)                ac_cv_func_setitimer=no
                ;;
 superux*)     ac_cv_func_setitimer=no
               ;;
-solaris*2.10)  ac_cv_func_isinf=yes
+solaris*2.10)  if test -z "$GCC"; then
+                      ac_cv_func_isinf=yes
+              fi
                LIBS="-lm $LIBS"
               ;;
 *) LIBS="-lm $LIBS";;

In This Thread