diff --git a/.0838-time-util-fix-buffer-over-run.patch.swp b/.0838-time-util-fix-buffer-over-run.patch.swp deleted file mode 100644 index c1bc9358e7ea8f716acf525b2a583b9b846fd87b..0000000000000000000000000000000000000000 Binary files a/.0838-time-util-fix-buffer-over-run.patch.swp and /dev/null differ diff --git a/20001-hwdb-parse_hwdb_dot_py.patch b/20001-hwdb-parse_hwdb_dot_py.patch new file mode 100644 index 0000000000000000000000000000000000000000..71bf1c52bc7934f877583073ff491f3ed7ef8661 --- /dev/null +++ b/20001-hwdb-parse_hwdb_dot_py.patch @@ -0,0 +1,299 @@ +From: rpm-build +Date: Thu, 28 Apr 2022 01:49:39 +0000 +Subject: [PATCH] Update upstream parse_hwdb.py to fix parse-hwdb error + +This patch does not correspond to a specific commit from upstream. Instead, it +is directly taken from + +https://github.com/systemd/systemd/blob/f2c36c0e2445fa95ba109017d4b768b2fd825c43/hwdb.d/parse_hwdb.py. + +This patch allows systemd-udev to parse newer hwdb. Hwdb is updated mostly +because of new hardware. Therefore, this patch allows systemd-udev to recongnize +these new hardware. + +--- +diff -uNrp systemd-239.orig/hwdb/parse_hwdb.py systemd-239/hwdb/parse_hwdb.py +--- systemd-239.orig/hwdb/parse_hwdb.py 2022-04-28 11:32:08.740731756 +0800 ++++ systemd-239/hwdb/parse_hwdb.py 2022-04-28 11:32:08.741731786 +0800 +@@ -1,6 +1,5 @@ + #!/usr/bin/env python3 +-# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */ +-# SPDX-License-Identifier: MIT ++# SPDX-License-Identifier: MIT + # + # This file is distributed under the MIT license, see below. + # +@@ -30,12 +29,11 @@ import sys + import os + + try: +- from pyparsing import (Word, White, Literal, ParserElement, Regex, +- LineStart, LineEnd, ++ from pyparsing import (Word, White, Literal, ParserElement, Regex, LineEnd, + OneOrMore, Combine, Or, Optional, Suppress, Group, + nums, alphanums, printables, +- stringEnd, pythonStyleComment, QuotedString, +- ParseBaseException) ++ stringEnd, pythonStyleComment, ++ ParseBaseException, __diag__) + except ImportError: + print('pyparsing is not available') + sys.exit(77) +@@ -52,33 +50,61 @@ except ImportError: + # don't do caching on old python + lru_cache = lambda: (lambda f: f) + ++__diag__.warn_multiple_tokens_in_named_alternation = True ++__diag__.warn_ungrouped_named_tokens_in_collection = True ++__diag__.warn_name_set_on_empty_Forward = True ++__diag__.warn_on_multiple_string_args_to_oneof = True ++__diag__.enable_debug_on_named_expressions = True ++ + EOL = LineEnd().suppress() + EMPTYLINE = LineEnd() + COMMENTLINE = pythonStyleComment + EOL + INTEGER = Word(nums) +-STRING = QuotedString('"') + REAL = Combine((INTEGER + Optional('.' + Optional(INTEGER))) ^ ('.' + INTEGER)) + SIGNED_REAL = Combine(Optional(Word('-+')) + REAL) + UDEV_TAG = Word(string.ascii_uppercase, alphanums + '_') + ++# Those patterns are used in type-specific matches + TYPES = {'mouse': ('usb', 'bluetooth', 'ps2', '*'), + 'evdev': ('name', 'atkbd', 'input'), ++ 'fb': ('pci'), + 'id-input': ('modalias'), + 'touchpad': ('i8042', 'rmi', 'bluetooth', 'usb'), + 'joystick': ('i8042', 'rmi', 'bluetooth', 'usb'), + 'keyboard': ('name', ), + 'sensor': ('modalias', ), ++ 'ieee1394-unit-function' : ('node', ), ++ 'camera': ('usb'), + } + ++# Patterns that are used to set general properties on a device ++GENERAL_MATCHES = {'acpi', ++ 'bluetooth', ++ 'usb', ++ 'pci', ++ 'sdio', ++ 'vmbus', ++ 'OUI', ++ 'ieee1394', ++ } ++ ++def upperhex_word(length): ++ return Word(nums + 'ABCDEF', exact=length) ++ + @lru_cache() + def hwdb_grammar(): + ParserElement.setDefaultWhitespaceChars('') + + prefix = Or(category + ':' + Or(conn) + ':' + for category, conn in TYPES.items()) +- matchline = Combine(prefix + Word(printables + ' ' + '®')) + EOL ++ ++ matchline_typed = Combine(prefix + Word(printables + ' ' + '®')) ++ matchline_general = Combine(Or(GENERAL_MATCHES) + ':' + Word(printables + ' ' + '®')) ++ matchline = (matchline_typed | matchline_general) + EOL ++ + propertyline = (White(' ', exact=1).suppress() + +- Combine(UDEV_TAG - '=' - Word(alphanums + '_=:@*.!-;, "') - Optional(pythonStyleComment)) + ++ Combine(UDEV_TAG - '=' - Optional(Word(alphanums + '_=:@*.!-;, "/')) ++ - Optional(pythonStyleComment)) + + EOL) + propertycomment = White(' ', exact=1) + pythonStyleComment + EOL + +@@ -87,7 +113,7 @@ def hwdb_grammar(): + (EMPTYLINE ^ stringEnd()).suppress()) + commentgroup = OneOrMore(COMMENTLINE).suppress() - EMPTYLINE.suppress() + +- grammar = OneOrMore(group('GROUPS*') ^ commentgroup) + stringEnd() ++ grammar = OneOrMore(Group(group)('GROUPS*') ^ commentgroup) + stringEnd() + + return grammar + +@@ -95,39 +121,57 @@ def hwdb_grammar(): + def property_grammar(): + ParserElement.setDefaultWhitespaceChars(' ') + +- dpi_setting = (Optional('*')('DEFAULT') + INTEGER('DPI') + Suppress('@') + INTEGER('HZ'))('SETTINGS*') ++ dpi_setting = Group(Optional('*')('DEFAULT') + INTEGER('DPI') + Optional(Suppress('@') + INTEGER('HZ')))('SETTINGS*') + mount_matrix_row = SIGNED_REAL + ',' + SIGNED_REAL + ',' + SIGNED_REAL +- mount_matrix = (mount_matrix_row + ';' + mount_matrix_row + ';' + mount_matrix_row)('MOUNT_MATRIX') ++ mount_matrix = Group(mount_matrix_row + ';' + mount_matrix_row + ';' + mount_matrix_row)('MOUNT_MATRIX') ++ xkb_setting = Optional(Word(alphanums + '+-/@._')) ++ ++ # Although this set doesn't cover all of characters in database entries, it's enough for test targets. ++ name_literal = Word(printables + ' ') + + props = (('MOUSE_DPI', Group(OneOrMore(dpi_setting))), + ('MOUSE_WHEEL_CLICK_ANGLE', INTEGER), + ('MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL', INTEGER), + ('MOUSE_WHEEL_CLICK_COUNT', INTEGER), + ('MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL', INTEGER), +- ('ID_INPUT', Literal('1')), +- ('ID_INPUT_ACCELEROMETER', Literal('1')), +- ('ID_INPUT_JOYSTICK', Literal('1')), +- ('ID_INPUT_KEY', Literal('1')), +- ('ID_INPUT_KEYBOARD', Literal('1')), +- ('ID_INPUT_MOUSE', Literal('1')), +- ('ID_INPUT_POINTINGSTICK', Literal('1')), +- ('ID_INPUT_SWITCH', Literal('1')), +- ('ID_INPUT_TABLET', Literal('1')), +- ('ID_INPUT_TABLET_PAD', Literal('1')), +- ('ID_INPUT_TOUCHPAD', Literal('1')), +- ('ID_INPUT_TOUCHSCREEN', Literal('1')), +- ('ID_INPUT_TRACKBALL', Literal('1')), +- ('MOUSE_WHEEL_TILT_HORIZONTAL', Literal('1')), +- ('MOUSE_WHEEL_TILT_VERTICAL', Literal('1')), ++ ('ID_AUTOSUSPEND', Or((Literal('0'), Literal('1')))), ++ ('ID_AV_PRODUCTION_CONTROLLER', Or((Literal('0'), Literal('1')))), ++ ('ID_PERSIST', Or((Literal('0'), Literal('1')))), ++ ('ID_PDA', Or((Literal('0'), Literal('1')))), ++ ('ID_INPUT', Or((Literal('0'), Literal('1')))), ++ ('ID_INPUT_ACCELEROMETER', Or((Literal('0'), Literal('1')))), ++ ('ID_INPUT_JOYSTICK', Or((Literal('0'), Literal('1')))), ++ ('ID_INPUT_KEY', Or((Literal('0'), Literal('1')))), ++ ('ID_INPUT_KEYBOARD', Or((Literal('0'), Literal('1')))), ++ ('ID_INPUT_MOUSE', Or((Literal('0'), Literal('1')))), ++ ('ID_INPUT_POINTINGSTICK', Or((Literal('0'), Literal('1')))), ++ ('ID_INPUT_SWITCH', Or((Literal('0'), Literal('1')))), ++ ('ID_INPUT_TABLET', Or((Literal('0'), Literal('1')))), ++ ('ID_INPUT_TABLET_PAD', Or((Literal('0'), Literal('1')))), ++ ('ID_INPUT_TOUCHPAD', Or((Literal('0'), Literal('1')))), ++ ('ID_INPUT_TOUCHSCREEN', Or((Literal('0'), Literal('1')))), ++ ('ID_INPUT_TRACKBALL', Or((Literal('0'), Literal('1')))), ++ ('ID_SIGNAL_ANALYZER', Or((Literal('0'), Literal('1')))), + ('POINTINGSTICK_SENSITIVITY', INTEGER), + ('POINTINGSTICK_CONST_ACCEL', REAL), + ('ID_INPUT_JOYSTICK_INTEGRATION', Or(('internal', 'external'))), + ('ID_INPUT_TOUCHPAD_INTEGRATION', Or(('internal', 'external'))), +- ('XKB_FIXED_LAYOUT', STRING), +- ('XKB_FIXED_VARIANT', STRING), ++ ('XKB_FIXED_LAYOUT', xkb_setting), ++ ('XKB_FIXED_VARIANT', xkb_setting), ++ ('XKB_FIXED_MODEL', xkb_setting), + ('KEYBOARD_LED_NUMLOCK', Literal('0')), + ('KEYBOARD_LED_CAPSLOCK', Literal('0')), + ('ACCEL_MOUNT_MATRIX', mount_matrix), ++ ('ACCEL_LOCATION', Or(('display', 'base'))), ++ ('PROXIMITY_NEAR_LEVEL', INTEGER), ++ ('IEEE1394_UNIT_FUNCTION_MIDI', Or((Literal('0'), Literal('1')))), ++ ('IEEE1394_UNIT_FUNCTION_AUDIO', Or((Literal('0'), Literal('1')))), ++ ('IEEE1394_UNIT_FUNCTION_VIDEO', Or((Literal('0'), Literal('1')))), ++ ('ID_VENDOR_FROM_DATABASE', name_literal), ++ ('ID_MODEL_FROM_DATABASE', name_literal), ++ ('ID_TAG_MASTER_OF_SEAT', Literal('1')), ++ ('ID_INFRARED_CAMERA', Or((Literal('0'), Literal('1')))), ++ ('ID_CAMERA_DIRECTION', Or(('front', 'rear'))), + ) + fixed_props = [Literal(name)('NAME') - Suppress('=') - val('VALUE') + for name, val in props] +@@ -165,8 +209,29 @@ def parse(fname): + return [] + return [convert_properties(g) for g in parsed.GROUPS] + +-def check_match_uniqueness(groups): ++def check_matches(groups): + matches = sum((group[0] for group in groups), []) ++ ++ # This is a partial check. The other cases could be also done, but those ++ # two are most commonly wrong. ++ grammars = { 'usb' : 'v' + upperhex_word(4) + Optional('p' + upperhex_word(4) + Optional(':')) + '*', ++ 'pci' : 'v' + upperhex_word(8) + Optional('d' + upperhex_word(8) + Optional(':')) + '*', ++ } ++ ++ for match in matches: ++ prefix, rest = match.split(':', maxsplit=1) ++ gr = grammars.get(prefix) ++ if gr: ++ # we check this first to provide an easy error message ++ if rest[-1] not in '*:': ++ error('pattern {} does not end with "*" or ":"', match) ++ ++ try: ++ gr.parseString(rest) ++ except ParseBaseException as e: ++ error('Pattern {!r} is invalid: {}', rest, e) ++ continue ++ + matches.sort() + prev = None + for match in matches: +@@ -196,15 +261,25 @@ def check_one_mount_matrix(prop, value): + def check_one_keycode(prop, value): + if value != '!' and ecodes is not None: + key = 'KEY_' + value.upper() +- if key not in ecodes: +- key = value.upper() +- if key not in ecodes: +- error('Keycode {} unknown', key) ++ if not (key in ecodes or ++ value.upper() in ecodes or ++ # new keys added in kernel 5.5 ++ 'KBD_LCD_MENU' in key): ++ error('Keycode {} unknown', key) ++ ++def check_wheel_clicks(properties): ++ pairs = (('MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL', 'MOUSE_WHEEL_CLICK_COUNT'), ++ ('MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL', 'MOUSE_WHEEL_CLICK_ANGLE'), ++ ('MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL', 'MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL'), ++ ('MOUSE_WHEEL_CLICK_COUNT', 'MOUSE_WHEEL_CLICK_ANGLE')) ++ for pair in pairs: ++ if pair[0] in properties and pair[1] not in properties: ++ error('{} requires {} to be specified', *pair) + + def check_properties(groups): + grammar = property_grammar() + for matches, props in groups: +- prop_names = set() ++ seen_props = {} + for prop in props: + # print('--', prop) + prop = prop.partition('#')[0].rstrip() +@@ -214,30 +289,35 @@ def check_properties(groups): + error('Failed to parse: {!r}', prop) + continue + # print('{!r}'.format(parsed)) +- if parsed.NAME in prop_names: ++ if parsed.NAME in seen_props: + error('Property {} is duplicated', parsed.NAME) +- prop_names.add(parsed.NAME) ++ seen_props[parsed.NAME] = parsed.VALUE + if parsed.NAME == 'MOUSE_DPI': + check_one_default(prop, parsed.VALUE.SETTINGS) + elif parsed.NAME == 'ACCEL_MOUNT_MATRIX': + check_one_mount_matrix(prop, parsed.VALUE) + elif parsed.NAME.startswith('KEYBOARD_KEY_'): +- check_one_keycode(prop, parsed.VALUE) ++ val = parsed.VALUE if isinstance(parsed.VALUE, str) else parsed.VALUE[0] ++ check_one_keycode(prop, val) ++ ++ check_wheel_clicks(seen_props) + + def print_summary(fname, groups): ++ n_matches = sum(len(matches) for matches, props in groups) ++ n_props = sum(len(props) for matches, props in groups) + print('{}: {} match groups, {} matches, {} properties' +- .format(fname, +- len(groups), +- sum(len(matches) for matches, props in groups), +- sum(len(props) for matches, props in groups))) ++ .format(fname, len(groups), n_matches, n_props)) ++ ++ if n_matches == 0 or n_props == 0: ++ error('{}: no matches or props'.format(fname)) + + if __name__ == '__main__': +- args = sys.argv[1:] or glob.glob(os.path.dirname(sys.argv[0]) + '/[67]0-*.hwdb') ++ args = sys.argv[1:] or sorted(glob.glob(os.path.dirname(sys.argv[0]) + '/[678][0-9]-*.hwdb')) + + for fname in args: + groups = parse(fname) + print_summary(fname, groups) +- check_match_uniqueness(groups) ++ check_matches(groups) + check_properties(groups) + + sys.exit(ERROR) diff --git a/20002-cgroup-do-not-refresh-cgroup-devices-config-when-dae.patch b/20002-cgroup-do-not-refresh-cgroup-devices-config-when-dae.patch new file mode 100644 index 0000000000000000000000000000000000000000..7d814899bfb9cdb99b24955c0d9f2797b29da8c8 --- /dev/null +++ b/20002-cgroup-do-not-refresh-cgroup-devices-config-when-dae.patch @@ -0,0 +1,26 @@ +From 62f8dac80e5f908f83b6e7cd06629055184c25d7 Mon Sep 17 00:00:00 2001 +From: Forrestly +Date: Thu, 23 Mar 2023 10:08:33 +0800 +Subject: [PATCH] cgroup: do not refresh cgroup devices config when + daemon-reload(#42937798) + +Signed-off-by: Forrestly +--- + src/core/cgroup.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/core/cgroup.c b/src/core/cgroup.c +index 50d2738..ea92aa6 100644 +--- a/src/core/cgroup.c ++++ b/src/core/cgroup.c +@@ -1920,6 +1920,7 @@ static int unit_realize_cgroup_now(Unit *u, ManagerState state) { + enable_mask = unit_get_enable_mask(u); + needs_bpf = unit_get_needs_bpf(u); + ++ target_mask &= ~CGROUP_MASK_DEVICES; + if (unit_has_mask_realized(u, target_mask, enable_mask, needs_bpf)) + return 0; + +-- +2.34.1 + diff --git a/20003-core-introduce-cgroup-full-delegation-for-compabilit.patch b/20003-core-introduce-cgroup-full-delegation-for-compabilit.patch new file mode 100644 index 0000000000000000000000000000000000000000..21c555722e99349bb41c1f5be9fb5ad481a28290 --- /dev/null +++ b/20003-core-introduce-cgroup-full-delegation-for-compabilit.patch @@ -0,0 +1,133 @@ +From f25124fabe1ed973840291d46549af6e1c5fad56 Mon Sep 17 00:00:00 2001 +From: "zhongling.h" +Date: Fri, 4 Aug 2023 10:08:16 +0800 +Subject: [PATCH] core: introduce cgroup full delegation for compability + +While using systemd-219, users can set 'delegate=y' to claim the +possession of cgroup settings. By then, users are able to write raw +values under /sys/fs/cgroup to adjust cgroup settings and systemd +won't touch these values any longer. + +However, this is likely to be an undefined behaviour for systemd-219. +Upon releasing systemd-239, a documentation of cgroup delegation was +added, +https://github.com/systemd/systemd/commit/e30eaff3a32523b09d61af67fc999f1f62f4e0cb. +It states that: + +Only sub-trees can be delegated (though whoever decides to request a +sub-tree can delegate sub-sub-trees further to somebody else if they +like it).' + +Which is quite different from what people understand the delegation of +systemd-219. Currently, whether a unit is delegated or not, systemd always +possesses any cgroup it created, only ignoring the sub-tree ones +according to delegation settings. + +This behaviour change causes confusion if users switch from systemd-219 to +systemd-239. As a result, we introduce 'FullDelegation', a feature that +brings what users are already familiar with to systemd-239. If users set +'FullDelegation=yes' in /etc/systemd/system.conf, they can control raw +values under /sys/fs/cgroup without worrying systemd touching these +values, which is the same as what they expected with systemd-219. + +--- + src/core/cgroup.c | 16 ++++++++++++++++ + src/core/main.c | 4 ++++ + src/core/manager.h | 1 + + src/core/system.conf.in | 1 + + 4 files changed, 22 insertions(+) + +diff --git a/src/core/cgroup.c b/src/core/cgroup.c +index ea92aa6f7b..17e3b90e37 100644 +--- a/src/core/cgroup.c ++++ b/src/core/cgroup.c +@@ -1692,6 +1692,15 @@ static int unit_create_cgroup( + /* Keep track that this is now realized */ + u->cgroup_realized = true; + u->cgroup_realized_mask = target_mask; ++ ++ // While realizing cgroup, we don't realize delegated cgroup, therefore, target_mask ++ // doesn't contain delegated cgroup controller bit, and u->cgroup_realized_mask will ++ // not contain delegated cgroup controller bit as well. This unit will be in a state ++ // as if delegated cgroup is not set, which is not expected. ++ // If this is not present, delegated cgroup will be set every 2 systemctl daemon-reload ++ if (u->manager->full_delegation && unit_cgroup_delegate(u)) ++ u->cgroup_realized_mask |= unit_get_delegate_mask(u); ++ + u->cgroup_enabled_mask = enable_mask; + u->cgroup_bpf_state = needs_bpf ? UNIT_CGROUP_BPF_ON : UNIT_CGROUP_BPF_OFF; + +@@ -1921,6 +1930,10 @@ static int unit_realize_cgroup_now(Unit *u, ManagerState state) { + needs_bpf = unit_get_needs_bpf(u); + + target_mask &= ~CGROUP_MASK_DEVICES; ++ ++ if (u->manager->full_delegation && unit_cgroup_delegate(u)) ++ target_mask ^= u->cgroup_realized_mask; ++ + if (unit_has_mask_realized(u, target_mask, enable_mask, needs_bpf)) + return 0; + +@@ -2883,6 +2896,9 @@ int unit_reset_ip_accounting(Unit *u) { + void unit_invalidate_cgroup(Unit *u, CGroupMask m) { + assert(u); + ++ if (u->manager->full_delegation) ++ m ^= unit_get_delegate_mask(u); // don't invalidate delegated cgroup ++ + if (!UNIT_HAS_CGROUP_CONTEXT(u)) + return; + +diff --git a/src/core/main.c b/src/core/main.c +index 546bf0d870..68daf07077 100644 +--- a/src/core/main.c ++++ b/src/core/main.c +@@ -142,6 +142,7 @@ static bool reexec_jmp_can = false; + static bool reexec_jmp_inited = false; + static sigjmp_buf reexec_jmp_buf; + static bool arg_default_cpuset_clone_children = false; ++static bool arg_full_delegation = false; + + static int parse_configuration(const struct rlimit *saved_rlimit_nofile, + const struct rlimit *saved_rlimit_memlock); +@@ -768,6 +769,8 @@ static int parse_config_file(void) { + { "Manager", "DefaultTasksMax", config_parse_tasks_max, 0, &arg_default_tasks_max }, + { "Manager", "CtrlAltDelBurstAction", config_parse_emergency_action, 0, &arg_cad_burst_action }, + { "Manager", "DefaultCPUSetCloneChildren",config_parse_bool, 0, &arg_default_cpuset_clone_children }, ++ { "Manager", "FullDelegation", config_parse_bool, 0, &arg_full_delegation }, ++ + {} + }; + +@@ -817,6 +820,7 @@ static void set_manager_defaults(Manager *m) { + m->default_memory_accounting = arg_default_memory_accounting; + m->default_tasks_accounting = arg_default_tasks_accounting; + m->default_tasks_max = arg_default_tasks_max; ++ m->full_delegation = arg_full_delegation; + + manager_set_default_rlimits(m, arg_default_rlimit); + manager_environment_add(m, NULL, arg_default_environment); +diff --git a/src/core/manager.h b/src/core/manager.h +index 98d381bc5b..91f2c05afe 100644 +--- a/src/core/manager.h ++++ b/src/core/manager.h +@@ -297,6 +297,7 @@ struct Manager { + bool default_blockio_accounting; + bool default_tasks_accounting; + bool default_ip_accounting; ++ bool full_delegation; + + uint64_t default_tasks_max; + usec_t default_timer_accuracy_usec; +diff --git a/src/core/system.conf.in b/src/core/system.conf.in +index 2f6852a89f..6c84a55401 100644 +--- a/src/core/system.conf.in ++++ b/src/core/system.conf.in +@@ -67,3 +67,4 @@ DefaultLimitCORE=0:infinity + #DefaultLimitRTTIME= + #IPAddressAllow= + #IPAddressDeny= ++#FullDelegation=no +-- +2.39.3 + diff --git a/systemd.spec b/systemd.spec index 313946d469bc44fffcafda5dbd6ea48d0a1ee0c1..64383fe6a0e995616ac039e292f4c3949fac4c8a 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.2 +%define anolis_release .0.3 #global gitcommit 10e465b5321bd53c1fc59ffab27e724535c6bc0f %{?gitcommit:%global gitcommitshort %(c=%{gitcommit}; echo ${c:0:7})} @@ -965,6 +965,7 @@ Patch0911: 0911-ci-first-part-of-the-source-git-automation-commit-li.patch Patch0912: 0912-login-add-a-missing-error-check-for-session_set_lead.patch Patch0913: 0913-logind-reset-session-leader-if-we-know-for-a-fact-th.patch Patch0914: 0914-umount-check-LO_FLAGS_AUTOCLEAR-after-LOOP_CLR_FD-cl.patch + Patch10000: 10000-core-fix-a-null-reference-case-in-load_from_path.patch Patch10001: 10001-sysctl-Don-t-pass-null-directive-argument-to-s.patch Patch10002: 10002-exit-status-introduce-EXIT_EXCEPTION-mapping-to-255.patch @@ -992,6 +993,10 @@ Patch10023: 10023-fileio-beef-up-READ_FULL_FILE_CONNECT_SOCKET-to-all.patch Patch10024: 10024-fileio-teach-read_full_file_full-to-read-from-offse.patch Patch10025: 10025-cryptsetup-port-cryptsetup-s-main-key-file-logic-ov.patch +Patch20001: 20001-hwdb-parse_hwdb_dot_py.patch +Patch20002: 20002-cgroup-do-not-refresh-cgroup-devices-config-when-dae.patch +Patch20003: 20003-core-introduce-cgroup-full-delegation-for-compabilit.patch + %ifarch %{ix86} x86_64 aarch64 %global have_gnu_efi 1 %endif @@ -1621,6 +1626,11 @@ fi %files tests -f .file-list-tests %changelog +* Mon Oct 30 2023 Zhongling He - 239.74.0.3.3 +- Update upstream parse_hwdb.py to fix parse-hwdb error +- cgroup: do not refresh cgroup devices config when daemon-reload +- core: introduce cgroup full delegation for compability + * Wed Sep 06 2023 Yuanhong Peng - 239-74.0.2.3 - core: fix a null reference case in load_from_path() - sysctl: Don't pass null directive argument to '%s'