summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
maximilian attems [Mon, 4 Jul 2011 15:51:52 +0000 (17:51 +0200)]
[PATCH] [klibc] Fix minimal mv to work across fs
Forwarded: not-needed
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>
[bwh: This is no longer needed by initramfs-tools starting with version 0.121,
so can be dropped after the stretch release]
Gbp-Pq: Name Fix-minimal-mv-to-work-across-fs
Steve Langasek [Mon, 28 Jun 2021 14:24:37 +0000 (15:24 +0100)]
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.
Gbp-Pq: Name multiarch-include-path
Ben Hutchings [Sun, 14 Mar 2010 18:41:56 +0000 (18:41 +0000)]
Fix klibc Debian specific build trouble
Simply remove the headers_install invocation and rely on linux-libc-dev.
With these changes:
(the extra chmod was needed to allow for umask > 022) I could compile,
link and run this program:
#include <unistd.h>
int main(void)
{
write(1, "Hello world\n", 12);
return 0;
}
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
[ added multi arch support ]
Signed-off-by: Colin Watson <cjwatson@ubuntu.com>
Signed-off-by: maximilian attems <max@stro.at>
[ fixed cross building ]
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Gbp-Pq: Name klibc-linux-libc-dev
Ben Hutchings [Sun, 15 Jul 2018 20:53:39 +0000 (21:53 +0100)]
Never clean files in quilt status directory
The top-level "distclean" and "mrproper" targets delete zero-size
files in the source, perhaps assumed to be stamp files. This is fine
for actual source direcgtories, but disastrous for a quilt status
directory.
For each patch, quilt stores the previous versions of the modified
files in a subdirectory of .pc. If the patch creates a file, this
file will be empty. Removing it effectively removes the file creation
from the patch.
The .git directory is already excluded from the clean rules for
a similar reason, so do the same for .pc.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Name never-clean-files-in-quilt-status-directory.patch
Ben Hutchings [Mon, 28 Jun 2021 14:24:37 +0000 (15:24 +0100)]
klibc (2.0.4-9+deb9u1) stretch-security; urgency=high
* Never clean files in quilt status directory
* debian/rules: Use $(MAKE) for recursive make
* debian/rules: Change override_dh_auto_test rule to actually run tests
* Apply security fixes from 2.0.9 (Closes: #989505):
- malloc: Set errno on failure
- malloc: Fail if requested size > PTRDIFF_MAX (CVE-2021-31873)
- calloc: Fail if multiplication overflows (CVE-2021-31870)
- cpio: Fix possible integer overflow on 32-bit systems (CVE-2021-31872)
- cpio: Fix possible crash on 64-bit systems (CVE-2021-31871)
[dgit import unpatched klibc 2.0.4-9+deb9u1]
Ben Hutchings [Mon, 28 Jun 2021 14:24:37 +0000 (15:24 +0100)]
Import klibc_2.0.4-9+deb9u1.debian.tar.xz
[dgit import tarball klibc 2.0.4-9+deb9u1 klibc_2.0.4-9+deb9u1.debian.tar.xz]
maximilian attems [Thu, 11 Sep 2014 19:23:25 +0000 (20:23 +0100)]
Import klibc_2.0.4.orig.tar.gz
[dgit import orig klibc_2.0.4.orig.tar.gz]