Displaying 20 results from an estimated 20000 matches similar to: "add '\n' only when needed in ./klibc/syslog.c"
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
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,
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
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)'
>
>
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
2020 Mar 28
0
[klibc:update-dash] dash: main: Print \n upon EOF (CTRL-D) when run interactively
Commit-ID: d754d32592fa1c6359b37d101485ced1ff7cdf79
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=d754d32592fa1c6359b37d101485ced1ff7cdf79
Author: Gerrit Pape <pape at smarden.org>
AuthorDate: Fri, 7 Sep 2018 10:34:14 +0200
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:55 +0000
[klibc] dash: main: Print \n upon EOF
2005 Mar 11
1
select.h not working on ia64
__FD_SET, __FD_CLR, __FD_ISSET, __FD_ZERO
are inside of __KERNEL__ in:
include/asm-ia64/posix_types.h
and therefore not available.
I've added stuff like this to our code:
#ifndef __FD_SET
#define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d))
#endif
but it would be nice if this can be solved in klibc.
Thanks,
Kay
2004 Feb 11
1
udev database is incompatible (klibc libc and mode_t)
Hi,
it seems that klibc's mod_t is only unsigned short and libc
is unsigned int. So our db format is incompatible between udev's
compiled with different c-lib's.
What is the right fix for this?
I found it cause my db was created with libc-udev and klibc-udev
was unable to insert records in the database.
thanks,
Kay
2020 Mar 28
0
[klibc:update-dash] dash: expand: Fix trailing newlines processing in backquote expanding
Commit-ID: 42c84c0c2ed8f5b9a81bd70582edfa9d7ead08be
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=42c84c0c2ed8f5b9a81bd70582edfa9d7ead08be
Author: Nikolai Merinov <n.merinov at inango-systems.com>
AuthorDate: Mon, 29 Apr 2019 19:13:37 +0500
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:55 +0000
[klibc] dash: expand:
2014 Mar 27
3
udev PATH_ID for virtio devices
On Thu, Mar 27, 2014 at 8:25 PM, Kay Sievers <kay at vrfy.org> wrote:
> On Thu, Mar 27, 2014 at 8:13 PM, Michael S. Tsirkin <mst at redhat.com> wrote:
>> On Thu, Mar 27, 2014 at 08:06:15PM +0100, Kay Sievers wrote:
>>> On Thu, Mar 27, 2014 at 7:59 PM, Michael S. Tsirkin <mst at redhat.com> wrote:
>>> > On Thu, Mar 27, 2014 at 07:43:34PM +0100, Kay
2014 Mar 27
3
udev PATH_ID for virtio devices
On Thu, Mar 27, 2014 at 8:25 PM, Kay Sievers <kay at vrfy.org> wrote:
> On Thu, Mar 27, 2014 at 8:13 PM, Michael S. Tsirkin <mst at redhat.com> wrote:
>> On Thu, Mar 27, 2014 at 08:06:15PM +0100, Kay Sievers wrote:
>>> On Thu, Mar 27, 2014 at 7:59 PM, Michael S. Tsirkin <mst at redhat.com> wrote:
>>> > On Thu, Mar 27, 2014 at 07:43:34PM +0100, Kay
2019 Jan 25
0
[klibc:update-dash] [PARSER] Handle backslash newlines properly after dollar sign
Commit-ID: e168c38081489046ec1dc612597b718a5adee74c
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=e168c38081489046ec1dc612597b718a5adee74c
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Mon, 29 Sep 2014 22:52:41 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] [PARSER] Handle
2020 Mar 28
0
[klibc:update-dash] dash: [PARSER] Handle backslash newlines properly after dollar sign
Commit-ID: 0b425be3b607419cc27bdab4de3f9178b637c7c7
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=0b425be3b607419cc27bdab4de3f9178b637c7c7
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Mon, 29 Sep 2014 22:52:41 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:54 +0000
[klibc] dash: [PARSER] Handle
2005 Aug 08
3
[PATCH] add inotify system calls
I've added this to our klibc copy in the udev tree to support
the recently added Inotify.
Thanks,
Kay
-------------- next part --------------
diff --git a/klibc/klibc/SYSCALLS.def b/klibc/klibc/SYSCALLS.def
--- a/klibc/klibc/SYSCALLS.def
+++ b/klibc/klibc/SYSCALLS.def
@@ -114,6 +114,9 @@ int lchown32,lchown::lchown(const char *
int getcwd::__getcwd(char *, size_t)
<?> int utime(const
2015 Sep 02
1
udev PATH_ID for virtio devices
On Wed, Sep 02, 2015 at 01:53:33PM +0200, Tom Gundersen wrote:
> On Tue, Aug 25, 2015 at 1:58 PM, Kay Sievers <kay at vrfy.org> wrote:
> > On Tue, Aug 25, 2015 at 1:52 PM, Michael S. Tsirkin <mst at redhat.com> wrote:
> >> On Tue, Aug 25, 2015 at 01:46:49PM +0200, Kay Sievers wrote:
> >>> On Tue, Aug 25, 2015 at 1:43 PM, Michael S. Tsirkin <mst at
2015 Sep 02
1
udev PATH_ID for virtio devices
On Wed, Sep 02, 2015 at 01:53:33PM +0200, Tom Gundersen wrote:
> On Tue, Aug 25, 2015 at 1:58 PM, Kay Sievers <kay at vrfy.org> wrote:
> > On Tue, Aug 25, 2015 at 1:52 PM, Michael S. Tsirkin <mst at redhat.com> wrote:
> >> On Tue, Aug 25, 2015 at 01:46:49PM +0200, Kay Sievers wrote:
> >>> On Tue, Aug 25, 2015 at 1:43 PM, Michael S. Tsirkin <mst at
2019 Jan 25
0
[klibc:update-dash] [PARSER] Simplify EOF/newline handling in list parser
Commit-ID: 807d37fa7f3b25884946c789ea6458f19647abf0
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=807d37fa7f3b25884946c789ea6458f19647abf0
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Tue, 28 Oct 2014 17:22:16 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] [PARSER] Simplify
2020 Mar 28
0
[klibc:update-dash] dash: [PARSER] Simplify EOF/newline handling in list parser
Commit-ID: a5a6a6ba303805417242138104643d8c40d71d00
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=a5a6a6ba303805417242138104643d8c40d71d00
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Tue, 28 Oct 2014 17:22:16 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:54 +0000
[klibc] dash: [PARSER]
2019 Jan 25
0
[klibc:update-dash] parser: use pgetc_eatbnl() in more places
Commit-ID: acd0936c5f8b4f5d94065ca46714d17e6a882cf2
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=acd0936c5f8b4f5d94065ca46714d17e6a882cf2
Author: Harald van Dijk <harald at gigawatt.nl>
AuthorDate: Thu, 8 Mar 2018 08:37:11 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] parser: use pgetc_eatbnl()
2020 Mar 28
0
[klibc:update-dash] dash: parser: use pgetc_eatbnl() in more places
Commit-ID: a4659bfa776f24f790c3ec071c5c9ef9459cdb70
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=a4659bfa776f24f790c3ec071c5c9ef9459cdb70
Author: Harald van Dijk <harald at gigawatt.nl>
AuthorDate: Thu, 8 Mar 2018 08:37:11 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:54 +0000
[klibc] dash: parser: use