lp:klibc

Created by Thorsten Glaser on 2012-02-17 and last modified on 2019-07-28
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 1 hour.

Last successful import was 4 hours ago.

Import started 4 hours ago on alnitak and finished 4 hours ago taking 20 seconds — see the log
Import started 10 hours ago on alnitak and finished 10 hours ago taking 15 seconds — see the log
Import started 17 hours ago on alnitak and finished 17 hours ago taking 20 seconds — see the log
Import started 23 hours ago on alnitak and finished 23 hours ago taking 15 seconds — see the log
Import started on 2019-08-18 on alnitak and finished on 2019-08-18 taking 15 seconds — see the log
Import started on 2019-08-17 on alnitak and finished on 2019-08-17 taking 15 seconds — see the log
Import started on 2019-08-17 on alnitak and finished on 2019-08-17 taking 15 seconds — see the log
Import started on 2019-08-17 on alnitak and finished on 2019-08-17 taking 15 seconds — see the log
Import started on 2019-08-17 on alnitak and finished on 2019-08-17 taking 20 seconds — see the log
Import started on 2019-08-16 on alnitak and finished on 2019-08-16 taking 20 seconds — see the log

Recent revisions

2107. By Dimitri John Ledkov on 2019-07-28

[klibc] ipconfig: Implement support -d ...:dns0:dns1 options

Whilst ip= command is documented to support dns0:dns1 options as
arguments 7 and 8, the -d parser in ipconfig does not. This breaks
bringing up static ip configuration with dns nameservers set in the
ip= command.

Testcase:

$ ip link add name dummy0 type dummy
$ sudo /usr/lib/klibc/bin/ipconfig -d 10.245.237.7::10.245.237.1:255.255.255.0:ottawa:dummy0:none:8.8.8.8:8.8.4.4
IP-Config: dummy0 hardware address 76:39:ca:27:9b:90 mtu 1500
IP-Config: dummy0 guessed broadcast address 10.245.237.255
IP-Config: dummy0 complete:
 address: 10.245.237.7 broadcast: 10.245.237.255 netmask: 255.255.255.0
 gateway: 10.245.237.1 dns0 : 8.8.8.8 dns1 : 8.8.4.4
 host : ottawa
 rootserver: 0.0.0.0 rootpath:
 filename :

Signed-off-by: Dimitri John Ledkov <email address hidden>
Signed-off-by: Ben Hutchings <email address hidden>

2106. By Matthew Garrett <email address hidden> on 2019-04-20

[klibc] run-init: Allow the initramfs to be persisted across root changes

systemd supports switching back to the initramfs during shutdown in
order to make it easier to clean up the root file system. This is
desirable in order to allow us to remove keys from RAM before rebooting,
making it harder to obtain confidential information by rebooting into an
environment that scrapes RAM contents.

Signed-off-by: Matthew Garrett <email address hidden>
Signed-off-by: Ben Hutchings <email address hidden>

2105. By Barret Rhoden <email address hidden> on 2019-04-11

Fix missing include in sys/mman.h

Linux commit 746c9398f5ac ("arch: move common mmap flags to
linux/mman.h") moved a few mmap flags, particularly MAP_PRIVATE, from
asm/mman.h to linux/mman.h. This broke klibc's build, which uses
MAP_PRIVATE.

linux/mman.h includes asm/mman.h, so this commit merely includes
linux/mman.h instead of asm/mman.h.

Signed-off-by: Barret Rhoden <email address hidden>
Signed-off-by: Ben Hutchings <email address hidden>

2104. By Ben Hutchings on 2019-02-19

[klibc] klcc: Enable stripping even if CONFIG_DEBUG_INFO is enabled

klcc should strip its output if the -s option is used, regardless of
whether klibc is stripped. Use the standard $(STRIP) instead of
$(KLIBCSTRIP) as the strip command.

Signed-off-by: Ben Hutchings <email address hidden>

2103. By Ben Hutchings on 2019-02-01

[klibc] arm: Enable CONFIG_ARM_EABI by default

Since Linux 4.14, the "new" system call ABI (CONFIG_AEABI) is enabled
by default when building for ARMv6/v7 processors. The old system call
ABI can be enabled in parallel (CONFIG_OABI_COMPAT) but is disabled by
default.

When building a kernel for ARMv4/v5 processors, the default is to
enable only the old system call ABI. However, the two distributions
I'm aware of that support these processors, Arch and Debian, configure
the kernel to support only the new system call ABI.

Therefore I think that it is better to assume the "new" system call
ABI by default.

Signed-off-by: Ben Hutchings <email address hidden>

2102. By Ben Hutchings on 2019-02-01

[klibc] REAMDE.klibc: Update architecture status

* Tests are passing for arm-thumb, parisc and sh
* There are some test failures on alpha and ia64, but the shared
  library works on ia64
* arm26 and v850 have been removed for Linux so we have no expectation
  of ever supporting them

Signed-off-by: Ben Hutchings <email address hidden>

2101. By Ben Hutchings on 2019-02-01

[klibc] README.klibc: Document most of the build options

* Explicitly say where to set the cross-compilation variables
* Explain how to do an out-of-tree build
* Document all the configuration variables in defconfig

Signed-off-by: Ben Hutchings <email address hidden>

2100. By Ben Hutchings on 2019-02-01

[klibc] Simplify build instructions

Recommend installing the kernel UAPI headers under the klibc source
directory. This reduces the second build step to just "make" (for
most native builds).

Explain the alternative options in a subsection of README.klibc.

Signed-off-by: Ben Hutchings <email address hidden>

2099. By Ben Hutchings on 2019-02-01

[klibc] Makefile: Check for $(KLIBCKERNELSRC)/include directory

We need installed UAPI headers, so check slightly further.

Signed-off-by: Ben Hutchings <email address hidden>

2098. By Ben Hutchings on 2019-02-01

[klibc] README.klibc: Replace list with sections and headings

The current text talks about a build process, but then lists many
things that are either optional or not related to the build process.
Turn the list items (and the rest of the text) into multiple sections
with headings.

Signed-off-by: Ben Hutchings <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