# The NVIDIA license does not allow any form of modification.
hardening-no-bindnow
hardening-no-fortify-functions
hardening-no-pie
hardening-no-relro
binary-has-unneeded-section
[!ppc64el]: embedded-library openssl [usr/lib/*/nsight-systems/target-linux-*/CollectX/libcrypto.so.10]
[!ppc64el]: embedded-library zlib [usr/lib/*/nsight-systems/target-linux-*/libnvperf_grfx_host.so]
exit-in-shared-library
[arm64]: shared-library-lacks-stack-section
[ppc64el]: specific-address-in-shared-library
spelling-error-in-binary
unstripped-binary-or-object

# Lintian and debhelper disagree w.r.t. a library in a private directory.
package-has-unnecessary-activation-of-ldconfig-trigger

# Some of NVIDIA's binaries expect files at certain relative paths.
executable-in-usr-lib
repeated-path-segment lib [usr/lib/*/nsight-systems/target-linux-*/python/lib/]
[!ppc64el]: repeated-path-segment lib [usr/lib/*/nsight-systems/target-linux-*/python/packages/nsys_recipe/lib/]
[!ppc64el]: repeated-path-segment lib [usr/lib/*/nsight-systems/target-linux-*/CollectX/lib/]

# Describes contents and purpose of the directory.
package-contains-documentation-outside-usr-share-doc [usr/lib/*/nsight-systems/target-linux-*/reports/README.txt]
package-contains-documentation-outside-usr-share-doc [usr/lib/*/nsight-systems/target-linux-*/rules/README.txt]

# Configuration file.
[!ppc64el]: package-contains-documentation-outside-usr-share-doc [usr/lib/*/nsight-systems/target-linux-*/CollectX/CollectXCountersToCollect.txt]

# Python module metadata.
[!ppc64el]: package-contains-documentation-outside-usr-share-doc [usr/lib/*/nsight-systems/target-linux-*/python/packages/nsys_recipe/requirements/*.txt]
