This test is aimed at stressing the fcntl locking functions. A master process sets a lock on a file region (byte range locking). Several slave processes try to perform operations on this region, such as: read, write, set a new lock ... The expected results of these operations are known. If the operation's result is the same as the expected one, the test succeeds, otherwise it fails. Locktests stress POSIX locks.
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.