similar to: [patch 05/12] make __constant_htons visible

Displaying 20 results from an estimated 4000 matches similar to: "[patch 05/12] make __constant_htons 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
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 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 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:
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 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 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 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
2004 Nov 06
2
dovecot 1.0-test52 compile notes
Compile issues on an older BSD/OS 4.2 system: src/lib/byteorder.h needs #include <netinet/in.h> to pick up in_addr struct src/lib/byteorder.c no "libgen" here (no basename()). Added it inline, no big deal, but you might want to have configure test for this and provide one if it's missing. Also, on this system there are no types like "uint8_t" and
2004 Jun 17
0
portmap spoofing in nfsmount
Hi all, I have implemented portmap spoofing in klibc nfsmount (released as klibc-0.144) This is basically a vestigial portmap daemon which gets launched before the mount() call and then just records any transactions it gets to a file and sends back an affirmative reply. There are two ways to use it (this belongs in a README file, but it's too late at night right now): a) Set a fixed
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
2003 Oct 04
0
klibc: kbuild improvements
Hi Bryan and other klibc people. I have taken a stamp on the Makefiles for klibc, this is what I came up with. 1) No longer recompile on every invocation 2) Correct checking on dependencies 3) Simpler makefile syntax (almost all over the place) I compile-time tested it only. Two open issues: a) Do we realy use .a files for initramfs. I renemed that to the executable. b) I renamed
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 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
2011 Jul 27
0
klibc 1.5.24 release
Enough small fixes have pilled up to make it worth a release: A Google patch adds sched_setaffinity, sched_getaffinity support. Openembedded uses kexec_load(). Gentoo folks add a Kbuild fix. ipconfig no longer wild guesses a nameserver when none is provided by the DHCP server. strndup() and unlinkat() saw fixes for various problems. codingstyle cleanup in kinit and tools. git repository:
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
2011 Jan 07
1
[LLVMdev] [PATCH] compiler-rt patch for clean build on Solaris 10 / x86
Hi, Attached is small patch (based of r122998 of compiler-rt), required for clean builds on Solaris 10 / x86 using clang 2.8. Please consider it for inclusion. Cheers, Joakim -------------- next part -------------- A non-text attachment was scrubbed... Name: solaris_stdint.patch Type: application/octet-stream Size: 457 bytes Desc: not available URL:
2004 Feb 22
3
iproute2 & kernel 2.6.3
Hi, I''m trying to compile iproute with my fresh kernel 2.6.3, it works well with 2.6.2 but impossible with this one. My version of gcc is 3.3.3 and the version of iproute2 is iproute2-2.4.7-now-ss010824. Any suggestion ? make[1]: Entering directory `/usr/src/iproute2/lib'' gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g -I../include-glibc -include
2004 Sep 14
1
v173 and current 2.6 Linus BK on x86
v173 doesn't build on current 2.6 Linus BK on x86 Complaints about undeclared __le64, __le32, __be64, __be32, __be16 What am I doing wrong? In file included from ../linux/include/asm/byteorder.h:57, from ../klibc/include/endian.h:9, from ../klibc/include/netinet/in.h:13, from ../klibc/include/arpa/inet.h:11, from
2010 Mar 28
1
[git pull v3] dash, sh4, ipconfig, dprintf, fstype, README's
hello hpa! added on top of queue ext4 fix, that Ubuntu is carrying from cjwatson. Got missed out in previous pull requests. Btrfs recognition in fstype. the patch queue contains sync with latest dash, sh4 fix by Debian porters, dprintf usage in ipconfig, kinit and nfsmount instead of buggy DEBUG macro. ipconfig memcpy usage to avoid strict aliasing warnings. Some interesting README's got