Displaying 20 results from an estimated 10000 matches similar to: "missing strlcpy fix (which klibc has)"
2014 Jul 21
1
missing strlcpy fix (which klibc has)
Ady <ady-sf at hotmail.com> writes:
>> The current strlcpy code in the Syslinux tree copies one byte too much.
>> Basically, it misses something like the following klibc patch:
>> http://git.kernel.org/cgit/libs/klibc/klibc.git/commit/klibc/strlcpy.c?id=4644bd92e21c7fd9a48dd8dfd0c4f8ef772843f0
>>
>> As the current klibc may carries lots of other relevant fixes
2014 Jul 18
0
missing strlcpy fix (which klibc has)
> Hi,
>
> The current strlcpy code in the Syslinux tree copies one byte too much.
> Basically, it misses something like the following klibc patch:
> http://git.kernel.org/cgit/libs/klibc/klibc.git/commit/klibc/strlcpy.c?id=4644bd92e21c7fd9a48dd8dfd0c4f8ef772843f0
>
> As the current klibc may carries lots of other relevant fixes as well, I
> wonder whether there is a way
2004 Sep 17
1
latest klibc for udev
This patch make it possible to run udev with the latest klibc.
One patch for the udev/Makefile to match the moved include/ dir. Another
one for klibc's string fuctions, that are causing segfaults:
strncpy.c: the while() gets n == -1 and memset() dies
strncat.c: cat's only strlen(dest) count of chars from src to dest
Thanks,
Kay
-------------- next part --------------
===== Makefile
2005 Mar 26
0
fix broken strlcpy() strlcat()
Just another udev segfault. strlcpy() writes behind the specified maximum
size. strlcat() causes the same probelem and truncates the destination string
to the maximum size which isn't the job for a concatenation function.
Thanks,
Kay
diff -Nru a/klibc/klibc/strlcat.c b/klibc/klibc/strlcat.c
--- a/klibc/klibc/strlcat.c 2005-03-27 04:40:42 +02:00
+++ b/klibc/klibc/strlcat.c 2005-03-27
2010 Jul 05
5
version compatibility between linux and klibc
Are there any version compatibilities between linux and klibc? I tried to
compile the latest klibc (1.5.18) with the latest linux (2.6.32.15) and
there is miserable compile failures. It looks like klibc wants some headers
to be in include/asm (linked in my case to include/asm-x86) but they are
instead in include/asm-generic (it seems all headers but one are in there).
I put together this script
2014 Sep 09
2
Are any of these still relevant?
Are any of these still relevant?
It would be helpful to start individual email threads and actually
solve them.
(BTW, these are not the only issues. There are other known issues,
and, for some of those, there have been (some kind of) patches sent.)
_ 2013Jul18 core/serial: Add support for serial output functions
http://www.syslinux.org/archives/2013-July/020548.html
And related:
2007 Aug 24
2
[git patch] klibc bzero, mount fixes + random stuff
hello hpa,
please pull for the latest
git pull git://brane.itp.tuwien.ac.at/~mattems/klibc.git maks
with the following shortlog:
maximilian attems (9):
mount: add nodev, noexec and nosuid options
mount: add -n option
cpio: small cleanups
readlink: s/link/link_name/
kinit, mknod: s/(major|minor)/\1_num/
klibc: strcspn, strpbrk, strspn include string.h
2006 Aug 24
1
[LLVMdev] strlcpy
The current CVS version doesn't compile on Linux:
MachOWriter.h:583: error: 'strlcpy' was not declared in this scope
Rafael
2010 Jul 17
0
mksh on klibc
Dixi quod?
>Builtins work fine, calling external programmes does
>not. It seems to hang in jobs.c:j_waitj() and sending
>it SIGCHLD seems to not trigger jobs.c:j_sigchld()
>at all. This is probably some kind of signals being
>not delivered correctly ? see here for a bug with the
>same symptoms: http://dev.haiku-os.org/ticket/5567
>http://dev.haiku-os.org/changeset/35836
>
2013 Aug 21
2
[klibc:master] README.klibc: update build information
Commit-ID: 25a66fa8d8623fae267f6807b56438cd7c40e034
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=25a66fa8d8623fae267f6807b56438cd7c40e034
Author: maximilian attems <max at stro.at>
AuthorDate: Wed, 21 Aug 2013 17:31:25 +0200
Committer: maximilian attems <max at stro.at>
CommitDate: Wed, 21 Aug 2013 17:32:16 +0200
README.klibc: update build information
It
2013 Aug 22
3
Build problems: klibc with Linux 3.10.7
Le 22/08/2013 14:36, Thorsten Glaser a ?crit :
> leroy christophe dixit:
>
>> If I set prefix to / and INSTALLROOT to /opt/klibc, klcc is not able to find
>> the include files
>> If I set prefix to /opt/klibc and SHLIBDIR to /opt/klibc/lib, it is the target
>> that tries to load klibc.so from /tmp/klibc-install/lib instead of /lib
> INSTALLROOT is some sort of
2013 Aug 22
2
Build problems: klibc with Linux 3.10.7
Le 22/08/2013 07:43, leroy christophe a ?crit :
> Le 22/08/2013 00:59, Thorsten Glaser a ?crit :
>> leroy christophe dixit:
>>
>>> Also you can see that it does try to create /lib instead of
>>> /tmp/klibc-install/lib hence my second patch.
>> That actually seems to be by design. I always set
>> SHLIBDIR on the make command line, so it overrides that.
2005 Mar 28
0
klibc-1.0.5
I have just pushed out klibc-1.0.5 with Kay's strlcpy/strlcat changes,
with a few minor fixes added.
If there are no bug reports in the next day or two I'll rebrand this
release klibc-1.1 and classify it as a stable release.
-hpa
2010 Oct 17
6
klibc 1.5.20 falls into an finite loop during build against linux 2.6.35.4
GEN usr/klibc/syscalls/SYSCALLS.i
GEN usr/klibc/syscalls/syscalls.nrs
GEN usr/klibc/syscalls/typesize.c
KLIBCCC usr/klibc/syscalls/typesize.o
OBJCOPY usr/klibc/syscalls/typesize.bin
GEN usr/klibc/syscalls/syscalls.mk
GEN usr/klibc/syscalls/SYSCALLS.i
GEN usr/klibc/syscalls/syscalls.nrs
GEN usr/klibc/syscalls/typesize.c
KLIBCCC
2006 May 01
2
klibc: s390 errno...
I'm trying to do a full rebase (history clean) of the klibc kernel tree,
and came across the following changesets between klibc 1.3.12 and .16:
--- a/usr/klibc/arch/s390/syscall.c
+++ b/usr/klibc/arch/s390/syscall.c
@@ -11,6 +11,6 @@ long int __syscall_common(long int err)
{
if ((unsigned long)(err) < (unsigned long)(-125))
return err;
- errno = err;
+
2016 Jan 06
5
[PATCH klibc 0/5] klibc architecture fixes
Here's an assortment of build and run-time fixes for various
architectures that we've applied in Debian.
Ben.
Aurelien Jarno (1):
ppc64: fix struct stat
Ben Hutchings (2):
MIPS: Update archfcntl.h
syscalls: Override detection of direct socket syscalls on i386, m68k,
s390
Helge Deller (1):
Add pread and pwrite 32bit syscall wrappers for parisc
Mauricio Faria de Oliveira
2011 Jun 04
1
[RFC] klibc dash merge
Hello,
Since klibc dash last merge is a bit dated yesterday I resyncronised
the dash in klibc repo from dc2bc17c7bbe3188cfb0c695dc472b39bcf0b27a
up to ec2c84d3c4dba4b74440d72bdd1de416a9acd2a9 commit.
Please test it:
git://git.kernel.org/pub/scm/libs/klibc/klibc-queue.git
http://git.kernel.org/?p=libs/klibc/klibc-queue.git;a=shortlog
Without objections this will land in klibc-1.5.23.
It got
2005 Feb 07
2
tiny patch for klibc 0.198
Hi folks,
attached you can find a tiny patch for klibc-0.198
to get rid of the symbolic link pointing to the
kernel sources, and to get rid of some obsolete
rebuilds during incremental.
Feel free to include it.
Regards
Harri
-------------- next part --------------
diff -ur old/klibc-0.198/MCONFIG klibc-0.198/MCONFIG
--- old/klibc-0.198/MCONFIG 2004-10-14 06:32:24.000000000 +0200
+++
2011 Jan 29
1
[PATCH] Re: klibc barfs on m68k syscall interface
tag 334917 = patch
thanks
Hi,
I?ve fixed the m68k syscall of klibc and made it able to use
six-argument syscalls like mmap2. However, I could not yet
fully test it (only mostly; opendir() specifically fails) due
to: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47533
@m68k porters: Please have a look at the gcc bug as well.
@klibc: Please apply the patch, it?s better than what we have,
and
2006 Jun 26
5
__builtin_clz in klibc
Hi,
I just got a bug report that klibc doesn't compile on s390:
KLIBCCC usr/klibc/libgcc/__clzsi2.o
KLIBCCC usr/klibc/libgcc/__clzdi2.o
usr/klibc/libgcc/__clzdi2.c: In function `__clzdi2':
usr/klibc/libgcc/__clzdi2.c:24: warning: implicit declaration of function `__builtin_clz'
This looks like a common problem, because __builtin_clz is available since
gcc 3.4, while the kernel