Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #77915

Bug#1028601: linux: DeviceTree files (*.dtb) should not have the executable bit set

From Diederik de Haas <didi.debian@cknow.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1028601: linux: DeviceTree files (*.dtb) should not have the executable bit set
Date 2023-01-13 15:00 +0100
Message-ID <FNsL8-8gk-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Source: linux
Version: 6.1.4-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

The DeviceTree files (*.dtb) as shipped with the Debian kernel have the
executable bit set, but there is absolutely no need for that.
Lintian rightfully complains about it (executable-not-elf-or-script).

$ ls -lh /usr/lib/linux-image-6.1.0-1-arm64/rockchip/rk3328*.dtb
- -rwxr-xr-x 1 root root 35K jan  7 14:53 /usr/lib/linux-image-6.1.0-1-arm64/rockchip/rk3328-a1.dtb
- -rwxr-xr-x 1 root root 34K jan  7 14:53 /usr/lib/linux-image-6.1.0-1-arm64/rockchip/rk3328-evb.dtb
- -rwxr-xr-x 1 root root 36K jan  7 14:53 /usr/lib/linux-image-6.1.0-1-arm64/rockchip/rk3328-nanopi-r2s.dtb
- -rwxr-xr-x 1 root root 36K jan  7 14:53 /usr/lib/linux-image-6.1.0-1-arm64/rockchip/rk3328-roc-cc.dtb
- -rwxr-xr-x 1 root root 36K jan  7 14:53 /usr/lib/linux-image-6.1.0-1-arm64/rockchip/rk3328-rock64.dtb
- -rwxr-xr-x 1 root root 36K jan  7 14:53 /usr/lib/linux-image-6.1.0-1-arm64/rockchip/rk3328-rock-pi-e.dtb
- -rwxr-xr-x 1 root root 37K jan  7 14:53 /usr/lib/linux-image-6.1.0-1-arm64/rockchip/rk3328-roc-pc.dtb

The sources for them (*.dts) don't have the executable bit set though.

- -- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.1.0-1-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCY8FhggAKCRDXblvOeH7b
boB2AQDcW2ROAiGx8YU7prBbLQHPj4OYQf9PJXLgK/tzc3nnwwEAtfzPWkCnhYB5
+J41AbRiCUbT6SEaqVg5S9MP9DkW/gI=
=M+b1
-----END PGP SIGNATURE-----

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#1028601: linux: DeviceTree files (*.dtb) should not have the executable bit set Diederik de Haas <didi.debian@cknow.org> - 2023-01-13 15:00 +0100
  Bug#1028601: marked as done (linux: DeviceTree files (*.dtb)  should not have the executable bit set) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-01-29 17:10 +0100

csiph-web