Displaying 19 results from an estimated 19 matches for "ekonijn".
2005 May 24
2
klibc-1.0.12 released
Hopefully I should be up to date with all patches; haven't integrated
the module-init-tools, and some of Erik's patches didn't make it for
different reasons, which hopefully can be resolved soon.
If you have sent another patch which I haven't applied, please do let me
know.
-hpa
2005 May 22
1
[patch 05/12] make __constant_htons visible
...teorder.h>,
which is available in both glibc and klibc.
Perhaps __constant_htons should be dropped from the
klibc version of netinet/in.h: it provides nothing that
you cannot get via asm/byteorder, and gets in the way of
porting between glibc and klibc.
Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl>
Index: exec/nfsmount/mount.c
===================================================================
--- exec.orig/nfsmount/mount.c 2005-05-21 12:38:16.000000000 +0200
+++ exec/nfsmount/mount.c 2005-05-21 13:30:40.000000000 +0200
@@ -1,5 +1,6 @@
#include <sys/mount.h>
#include &l...
2005 May 22
0
[patch 08/12] use linux/if_ether.h
...we have <linux/if_ether.h>.
Let's use the common one.
Perhaps klibc should provide <netinet/if_ether.h>
instead of <net/if_ether.h>?
In glibc, <net/if_packet.h> does not provide
PACKET_BROADCAST; <linux/if_packet.h> does.
Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl>
Index: exec/ipconfig/packet.c
===================================================================
--- exec.orig/ipconfig/packet.c 2005-05-21 13:33:21.000000000 +0200
+++ exec/ipconfig/packet.c 2005-05-21 14:07:03.000000000 +0200
@@ -10,8 +10,8 @@
#include <stdlib.h>
#include...
2005 May 22
0
[patch 09/12] avoid use of linux/if.h via linux/if_arp.h
Use <net/if_arp.h> rather than <linux/if_arp.h>,
otherwise you suck in <linux/if.h>, which conflicts with <net/if.h>
in glibc.
Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl>
Index: exec/ipconfig/main.c
===================================================================
--- exec.orig/ipconfig/main.c 2005-05-21 14:58:33.000000000 +0200
+++ exec/ipconfig/main.c 2005-05-21 14:59:57.000000000 +0200
@@ -16,7 +16,7 @@
#include <fcntl.h>
#include <uni...
2005 May 22
0
[patch 12/12] new include file net/route.h
Provide <net/route.h>. This is the same as <linux/route.h>,
but under glibc it has the advantage that it does not
suck in <linux/if.h> which conflicts with <net/if.h>.
Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl>
Index: klibc-1.0.8/include/net/route.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ klibc-1.0.8/include/net/route.h 2005-05-21 15:22:23.000000000 +0200
@@ -0,0 +1 @@
+#include <linux/route.h>
--
2005 May 22
0
[patch 04/12] make POLLRDNORM visible
According to poll(2), POLLRDNORM is only available
ifdef _XOPEN_SOURCE.
Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl>
Index: exec/ipconfig/main.c
===================================================================
--- exec.orig/ipconfig/main.c 2005-05-21 13:09:54.000000000 +0200
+++ exec/ipconfig/main.c 2005-05-21 13:18:45.000000000 +0200
@@ -1,6 +1,7 @@
/*
* ipconfig/main.c
*/
+#define _XOPEN_...
2005 May 25
1
[PATCH] klcc on multiple files
...This might break the klcc from stdin option, but I can't
tell because I've got no idea how it's supposed to be invoked
and what gcc command line should result. If you can mail
a command line example I'll look for a cleaner solution.
-erik
Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl>
Index: klibc-1.0.12/klcc.in
===================================================================
--- klibc-1.0.12.orig/klcc.in 2005-05-25 08:19:19.000000000 +0200
+++ klibc-1.0.12/klcc.in 2005-05-25 14:26:25.000000000 +0200
@@ -81,10 +81,7 @@
# Run a program; printing out the command...
2005 Jun 05
0
[PATCH] avoid spurious umount error message
...sed to invoke both the mount
and umount PRC's. These take identical arguments, but umount returns
void rather than a file handle, so result should not be checked.
This avoids a spurious 'incomplete reply' message if
mount(2) system call fails.
Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl>
Index: klibc-1.0.14/nfsmount/mount.c
===================================================================
--- klibc-1.0.14.orig/nfsmount/mount.c 2005-05-27 07:02:31.000000000 +0200
+++ klibc-1.0.14/nfsmount/mount.c 2005-06-04 13:36:33.000000000 +0200
@@ -166,6 +166,10 @@
if (rpc_cal...
2005 Jun 05
0
fancy dump_fs for nfsmount
...ther than the file handle,
with ASCII rendering as bonus; output like so:
stuff: 0xbfffe41c, length 30
0000: 53 75 6e 20 4a 75 6e 20 20 35 20 31 34 3a 31 32 Sun Jun 5 1 4:12
0010: 3a 35 33 20 43 45 53 54 20 32 30 30 35 0a :53 CEST 200 5.
Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl>
Index: klibc-1.0.14/nfsmount/mount.c
===================================================================
--- klibc-1.0.14.orig/nfsmount/mount.c 2005-06-04 13:50:02.000000000 +0200
+++ klibc-1.0.14/nfsmount/mount.c 2005-06-04 15:07:52.000000000 +0200
@@ -7,6 +7,7 @@
#include <stdi...
2005 May 22
1
[patch 11/12] Unpleasantness in linux/nfs_mount.h
...mits
for anything that wants to be compatible with glibc.
This uses the same workaround used by util-linux: just copy
the relevant declarations. Ugly, but it's not like people
are going to change the NFS mount interface from under us
without warning.
Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl>
Index: exec/nfsmount/main.c
===================================================================
--- exec.orig/nfsmount/main.c 2005-05-21 13:10:26.000000000 +0200
+++ exec/nfsmount/main.c 2005-05-21 14:32:12.000000000 +0200
@@ -14,8 +14,6 @@
#include <sys/wait.h>
#include <...
2005 Mar 02
0
[PATCH] select.h and extern define
If __extern is used in a header, extern.h is needed to resolve that to extern.
Regards,
Erik
diff -urN klibc-0.202-pristine/include/sys/select.h klibc-0.202/include/sys/select.h
--- klibc-0.202-pristine/include/sys/select.h 2002-08-09 08:27:31.000000000 +0200
+++ klibc-0.202/include/sys/select.h 2005-03-02 20:05:54.000000000 +0100
@@ -5,6 +5,7 @@
#ifndef _SYS_SELECT_H
#define _SYS_SELECT_H
2005 Mar 02
1
[PATCH] signal.h
This patch does two things.
This test program results (on i386) in an error about _NSIG:
#include <signal.h>
#if defined (SIGRTMAX)
int rtmax = SIGRTMAX;
#endif
The cause is that the kernel signal.h defines SIGRTMAX as _NSIG,
then makes _NSIG invisibelby hiding it inside ifdef __KERNEL__.
Perhaps it's more elegant to solve this in the kernel,
but the ramifications of that scare
2005 Mar 02
1
[PATCH] avoid size_t redefinition
This patch protects against redefinitions of size_t.
There are currently at least two different definitions
provided with klibc:
unistd.h -> stddef.h -> bits32/bitsize/stddef.h
sys/times.h -> linux/times.h -> linux/types.h
both define size_t, causing gcc to complain.
I suspect ptrdiff_t has a similar problem; not covered by
this patch.
Regards,
Erik
diff -urN
2005 Mar 02
0
[PATCH] sys/times.h
This patch addresses three issues:
- need extern.h because of __extern.
- need sys/types for clock_t
- two functions are also included in <sys/time.h>;
my (debian) manual pages confirm that's the canonical location.
Regards,
Erik
diff -urN klibc-0.202-pristine/include/sys/times.h klibc-0.202/include/sys/times.h
--- klibc-0.202-pristine/include/sys/times.h 2002-08-06
2005 May 22
0
[patch 03/12] make getopt visible
The getopt(3) function is declared in unistd.h.
Signed-off-by: Erik van Konijnenburg <ekonin@xs4all.nl>
Index: exec/ipconfig/main.c
===================================================================
--- exec.orig/ipconfig/main.c 2005-05-18 11:53:11.000000000 +0200
+++ exec/ipconfig/main.c 2005-05-21 13:09:54.000000000 +0200
@@ -12,6 +12,7 @@
#include <sys/types.h>
#include
2005 May 28
1
mkinitrd integration strategy?
How should mkinitrd integrate with the initramfs that
comes with the kernel?
At the moment, mkinitrd can simply provide an /init
script and take over with the contents of its own cpio
file available. /init then loads some modules,
plays with mdadm, lvm, cryptsetup, creates some device
nodes, mounts a filesystem, switch root, done. Integration
is not an issue.
That changes when more of the
2005 May 22
1
[patch 00/12] ipconfig and nfsmount compatibility with glibc
Hi,
The following set of patches is intended mostly to improve
ipconfig and nfsmount compatibility with glibc.
The context: I'm working on yaird, an alternative to mkinitrd,
and currently implementing nfs root file systems. This is based
on ipconfig and nfsmount from klibc, with a rewritten version of kinit.
Users should be able to build the package with vanilla glibc,
since klibc is not
2005 Mar 02
2
[PATCH] klcc compatibility with gcc
Here's a patch to klcc.in from klibc-0.202. The context: I have an
application, managed with GNU automake/autoconf. Packagers should be
able to build the application with klibc if available, with plain gcc
otherwise, as follows:
$ cd ~/klibc-0.202
$ ... make linux symlink
$ make bindir=$HOME/local/bin \
mandir=$HOME/local/man \
INSTALLDIR=$HOME/local \
SHLIBDIR=$HOME/local/shlib \
2005 Mar 06
1
testers sought for script to interpret ELF/klibc executables
Here's a small test program to find out where a klibc executable
expects its shared library (or interpreter to be precise) to be.
It should work regardless of 32/64 bit, little- or big-endian,
but only on native executables.
If you have access to a 64-bit or big endian machine, I would
appreciate feedback on whether it produces correct answers on your
machine. To run the test, cut the