Bug #7917

libc-tests: random/inz_mlock assumes additional privileges

Added by Yuri Pankov 11 months ago.

Status:NewStart date:2017-03-01
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:tests
Target version:-
Difficulty:Medium Tags:needs-triage

Description

libc-tests suite can be run as any user (per README), while inz_mlock test case uses mlock(3C), which requires {PRIV_PROC_LOCK_MEMORY} (per man page).

We should probably mark the test as SKIP if we get EPERM from mlock() call.

Also available in: Atom