lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 25 Sep 2023 08:24:29 -0300
From:   "Ricardo B. Marliere" <ricardo@...liere.net>
To:     Juntong Deng <juntong.deng@...look.com>
Cc:     shuah@...nel.org,
        "linux-kernel-mentees@...ts.linuxfoundation.org" 
        <linux-kernel-mentees@...ts.linuxfoundation.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        linux-kselftest@...r.kernel.org
Subject: Re: [RFC] selftests: Add dependencies information for kselftest

On 23/09/25 06:25PM, Juntong Deng wrote:
> Most of the tests in kselftest rely on external tools and libraries
> to run, which means that in order to run the tests effectively we need
> to have all the dependencies installed first.
> 
> But unfortunately, there is currently no way to know in advance what
> tools and libraries the tests in kselftest depend on, and can only be
> known when a test run fails.

Hello Juntong,

did you check if tools/testing/selftests/kselftest_deps.sh does what
you're after? It won't tell you what packages are missing because it's
distro-independent, but it tells you what libs your system is missing.

e.g.

(...)
Targets failed build dependency check on system: alsa bpf cachestat
capabilities clone3 filesystems fpu futex hid intel_pstate kvm landlock
membarrier memfd mm mqueue net netfilter powerpc ptp rseq rtc safesetid
sched seccomp timens timers user_events vDSO
-------------------------------------------------------- Missing
libraries system -lasound -lcap -lcap-ng -lcrypto -ldl -lelf -lfuse
-lgcc_s -lm -lmnl -lnuma -lpopt -lpthread -lrt -lz -pthread



Regards,
-	Ricardo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