Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion sources/meta-mylayer/conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ BBFILE_PATTERN_meta-mylayer = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-mylayer = "6"

LAYERDEPENDS_meta-mylayer = "core"
LAYERSERIES_COMPAT_meta-mylayer = "scarthgap"
LAYERSERIES_COMPAT_meta-mylayer = "styhead"
2 changes: 1 addition & 1 deletion sources/meta-mylayer/recipes-example/hello/hello_0.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384

SRC_URI = "file://hello.py"

S = "${WORKDIR}"
S = "${UNPACKDIR}"

#inherit setuptools

Expand Down
4 changes: 2 additions & 2 deletions sources/meta-openembedded/.subproject
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[upstream]
object-id = e8fd97d86af86cdcc5a6eb3f301cbaf6a2084943
revision = refs/heads/scarthgap
object-id = c93994f1bb601c57548b588d4f77a044d90822cf
revision = styhead
url = https://git.openembedded.org/meta-openembedded
8 changes: 4 additions & 4 deletions sources/meta-openembedded/meta-filesystems/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,26 @@ This layer depends on:

URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: scarthgap
branch: styhead

URI: git://git.openembedded.org/meta-openembedded
layers: meta-oe
branch: scarthgap
branch: styhead

Patches
=======

Please submit any patches against the filesystems layer to the
OpenEmbedded development mailing list (openembedded-devel@lists.openembedded.org)
with '[meta-filesystems][scarthgap]' in the subject.
with '[meta-filesystems][styhead]' in the subject.

Layer maintainer: Armin Kuster <akuster808@gmail.com>

When sending single patches, please use something like:

git send-email -1 -M \
--to openembedded-devel@lists.openembedded.org \
--subject-prefix='meta-filesystems][scarthgap][PATCH'
--subject-prefix='meta-filesystems][styhead][PATCH'


Table of Contents
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@
KNOWN_NON_REPRO_META_FILESYSTEMS = " \
e2tools-ptest \
xfsprogs-doc \
zfs \
zfs-dbg \
zfs-dev \
"
2 changes: 1 addition & 1 deletion sources/meta-openembedded/meta-filesystems/conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ LAYERVERSION_filesystems-layer = "1"

LAYERDEPENDS_filesystems-layer = "core openembedded-layer networking-layer"

LAYERSERIES_COMPAT_filesystems-layer = "scarthgap"
LAYERSERIES_COMPAT_filesystems-layer = "styhead"
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
From 7b6210c5be46e5120b42c09f910e8f104bf3edf1 Mon Sep 17 00:00:00 2001
From: Erik Larsson <erik@tuxera.com>
Date: Tue, 13 Jun 2023 17:47:15 +0300
Subject: [PATCH] unistr.c: Fix use-after-free in 'ntfs_uppercase_mbs'.

If 'utf8_to_unicode' throws an error due to an invalid UTF-8 sequence,
then 'n' will be less than 0 and the loop will terminate without storing
anything in '*t'. After the loop the uppercase string's allocation is
freed, however after it is freed it is unconditionally accessed through
'*t', which points into the freed allocation, for the purpose of NULL-
terminating the string. This leads to a use-after-free.
Fixed by only NULL-terminating the string when no error has been thrown.

Thanks for Jeffrey Bencteux for reporting this issue:
https://github.com/tuxera/ntfs-3g/issues/84

Upstream-Status: Backport [https://github.com/tuxera/ntfs-3g/commit/75dcdc2cf37478fad6c0e3427403d198b554951d]
CVE: CVE-2023-52890
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

---
libntfs-3g/unistr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libntfs-3g/unistr.c b/libntfs-3g/unistr.c
index 5854b3b..db8ddf4 100644
--- a/libntfs-3g/unistr.c
+++ b/libntfs-3g/unistr.c
@@ -1189,8 +1189,9 @@ char *ntfs_uppercase_mbs(const char *low,
free(upp);
upp = (char*)NULL;
errno = EILSEQ;
+ } else {
+ *t = 0;
}
- *t = 0;
}
return (upp);
}
--
2.34.1

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \

