Re: RFC: [PATCH] SCM_CREDS support 1(2)

2013-10-15 Thread Svante Signell
On Wed, 2013-10-16 at 07:35 +0200, Svante Signell wrote: > On Wed, 2013-10-16 at 00:49 +0200, Samuel Thibault wrote: > > Samuel Thibault, le Wed 16 Oct 2013 00:48:35 +0200, a écrit : > > > Because the receiver does not trust the sender. > > > > And that is the *whole* point of SCM_CREDS. Otherwise

Re: RFC: [PATCH] SCM_CREDS support 1(2)

2013-10-15 Thread Svante Signell
On Wed, 2013-10-16 at 00:49 +0200, Samuel Thibault wrote: > Samuel Thibault, le Wed 16 Oct 2013 00:48:35 +0200, a écrit : > > Because the receiver does not trust the sender. > > And that is the *whole* point of SCM_CREDS. Otherwise the sender could > simply write a mere struct, without having to g

Re: RFC: [PATCH] SCM_CREDS support 1(2)

2013-10-15 Thread Samuel Thibault
Samuel Thibault, le Wed 16 Oct 2013 00:48:35 +0200, a écrit : > Because the receiver does not trust the sender. And that is the *whole* point of SCM_CREDS. Otherwise the sender could simply write a mere struct, without having to go through SCM_*. Samuel

Re: RFC: [PATCH] SCM_CREDS support 1(2)

2013-10-15 Thread Samuel Thibault
Svante Signell, le Wed 16 Oct 2013 00:46:54 +0200, a écrit : > On Wed, 2013-10-16 at 00:42 +0200, Samuel Thibault wrote: > > Svante Signell, le Wed 16 Oct 2013 00:40:18 +0200, a écrit : > > > On Wed, 2013-10-16 at 00:28 +0200, Samuel Thibault wrote: > > > > Svante Signell, le Tue 15 Oct 2013 10:33:

Re: RFC: [PATCH] SCM_CREDS support 1(2)

2013-10-15 Thread Svante Signell
On Wed, 2013-10-16 at 00:42 +0200, Samuel Thibault wrote: > Svante Signell, le Wed 16 Oct 2013 00:40:18 +0200, a écrit : > > On Wed, 2013-10-16 at 00:28 +0200, Samuel Thibault wrote: > > > Svante Signell, le Tue 15 Oct 2013 10:33:12 +0200, a écrit : > > > > + pids = __getpid(); > > > > +

Re: RFC: [PATCH] SCM_CREDS support 1(2)

2013-10-15 Thread Samuel Thibault
Svante Signell, le Wed 16 Oct 2013 00:40:18 +0200, a écrit : > On Wed, 2013-10-16 at 00:28 +0200, Samuel Thibault wrote: > > Svante Signell, le Tue 15 Oct 2013 10:33:12 +0200, a écrit : > > > + pids = __getpid(); > > > + euids = __geteuid(); > > > + auids = __getuid(); > > > + egids = __get

Re: RFC: [PATCH] SCM_CREDS support 1(2)

2013-10-15 Thread Svante Signell
On Wed, 2013-10-16 at 00:28 +0200, Samuel Thibault wrote: > Svante Signell, le Tue 15 Oct 2013 10:33:12 +0200, a écrit : > > + pids = __getpid(); > > + euids = __geteuid(); > > + auids = __getuid(); > > + egids = __getegid(); > > + agids = __getgid(); > > Err, which part of the

Re: RFC: [PATCH] SCM_CREDS support 1(2)

2013-10-15 Thread Samuel Thibault
Svante Signell, le Tue 15 Oct 2013 10:33:12 +0200, a écrit : > + pids = __getpid(); > + euids = __geteuid(); > + auids = __getuid(); > + egids = __getegid(); > + agids = __getgid(); Err, which part of the protocol which check that these are actually the proper value?

Re: Novice Contributor

2013-10-15 Thread Samuel Thibault
Abhinav Jangda, le Tue 15 Oct 2013 17:09:53 +0530, a écrit : > Yeah, that is what I did. And I am saw the code of ipc_port.c and some of the > code is of even old K&R C. I did the changes, after that what to do? > Create a patch and submit it on a bug report or create a pull request? Either of tho

RE: Novice Contributor

2013-10-15 Thread Abhinav Jangda
Thanks for reply. > Date: Mon, 14 Oct 2013 23:44:16 +0200 > From: rbr...@sceen.net > To: abhijan...@hotmail.com > CC: bug-hurd@gnu.org > Subject: Re: Novice Contributor > > On Mon, Oct 14, 2013 at 11:27:24PM +0530, Abhinav Jangda wrote: > > I want to contribute to GNU Hurd, I saw this years GSoC

Re: RFC: [PATCH] SCM_CREDS support 2(2)

2013-10-15 Thread Svante Signell
Updated second patch, reflecting recent changes in the first patch. On Tue, 2013-10-15 at 10:36 +0200, Svante Signell wrote: > Hi, > > Patch 2(2) on SCM_CREDS support for GNU/Hurd. > > This patch is optional. kFreeBSD dos not support this case (but Linux > is). > > This patch implements the las

RFC: [PATCH] SCM_CREDS support 2(2)

2013-10-15 Thread Svante Signell
Hi, Patch 2(2) on SCM_CREDS support for GNU/Hurd. This patch is optional. kFreeBSD dos not support this case (but Linux is). This patch implements the last cases in the test code sent to the list in September 2013, options <-n> and <-z> see http://lists.debian.org/debian-hurd/2013/09/msg00034.ht

RFC: [PATCH] SCM_CREDS support 1(2)

2013-10-15 Thread Svante Signell
Hi, Patch 1(2) on SCM_CREDS support for GNU/Hurd. Time to publish the SCM_CREDS proposal to the list. From the patch there are some FIXMEs that need to be resolved for a final patch to be created. I've been running two kvm-images with eglibc built with this patch for a few weeks now, and haven't