Displaying 20 results from an estimated 2000 matches similar to: "[patch 03/12] make getopt visible"
2005 May 22
1
[patch 11/12] Unpleasantness in linux/nfs_mount.h
There is a conflict in glibc between <linux/in.h> and <netinet/in.h>:
one defines protocols with an enum, the other does the same,
but adds a self-define for every enumerated value.
#define IPPROTO_IP IPPROTO_IP
This means the two cannot be mixed, and since loads of include files
refer to <netinet/in.h>, effectively <linux/in.h> cannot be used
with glibc.
Since
2005 May 22
1
[patch 05/12] make __constant_htons visible
The __constant_htons and similar are defined in klibc version
of netinet/in.h, but not in glibc counterpart.
Include the same thing from <asm/byteorder.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
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
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
+++
2005 Jun 05
0
fancy dump_fs for nfsmount
The dump_fh() function in nfsmount can be misleading: always
mentions NFS_FHSIZE as size, but can print more,
can print nothing if passed less than 8 bytes.
This is a more robust implementation also suitable
for printing datastructures other 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
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 Jun 05
0
[PATCH] avoid spurious umount error message
In nfsmount, the function mount_call() is used 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:
2010 Feb 23
0
[PATCH 1/3] nfsmount.h: Add missing definitions.
linux-2.6 2ad780978b7c0c3e7877949f098cbd06e7c73839 cleaned up
linux/nfsmount.h and thus a klibc build would produce this:
> usr/kinit/nfsmount/mount.c:179: error: 'MNTPROC_MNT' undeclared (first use in this function)
> usr/kinit/nfsmount/mount.c:179: error: (Each undeclared identifier is reported only once
> usr/kinit/nfsmount/mount.c:179: error: for each function it appears
2010 Feb 23
0
[PATCH 2/3] nfsmount: s/PF_INET/AF_INET/
use AF_INET directly.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/kinit/nfsmount/dummypmap.c | 2 +-
usr/kinit/nfsmount/mount.c | 4 ++--
usr/kinit/nfsmount/sunrpc.c | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/usr/kinit/nfsmount/dummypmap.c b/usr/kinit/nfsmount/dummypmap.c
index 43abe37..481e23b 100644
---
2012 Jun 28
0
[klibc:master] nfsmount: Fix wrong NFS umount path
Commit-ID: 029622dfbfe25203275a385a5bf33d44c2409b00
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=029622dfbfe25203275a385a5bf33d44c2409b00
Author: Benjamin Cama <benjamin.cama at telecom-bretagne.eu>
AuthorDate: Fri, 22 Jun 2012 12:17:01 +0200
Committer: maximilian attems <max at stro.at>
CommitDate: Thu, 28 Jun 2012 17:23:14 +0200
[klibc] nfsmount: Fix
2012 Jun 22
1
[PATCH] Fix wrong NFS umount path
Hi,
When mounting a NFS share and an error occurs for some reason, the NFS
share is not unmounted correctly: the local path is used instead of the
remote path in the umount_v[23]() call. This patch fixes this.
I found this while debugging some problems mounting the root file system
on NFS in a test system; I saw this in the logs (/mnt/duplicated is the
legitimate remote path):
Jun 21
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
2009 Aug 21
2
anaconda and x86_64
I'm trying to build a bugfixed anaconda package for 5.3 x84_64, but there
are some fairly basic failures, like pkg-config .pc files not being found.
When I modify the spec file accordingly, linking fails because installed
libraries are not found.
$ rpmbuild -ba anaconda.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.25019
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+
2011 Jul 08
4
[PATCH 0/4] usr/kinit checkpatch
Various coding style fixes checkpatch warns about.
The goal is not to be 100% checkpatch compliant,
but to have more consistent coding style.
As this is a trivial patch serie, will land in 24 hours in klibc git,
unless of course ml review hits a bugger.
Checked with size(3) that the generated kinit, fstype, ipconfig and
nfsmount are the same.
maximilian attems (4):
[klibc] ipconfig: reduce
2008 Jun 05
2
RESEND [PATCH][BUGFIX] Fix termination of the spoofing portmapper
Hi,
I'm resending since I got no feedback: I assume that the message was lost...
The attached patch fixes a few bugs related to the spoofing portmapper used
by nfsmount.
Regards,
Louis
--
Dr Louis Rilling Kerlabs
Skype: louis.rilling Batiment Germanium
Phone: (+33|0) 6 80 89 08 23 80 avenue des Buttes de Coesmes
http://www.kerlabs.com/ 35700 Rennes
-------------- next part
2005 May 25
1
[PATCH] klcc on multiple files
There's a problem in klibc 1.0.12:
klcc -c t.c && klcc t.o && ./a.out
works, but
klcc t.c && ./a.out
fails because open3() wants to close its input,
and you can do that only once to STDIN.
Attached patch makes "klcc t.c" work again.
This might break the klcc from stdin option, but I can't
tell because I've got no idea how it's supposed to
2005 May 22
0
[patch 08/12] use linux/if_ether.h
In klibc, there is <net/if_ether.h>,
in glibc, we have <netinet/if_ether.h>,
in both 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
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
2003 Nov 29
1
[PATCH] ash not make -j safe, make spotless updates
some files depend on nodes.h, but there is no dependency for that fact.
olaf@mandarine:~/klibc-0.87> grep -Er 'include.*nodes.h' ash/ | sed 's-^[^/]\+/\([^.]*\).*-\1.o-' | xargs echo OBJ_NODES =
OBJ_NODES = cd.o eval.o exec.o expand.o jobs.o main.o nodes.o options.o parser.o redir.o show.o trap.o var.o
make spotless doesnt work reliable, the patch adds a few more targets.
Is
2009 Aug 11
1
nfs MNT include cleanup
2ad780978b7c0c3e7877949f098cbd06e7c73839 broke klibc build
MNTPROC_MNT and MNTPROC_UMNT no longer defined.
usr/kinit/nfsmount/mount.c: In function ?mount_call?:
usr/kinit/nfsmount/mount.c:179: error: ?MNTPROC_MNT? undeclared (first use in this function)
usr/kinit/nfsmount/mount.c:179: error: (Each undeclared identifier is reported only once
usr/kinit/nfsmount/mount.c:179: error: for each function