SRC_URI = "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-${PV}.tgz \
file://0001-libntfs-3g-Makefile.am-fix-install-failed-while-host.patch \
file://0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch \
"
S = "${WORKDIR}/ntfs-3g_ntfsprogs-${PV}"
SRC_URI[sha256sum] = "f20e36ee68074b845e3629e6bced4706ad053804cbaf062fbae60738f854170c"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ EXTRA_OECONF = " \
do_install:prepend() {
install -d ${D}${sysconfdir}/default/
install -d ${D}${sysconfdir}/init.d/
install -m 0755 ${WORKDIR}/owhttpd ${D}${sysconfdir}/init.d/owhttpd
install -m 0755 ${WORKDIR}/owserver ${D}${sysconfdir}/init.d/owserver
install -m 0755 ${UNPACKDIR}/owhttpd ${D}${sysconfdir}/init.d/owhttpd
install -m 0755 ${UNPACKDIR}/owserver ${D}${sysconfdir}/init.d/owserver
}

PACKAGES =+ "owftpd owhttpd owserver owshell libowcapi libow libownet owmon owtap"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
SUMMARY = "OpenZFS on Linux and FreeBSD"
DESCRIPTION = "OpenZFS on Linux and FreeBSD"
LICENSE = "CDDL-1.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7087caaf1dc8a2856585619f4a787faa"
HOMEPAGE ="https://github.com/openzfs/zfs"

SRCREV = "33174af15112ed5c53299da2d28e763b0163f428"
SRC_URI = "git://github.com/openzfs/zfs;protocol=https;branch=zfs-2.2-release \
file://0001-Define-strndupa-if-it-does-not-exist.patch \
file://aaf28a4630af60496c9d33db1d06a7d7d8983422.patch \
file://0001-fs-tests-cmd-readmmap-Replace-uint_t-with-uint32_t.patch \
"

S = "${WORKDIR}/git"

# Using both 'module' and 'autotools' classes seems a bit odd, they both
# define a do_compile function.
# That's why we opt for module-base, also this prevents module splitting.
inherit module-base pkgconfig autotools bash-completion

DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl curl"

PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit', d)}"

PACKAGECONFIG[pam] = "--enable-pam --with-pamconfigsdir=${datadir}/pam-configs --with-pammoduledir=${libdir}/security, --disable-pam"
PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,"
PACKAGECONFIG[sysvinit] = "--enable-sysvinit,--disable-sysvinit,"

EXTRA_OECONF:append = " \
--disable-pyzfs \
--with-linux=${STAGING_KERNEL_DIR} --with-linux-obj=${STAGING_KERNEL_BUILDDIR} \
--with-mounthelperdir=${base_sbin} \
--with-udevdir=${base_libdir}/udev \
--with-systemdunitdir=${systemd_system_unitdir} \
--with-systemdgeneratordir=${nonarch_base_libdir}/systemd/system-generators \
--with-systemdpresetdir=${nonarch_base_libdir}/systemd/system-preset \
--with-systemdmodulesloaddir=${sysconfdir}/module-load.d \
--without-dracutdir --enable-linux-builtin \
"

EXTRA_OEMAKE:append = " \
INSTALL_MOD_PATH=${D}${root_prefix} \
"

do_install:append() {
# /usr/share/zfs contains the zfs-tests folder which we do not need:
rm -rf ${D}${datadir}/zfs

rm -rf ${D}${datadir}/initramfs-tools
}

FILES:${PN} += "\
${nonarch_base_libdir}/modules \
${systemd_system_unitdir} \
${nonarch_base_libdir}/systemd/system-generators \
${nonarch_base_libdir}/systemd/system-preset \
${sysconfdir}/modules-load.d/${BPN}.conf \
${sysconfdir}/default/${BPN} \
${sysconfdir}/sudoers.d/${BPN} \
${sysconfdir}/${BPN} \
${base_libdir}/udev \
${sbindir} \
${bindir} \
${libexecdir}/${BPN} \
${libdir} \
"

FILES:${PN}-dev += "\
${prefix}/src/zfs-${PV} \
${prefix}/src/spl-${PV} \
"
# Not yet ported to rv32
COMPATIBLE_HOST:riscv32 = "null"
# conflicting definition of ABS macro from asm/asm.h from kernel
COMPATIBLE_HOST:mips = "null"
# FTBFS on aarch64 with 6.2+ kernel see https://github.com/openzfs/zfs/issues/14555
COMPATIBLE_HOST:aarch64 = "null"

This file was deleted.

This file was deleted.

Loading