Displaying 20 results from an estimated 20000 matches similar to: "klibc-1.0.5"
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
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
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
2014 Jul 03
2
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 to import a newer klibc, or what's
2005 Jan 06
0
[PATCH] memchr and memrchr
- memchr() needs to increment pointer or it's just a busy loop (unless c
matches the first character in s)
- add memrchr.c
--- klibc-0.194/klibc/memchr.c.orig 2005-01-06 23:08:33.703355840 -0700
+++ klibc-0.194/klibc/memchr.c 2005-01-06 23:04:26.436946048 -0700
@@ -12,6 +12,7 @@
while ( n-- ) {
if ( *sp == (unsigned char)c )
return (void *)sp;
+ sp++;
}
return NULL;
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
2007 Aug 15
0
[git patch] fstype support + minor stuff
hello hpa,
rebased my branch, please pull latest
git pull git://brane.itp.tuwien.ac.at/~mattems/klibc.git maks
for the following shortlog
maximilian attems (6):
fstype: add squashfs v3 support
reiser4_fs.h: add attribute packed to reiser4_master_sb
fstype: add ext4 support
.gitignore: add subdir specific entries
usr/klibc/Kbuild: beautify klibc build
fstype:
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
>
2006 Aug 14
2
klibc and udev
In case people here don't follow the udev mailing list, udev seems to
be quasi-dropping klibc support. Well, see the forwarded message
below.
As I don't agree with the "omg udev is complex! use glibc!" rationale,
I want klibc and udev to remain working with each other....
Assuming some minor breakage in the near future, is klibc open to
accepting patches for "basic C
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
2004 Feb 12
1
Fwd: Re: Bugfix: offsetof in klibc
--- Greg KH <greg@kroah.com> wrote:
> From: Greg KH <greg@kroah.com>
> To: Kay Sievers <kay.sievers@vrfy.org>
> CC: Hannes Reinecke <hare@suse.de>, linux-hotplug-devel@lists.sourceforge.net
> Subject: Re: Bugfix: offsetof in klibc
> Date: Thu, 12 Feb 2004 15:52:43 -0800
>
> On Fri, Feb 13, 2004 at 12:20:55AM +0100, Kay Sievers wrote:
> > On Thu,
2009 Feb 11
1
[PATCH 1/1] COM32 API: Add functions for directory use
From: Gene Cumm <gene.cumm at gmail.com>
COM32: Add directory functions getcwd(), opendir(), readdir() and closedir().
This depends on the patch that I just submitted creating the COMBOOT API calls.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
The intention is to create the library calls with (hopefully) POSIX
compliance such that a small application written to use these
2008 Dec 04
0
[PATCH 1/1] COM32: Add directory functions
From: Gene Cumm <gene.cumm at gmail.com>
COM32: Add directory functions getcwd(), opendir(), readdir() and closedir().
This depends on the patch that I just submitted creating the COMBOOT API calls.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
The intention is to create the library calls with (hopefully) POSIX
compliance such that a small application written to use these
2001 Jun 07
0
Patch for systems with no setreuid()
Sorry if I'm duplicating an existing patch, but...
On systems with no seteuid() that have setreuid() there is an
emulation, but if both are lacking (but we do have setresuid()),
nothing is done. The following seems to be right, but I've only got
one machine (running an ancient version of HP-UX) which needs this so
it may not be general:
--cut-here--
--- config.h.in.orig Thu Jun 7
2004 Feb 08
3
Re: klibc - setenv broken
Kay Sievers wrote:
> Hi,
> this simple program compiled with klibc:
>
> #include <stdio.h>
> int main(int argc, char* argv[])
> {
> setenv("TESTENV", "happy", 1);
> printf("TESTENV='%s'\n", getenv("TESTENV"));
> }
>
> prints:
>
> ./env
> TESTENV='(null)'
>
>
1999 Dec 01
1
Compile bugs in openssh-1.2pre15 on Solaris (2.6)
Hi,
I didn't know if this was the correct spot to send openSSH bugs/problems
so I thought I'd try...
Anyway, I have encountered the following compile time problems for
openssh-1.2pre15 / Solaris 2.6 / gcc 2.8.1 -
* daemon code (bsd-daemon.[ch]) exists but is not linked in. Also,
header is not included. Same might apply to bsd-login.
* rsa.h needs __P() define to work
2008 Sep 07
1
[git pull v2] initial mntent.h, mount features, ipconfig fixes
[ gsi.de pretends this is massmailing so removed from CC's ]
hello hpa,
please review and on ack merge belows patchset.
changes from v1, thanks to review by kzak:
* add strtok_r()
* use it in getmntent_r()
* getment_r() parses mnt_freq and mnt_passno too
isn't that hard.
thanks
maks
git pull git://git.debian.org/~maks/klibc.git maks
for the changes:
maximilian attems (9):
2004 Nov 19
0
add '\n' only when needed in ./klibc/syslog.c
This patch adds the newline to the syslog() string only if it doesn't
already have one. It's annoying to get a second empty log line with
every syslog() call from code that has the newline by itself.
The syslog(3) man page states:
"A trailing newline is added when needed."
Thanks,
Kay
-------------- next part --------------
A non-text attachment was scrubbed...
Name:
2002 Feb 07
1
Latest version of the batch mode cleanup patch
Here's the latest version of the batch mode cleanup patch.
Index: batch.c
===================================================================
RCS file: /cvsroot/rsync/batch.c,v
retrieving revision 1.12
diff -u -r1.12 batch.c
--- batch.c 24 Jan 2002 08:09:46 -0000 1.12
+++ batch.c 6 Feb 2002 19:47:57 -0000
@@ -8,55 +8,38 @@
#include "rsync.h"
#include <time.h>
-char
2005 May 23
3
module-init-tools ported to klibc
Halo,
I don't know if this is already done but the following two patches (one
for klibc) and a big one (several smaller incorporated to one) to
modules-init-tools enables running modprobe and friends in early user space.
There are some issues so I post here for discussion
The porting strategy was copied from the udev package. I make a file
mod_libc_wrapper.{c,h} in order to provide the