Package: klibc / 2.0.4-2

Metadata

Package Version Patches format
klibc 2.0.4-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
ia64 static | (download)

usr/dash/Kbuild | 4 4 + 0 - 0 !
usr/kinit/fstype/Kbuild | 4 4 + 0 - 0 !
usr/kinit/ipconfig/Kbuild | 4 4 + 0 - 0 !
usr/kinit/nfsmount/Kbuild | 4 4 + 0 - 0 !
usr/kinit/resume/Kbuild | 4 4 + 0 - 0 !
usr/kinit/run-init/Kbuild | 4 4 + 0 - 0 !
usr/utils/Kbuild | 4 4 + 0 - 0 !
7 files changed, 28 insertions(+)

 use static tools on ia64
 On IA64, the shared binaries do not work.

ppc64 static | (download)

usr/dash/Kbuild | 2 1 + 1 - 0 !
usr/kinit/fstype/Kbuild | 2 1 + 1 - 0 !
usr/kinit/ipconfig/Kbuild | 2 1 + 1 - 0 !
usr/kinit/nfsmount/Kbuild | 2 1 + 1 - 0 !
usr/kinit/resume/Kbuild | 2 1 + 1 - 0 !
usr/kinit/run-init/Kbuild | 2 1 + 1 - 0 !
usr/utils/Kbuild | 2 1 + 1 - 0 !
7 files changed, 7 insertions(+), 7 deletions(-)

 use static tools on ppc64
 On ppc64, the shared binaries do not work either.

klibc linux libc dev | (download)

scripts/Kbuild.install | 7 6 + 1 - 0 !
1 file changed, 6 insertions(+), 1 deletion(-)

---
insmod | (download)

usr/utils/Kbuild | 4 3 + 1 - 0 !
usr/utils/insmod.c | 140 140 + 0 - 0 !
2 files changed, 143 insertions(+), 1 deletion(-)

---
multiarch include path | (download)

klcc/Kbuild | 1 1 + 0 - 0 !
klcc/klcc.in | 4 4 + 0 - 0 !
2 files changed, 5 insertions(+)

 include the multiarch include directory in klcc's path
 The multiarch include directory, /usr/include/<triplet>, needs to be
 explicitly added to klcc's path; without this, klcc is incompatible
 with recent Ubuntu versions of linux-libc-dev and fails to find any asm/
 headers.
 .
 This change is safe to apply on non-multiarch-enabled systems, since
 $(DEB_HOST_MULTIARCH) will evaluate empty.  However, upstreaming should
 probably wait until we have a way to get this path information in a
 vendor-neutral manner.
Fix minimal mv to work across fs | (download)

usr/utils/mv.c | 236 217 + 19 - 0 !
1 file changed, 217 insertions(+), 19 deletions(-)

 [patch] [klibc] fix minimal mv to work across fs

This is the use case in initramfs to keep data from /run to /root/run
before calling switch_root().

copy_file() doesn't yet catch EINTR, but that seems less of an issue
in initramfs.

copy_file() and much logic out of copy() is from Ulrich Dangel.
Thank you for the collaboration on this blocker for
http://bugs.debian.org/627808

While we are it require move to have mv at least 2 arguments passed.

Signed-off-by: Ulrich Dangel <uli@spamt.net>
Signed-off-by: maximilian attems <max@stro.at>

ppc64el load toc syscall stub.patch | (download)

usr/klibc/arch/ppc64/sysstub.ph | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 [klibc] [patch] ppc64: elfv2: load toc value in system call stub
implement realpath.patch | (download)

usr/include/stdlib.h | 2 2 + 0 - 0 !
usr/klibc/Kbuild | 2 1 + 1 - 0 !
usr/klibc/realpath.c | 49 49 + 0 - 0 !
3 files changed, 52 insertions(+), 1 deletion(-)

 [klibc] implement realpath()
Bug-Debian: https://bugs.debian.org/763049

This is needed as the basis for the readlink -f option.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

readlink add f option.patch | (download)

usr/utils/readlink.c | 29 25 + 4 - 0 !
1 file changed, 25 insertions(+), 4 deletions(-)

 readlink: add -f option
Bug-Debian: https://bugs.debian.org/763049

This is needed to support mounting non-root filesystems in
initramfs-tools.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

mount implement o defaults.patch | (download)

usr/utils/mount_opts.c | 9 7 + 2 - 0 !
1 file changed, 7 insertions(+), 2 deletions(-)

 mount: implement -o defaults
Bug-Debian: https://bugs.debian.org/763049

This is needed to support mounting non-root filesystems in
initramfs-tools.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

mips update archfcntl h.patch | (download)

usr/include/arch/mips/klibc/archfcntl.h | 22 21 + 1 - 0 !
1 file changed, 21 insertions(+), 1 deletion(-)

 [klibc] mips: update archfcntl.h
Bug-Debian: https://bugs.debian.org/763049

Update usr/include/arch/mips/archfcntl.h from kernel headers:

- Add definitions of O_PATH, O_TMPFILE
- Update value of O_SYNC to include __O_SYNC
- Add definitions of F_{SET,GET}OWN_EX, F_GETOWNER_UIDS,
  F_OFD_{GETLK,SETLK,SETLKW}, F_OWNER_{TID,PID,PGRP}

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>