lp:klibc

Created by Thorsten Glaser on 2012-02-17 and last modified on 2016-02-01
Get this branch:
bzr branch lp:klibc

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Thorsten Glaser
Project:
klibc
Review team:
maximilian attems
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.kernel.org/pub/scm/libs/klibc/klibc.git.

The next import is scheduled to run in 2 hours.

Last successful import was 3 hours ago.

Import started 3 hours ago on pear and finished 3 hours ago taking 25 seconds — see the log
Import started 9 hours ago on pear and finished 9 hours ago taking 25 seconds — see the log
Import started 15 hours ago on pear and finished 15 hours ago taking 25 seconds — see the log
Import started 21 hours ago on pear and finished 21 hours ago taking 25 seconds — see the log
Import started on 2017-05-26 on pear and finished on 2017-05-26 taking 25 seconds — see the log
Import started on 2017-05-25 on pear and finished on 2017-05-25 taking 25 seconds — see the log
Import started on 2017-05-25 on pear and finished on 2017-05-25 taking 25 seconds — see the log
Import started on 2017-05-25 on pear and finished on 2017-05-25 taking 20 seconds — see the log
Import started on 2017-05-25 on russkaya and finished on 2017-05-25 taking 40 seconds — see the log
Import started on 2017-05-24 on pear and finished on 2017-05-24 taking 20 seconds — see the log

Recent revisions

2045. By H. Peter Anvin on 2016-02-01

[klibc] fwrite: fix typo in comment

Fix typo in comment, no code change.

Reported-by: Gilles Espinasse <email address hidden>
Signed-off-by: H. Peter Anvin <email address hidden>

2044. By H. Peter Anvin on 2016-02-01

[klibc] fwrite: flush before a large write to allow better bypass

If we are doing a large write, flush the buffer preemptively, so we
don't end up double-buffering a sequence of BUFSIZ writes simply
because we started out with something in the buffer.

This doesn't increase the number of system calls, since we will always
need to do two system calls in this case.

Signed-off-by: H. Peter Anvin <email address hidden>

2043. By H. Peter Anvin on 2016-02-01

[klibc] Make asprintf() a simple wrapper around vasprintf()

Since we have vasprintf() anyway, save about a hundred bytes (on
x86-64) by making asprintf() a typical stdarg wrapper function.

Signed-off-by: H. Peter Anvin <email address hidden>

2042. By H. Peter Anvin on 2016-02-01

[klibc] stdlib.h: include <fcntl.h> for inline of posix_grantpt()

Since namespace pollution is not a major concern in klibc, add
<fcntl.h> to support the inline of posix_grantpt().

Signed-off-by: H. Peter Anvin <email address hidden>

2041. By H. Peter Anvin on 2016-01-26

[klibc] Make posix_openpt() an inline

This function is so trivial that there is no reason to not make it an
inline.

Signed-off-by: H. Peter Anvin <email address hidden>

2040. By H. Peter Anvin on 2016-01-26

[klibc] accept.c: fix file header

Correct the filename in the header.

Signed-off-by: H. Peter Anvin <email address hidden>

2039. By H. Peter Anvin <email address hidden> on 2016-01-15

[klibc] Remove open_cloexec()

The kernel now (since 2.6.23) allows O_CLOEXEC to be passed directly
to open(), so there is no reason to have open_cloexec() anymore.

Signed-off-by: H. Peter Anvin <email address hidden>

2038. By H. Peter Anvin <email address hidden> on 2016-01-06

[klibc] Add accept4(), handle fallback from accept() to accept4()

Add support for the accept4() system call.

Some architectures now have accept4() but not accept(), so introduce a
standard fallback. However, since accept() is a socketcall, we have
to do some special hacks.

While we are at it, handle conditional socketcall stubs based on
their existence <linux/net.h>, analogous to <asm/unistd.h>.

Signed-off-by: H. Peter Anvin <email address hidden>

2037. By H. Peter Anvin <email address hidden> on 2016-01-06

[klibc] Remove sys/socketcalls.h

We no longer generate assembly stubs for socketcalls on any
architecture, so <linux/net.h> is perfectly usable as is.

Signed-off-by: H. Peter Anvin <email address hidden>

2036. By H. Peter Anvin <email address hidden> on 2016-01-06

[klibc] Remove obsolete getpt() function

getpt() has long since been obsolete; instead use
posix_openpt(O_RDWR|O_NOCTTY).

Signed-off-by: H. Peter Anvin <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers