[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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-----


Reply to: