]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
classes: cve-check: Get shared database lock
authorJoshua Watt <JPEWhacker@gmail.com>
Tue, 30 Aug 2022 15:59:39 +0000 (10:59 -0500)
committerSteve Sakoman <steve@sakoman.com>
Wed, 7 Sep 2022 14:40:43 +0000 (04:40 -1000)
commit374dd13db2c4fa92793f12c93d68d09304f77c17
tree74d4bd2e8146e3869e8827366251b4c445320e3d
parent7028803d7d10c0b041a7bda16f9d9261f220459f
classes: cve-check: Get shared database lock

The CVE check database needs to have a shared lock acquired on it before
it is accessed. This to prevent cve-update-db-native from deleting the
database file out from underneath it.

[YOCTO #14899]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 20a9911b73df62a0d0d1884e57085f13ac5016dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/cve-check.bbclass