Displaying 20 results from an estimated 400 matches similar to: "[PATCH] avoid spurious umount error message"
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
2020 Mar 28
0
[klibc:master] nfsmount: Fix alignment of packet structures
Commit-ID: b4f1a2bfe64cd0d8dc58c0b7173745f3c1af0bb3
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=b4f1a2bfe64cd0d8dc58c0b7173745f3c1af0bb3
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 28 Mar 2020 22:17:36 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 22:33:26 +0000
[klibc] nfsmount: Fix alignment of
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 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
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
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 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
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
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
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
2012 Jan 11
1
[PATCH] nfsmount: defeat dummypmap compiler warning
Without this patch gcc 4.6 warns:
KLIBCCC usr/kinit/nfsmount/dummypmap.o
usr/kinit/nfsmount/dummypmap.c: In function 'dummy_portmap':
usr/kinit/nfsmount/dummypmap.c:191:13: warning: array subscript is below array bounds [-Warray-bounds]
Signed-off-by: Greg Thelen <gthelen at google.com>
---
usr/kinit/nfsmount/dummypmap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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
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
2006 Jun 26
0
[klibc 14/43] Remove in-kernel nfsroot code
The in-kernel nfsroot code is obsoleted by kinit. Remove it; it
causes conflicts.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
commit 161e1dc16ec1129b30b634a2a8dcbbd1937800c5
tree c30da837d746fe65d8a13ccf6f27bd381948edb4
parent 018604e070e143657abcf0cb256a1e2dda205d97
author H. Peter Anvin <hpa at zytor.com> Sat, 20 May 2006 16:24:05 -0700
committer H. Peter Anvin <hpa at
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
2008 Jul 13
1
bunch of small fixes
hello hpa,
current chroot util stands out as broken and
found an old nfsmount commit on a stray testbox
in our institue.
thanks for taking a look!
maks
git pull git://git.debian.org/~maks/klibc.git maks
for the changes:
maximilian attems (4):
[klibc] malloc fix compile with DEBUG_MALLOC
[klibc] README: add klibc email
[klibc] nfsmount: improve error message
[klibc]
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
This patch removes support for use of NFS as a root filesystem from the
kernel. It also updates the documentation to reflect this.
b/Documentation/nfsroot.txt | 97 +++---
b/arch/arm/def-configs/a5k | 1
b/arch/arm/def-configs/adi_evb | 1
b/arch/arm/def-configs/adsbitsy | 1
b/arch/arm/def-configs/anakin | 1
2005 Aug 04
0
[PATCH 6/11] Xenstore watch rework
# HG changeset patch
# User Rusty Russell <rusty@rustcorp.com.au>
# Node ID b0de1894df67ac7c7d905bf61cdf0210b42752cc
# Parent ba5d5bd28edf8bce89bdf9fc64047ee4f1dceded
Xenstore watch rework
Change watches to all fire simultaneously, removing priority argument.
Watches no longer fired back to connection/domain which caused event.
Fix up testsuite to match
Use state enum, rather than return
2010 Mar 13
1
klibc build trouble
as the next klibc release 1.5.16 looks like shaping up,
I have a trouble to build that for Debian.
currently I build depent on linux-libc-dev, I don't know what
against I can build latest klibc, see
klibc fails to build due too:
make -C linux/ ARCH=x86_64 INSTALL_HDR_PATH=debian/tmp/usr/lib/klibc/ headers_install
make[3]: *** No rule to make target `headers_install'. Stop.
make[2]: ***