From 464fd24324b4d87e8378f7463800a2e65bf74678 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 2 Jun 2024 19:38:25 +0800 Subject: [PATCH] udev & systemd: Emphasis "API headers" for linux compatibility Or people will ask "why no-break-userspace rule does not apply?" --- chapter08/systemd.xml | 2 +- chapter08/udev.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index 30b99fc17..effd15165 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -48,7 +48,7 @@ sed -i -e 's/GROUP="render"/GROUP="video"/' \ -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in - Next, fix compatibility with linux-6.9 and later: + Next, fix compatibility with API headers from linux-6.9 and later: sed -i '/DEVMEM_MAGIC 0/{n;n;a \ /* cb12fd8e0dabb9a1c8aef55a6a41e2c255fcdf4b (6.8) */ diff --git a/chapter08/udev.xml b/chapter08/udev.xml index 8f71237b8..1c293a851 100644 --- a/chapter08/udev.xml +++ b/chapter08/udev.xml @@ -55,7 +55,7 @@ sed '/systemd-sysctl/s/^/#/' -i rules.d/99-systemd.rules.in - Next, fix compatibility with linux-6.9 and later: + Next, fix compatibility with API headers from linux-6.9 and later: sed -i '/DEVMEM_MAGIC 0/{n;n;a \ /* cb12fd8e0dabb9a1c8aef55a6a41e2c255fcdf4b (6.8) */ \