Re: error compiling hurd after gnumach interface change

2010-07-17 Thread Karim Allah Ahmed
> This means that it's still using the mach.defs (it has less arguments than > the new one) which is strange because I've added the new > err. I meant "It's still using the old mach.defs (...) " -- Karim Allah Ahmed.

error compiling hurd after gnumach interface change

2010-07-17 Thread Karim Allah Ahmed
I've modified a little bit some RPCs of the current gnumach interface ( mainly added a new argument ) , all the changes are in ( [gnu-src]/include/mach/mach.defs ) , and I've modified the pager library accordingly. Now I'm compiling the pager library code to start testing the patch but I keep get

[PATCH 4/9] Fix "make dist" in `include'

2010-07-17 Thread Ludovic Courtès
From 50968edf6a4ee8af6ff63e2ee4a5b4d97013ff3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 17 Jul 2010 15:59:25 +0200 Subject: [PATCH 4/9] Fix "make dist" in `include'. * include/Makefile (lndist): New target. Copy `Makefile' and `$(installhdrs)' to the distribu

Re: [PATCH] Implement getsockopt (fd, SOL_SOCKET, SO_TYPE, ...)

2010-07-17 Thread Ludovic Courtès
Hi, Carl Fredrik Hammar writes: > On Sat, Jul 17, 2010 at 03:36:43PM +0200, Ludovic Courtès wrote: >> Emilio Pozuelo Monfort writes: >> >> > error_t >> > S_socket_getopt (struct sock_user *user, >> > int level, int opt, >> > char **value, size_t *value_len) >> > { >>

[PATCH 5/9] Fix "make dist" in `libcons'

2010-07-17 Thread Ludovic Courtès
From a3a336d5fa94d1f856ffdc0e8c45b7db455578b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 17 Jul 2010 16:00:16 +0200 Subject: [PATCH 5/9] Fix "make dist" in `libcons'. * libcons/Makefile (LCLHDRS): Add `$(installhdrs)'. --- libcons/Makefile |4 ++-- 1 files c

[PATCH 2/9] Fix "make dist" in `daemons'

2010-07-17 Thread Ludovic Courtès
From b02ceb3e85a9e98374d919a2d1995a7388926175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 17 Jul 2010 15:54:56 +0200 Subject: [PATCH 2/9] Fix "make dist" in `daemons'. * daemons/Makefile (SRCS): Add `runsystem.sh'. --- daemons/Makefile |4 ++-- 1 files change

[PATCH 6/9] Fix "make dist" in `libthreads'

2010-07-17 Thread Ludovic Courtès
From 8274c9e197f7d9edb44c0e22ab2cf7f1d83cbeff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 17 Jul 2010 16:01:52 +0200 Subject: [PATCH 6/9] Fix "make dist" in `libthreads'. * libthreads/Makefile (lndist, lndist-map-file): New targets. Link `libthreads.map' to the

[PATCH 8/9] Fix "make dist" in `pfinet'

2010-07-17 Thread Ludovic Courtès
This patch isn’t perfect in that stale ‘.o’ files or similar in the ‘linux-src’ and ‘glue-include’ directories would end up in the tarball. However, doing it the Right Way is somewhat tedious, so I consider this patch OK as a first approach. Thoughts? Thanks, Ludo’. From f0bcfbf475831c16a8416c34

[PATCH 7/9] Fix "make dist" in `sutils'

2010-07-17 Thread Ludovic Courtès
From 496924b22c4e896d50b5b45b533c92882399944a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 17 Jul 2010 16:07:47 +0200 Subject: [PATCH 7/9] Fix "make dist" in `sutils'. * sutils/Makefile (SRCS): Add `clookup.c', `fstab.c', and `update.c'. --- sutils/Makefile |4

[PATCH 3/9] Fix "make dist" in `exec'

2010-07-17 Thread Ludovic Courtès
From 55754cad6f51e753577d9d620fe40c4f958bf0de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 17 Jul 2010 15:57:42 +0200 Subject: [PATCH 3/9] Fix "make dist" in `exec'. * exec/Makefile (SRCS): Refer to `$(gzip-sources)' and `$(bzip2-sources)' instead of listing file

