Kernel: Trying to sys$link() a directory should fail with EPERM

This commit is contained in:
Andreas Kling 2020-01-15 22:10:38 +01:00
commit d4d17ce423
Notes: sideshowbarker 2024-07-19 10:02:27 +09:00
2 changed files with 5 additions and 0 deletions

View file

@ -255,5 +255,7 @@ int main(int, char**)
test_eoverflow();
test_rmdir_while_inside_dir();
EXPECT_ERROR_2(EPERM, link, "/", "/home/anon/lolroot");
return 0;
}