1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:27:35 +00:00

Tests: Add a unit test to ensure the /dev/mem device works correctly

To ensure everything works as expected, a unit test was added with
multiple scenarios.
This binary has to have the SetUID flag, and we also bind-mount the
/usr/Tests directory to allow running of SetUID binaries.
This commit is contained in:
Liav A 2021-10-22 12:02:11 +03:00 committed by Andreas Kling
parent 026687816d
commit cf0dbc9069
4 changed files with 57 additions and 0 deletions

View file

@ -8,5 +8,6 @@
/root /root bind bind,nodev,nosuid
/var /var bind bind,nodev,nosuid
/www /www bind bind,nodev,nosuid
/usr/Tests /usr/Tests bind bind,nodev
none /tmp tmp nodev,nosuid