[PATCH 1/9] Fix "make dist" in `console-client'

2010-07-17 Thread Ludovic Courtès
Hello! This is the first of a series of 9 patches that fix “make dist” in the Hurd, and which have been used in continuous builds on Hydra [0]. Most of them are trivial, and the last one may be slightly controversial. The nice thing is that once “make dist” works, there’s little that prevents yo

Re: [PATCH] Implement getsockopt (fd, SOL_SOCKET, SO_TYPE, ...)

2010-07-17 Thread Carl Fredrik Hammar
On Sat, Jul 17, 2010 at 03:36:43PM +0200, Ludovic Courtès wrote: > Emilio Pozuelo Monfort writes: > > > error_t > > S_socket_getopt (struct sock_user *user, > > int level, int opt, > > char **value, size_t *value_len) > > { > > - return EOPNOTSUPP; > > + int ret = 0

Re: [PATCH] Implement getsockopt (fd, SOL_SOCKET, SO_TYPE, ...)

2010-07-17 Thread Ludovic Courtès
Hi, Emilio Pozuelo Monfort writes: > error_t > S_socket_getopt (struct sock_user *user, >int level, int opt, >char **value, size_t *value_len) > { > - return EOPNOTSUPP; > + int ret = 0; > + > + if (!user) > +return EOPNOTSUPP; > + > + mutex_lock (&user

Re: Fixing grub-probe to work with user-space part stores

2010-07-17 Thread Jérémie Koenig
On Wed, Jul 14, 2010 at 7:51 PM, Carl Fredrik Hammar wrote: > On Tue, Jul 13, 2010 at 08:00:24PM +0200, Jérémie Koenig wrote: >> The second one, which I favor and am working on so far, would be to >> enumerate the _grub_ devices, and use get_storage_info() on them too. > (...) > > This is a bit ha

Re: [PATCH] Use the new __hurd_exec_file_name RPC

2010-07-17 Thread Guillem Jover
Hi! On Fri, 2010-07-16 at 12:21:16 +0200, Emilio Pozuelo Monfort wrote: > And here goes the glibc one. > diff --git a/hurd/hurd.h b/hurd/hurd.h > index 642ea43..a83c3fa 100644 > --- a/hurd/hurd.h > +++ b/hurd/hurd.h > @@ -243,13 +243,21 @@ extern FILE *fopenport (io_t port, const char *mode); >

Re: [PATCH] Implement getsockopt (fd, SOL_SOCKET, SO_TYPE, ...)

2010-07-17 Thread Emilio Pozuelo Monfort
This fixed Carl and Samuel's comments. I haven't retested since the changes are trivial. Cheers, Emilio >From 6892a23b4387eab9cde63fa86a04b3e7efd615cf Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Wed, 14 Jul 2010 18:40:36 +0200 Subject: [PATCH] Implement getsockopt (fd, SOL_SOCKET

Re: [PATCH] Implement getsockopt (fd, SOL_SOCKET, SO_TYPE, ...)

2010-07-17 Thread Carl Fredrik Hammar
On Sat, Jul 17, 2010 at 12:25:48PM +0200, Carl Fredrik Hammar wrote: > Hi, > > On Sat, Jul 17, 2010 at 11:37:34AM +0200, Emilio Pozuelo Monfort wrote: > > + *(int*)*value = user->sock->pipe_class->sock_type; > > + *value_len = sizeof (int); > > + break; > > + default: > > + ret =

Re: [PATCH] Implement getsockopt (fd, SOL_SOCKET, SO_TYPE, ...)

2010-07-17 Thread Carl Fredrik Hammar
Hi, On Sat, Jul 17, 2010 at 11:37:34AM +0200, Emilio Pozuelo Monfort wrote: > On 15/07/10 20:46, Carl Fredrik Hammar wrote: > > On Thu, Jul 15, 2010 at 05:15:25PM +0200, Emilio Pozuelo Monfort wrote: > > The first thing you should do in any RPC that is not a stub is: > > if (!user) > > retur

Re: [PATCH] Implement getsockopt (fd, SOL_SOCKET, SO_TYPE, ...)

2010-07-17 Thread Samuel Thibault
Emilio Pozuelo Monfort, le Sat 17 Jul 2010 11:37:34 +0200, a écrit : > -/* Stubs for currently unsupported rpcs. */ Since you are removing this comment, you should probably add an empty switch case and return ENOPROTOOPT for setopt too. Samuel

Re: [PATCH] Implement getsockopt (fd, SOL_SOCKET, SO_TYPE, ...)

2010-07-17 Thread Emilio Pozuelo Monfort
Hi, On 15/07/10 20:46, Carl Fredrik Hammar wrote: > On Thu, Jul 15, 2010 at 05:15:25PM +0200, Emilio Pozuelo Monfort wrote: > The first thing you should do in any RPC that is not a stub is: > if (!user) > return EOPNOTSUPP; Done. I'm not sure when user would be NULL. Do you know it? > Also

Re: What do you need from the Hurd for your day-to-day tasks?

2010-07-17 Thread Emilio Pozuelo Monfort
On 15/07/10 17:54, Samuel Thibault wrote: > Emilio Pozuelo Monfort, le Wed 14 Jul 2010 21:13:11 +0200, a écrit : >> - Support for modern processors (Intel Core 2 Duo, I've heard anything newer >> than Pentium III may not work) > > I'd actually say that anything may not work, be it newer than Penti