-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On 5.8 kernels unprivileged whiteout creation is allowed #16721
Comments
Probably also need to change: systemd/src/test/test-stat-util.c Line 151 in 28b05d1
because inaccessiable/{chr,blk} are whiteouts as well afaict.
|
it would probably suffice to swap the order of the char vs. block device node testing, right? since block devices of zero major are still not allowed, right? it's only the char devices 0:0 that are now allowed, correct? |
Yes, it's only the 0:0 char device that is now allowed, so testing the block device node first should be sufficient. |
fix pending in #16734 |
Fixes: systemd#16721 (cherry picked from commit 5b5ce62)
Fixes: systemd#16721 (cherry picked from commit 5b5ce62) (cherry picked from commit f44ec1d)
@poettering one of your colleagues made it possible to create unprivileged whiteouts in newer kernels:
This means:
systemd/src/test/test-fs-util.c
Line 620 in 8301719
should likely be adapted to test some other device. We've seen failures for this in our test-suites.
The text was updated successfully, but these errors were encountered: