diff options
author | Demi Marie Obenour <demi@invisiblethingslab.com> | 2023-06-03 10:52:44 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-06-23 10:31:52 -0400 |
commit | 81ca2dbefaabe1a2ca1c7cfc84dfd45c072c82a6 (patch) | |
tree | ea80c80e1d1ef1cb7375fcb64edbd9d41401d747 /lib/debugobjects.c | |
parent | a85f1a9de91a59cd9b12d60f631cbda9c56a1c3c (diff) |
dm ioctl: Refuse to create device named "." or ".."
Using either of these is going to greatly confuse userspace, as they are
not valid symlink names and so creating the usual /dev/mapper/NAME
symlink will not be possible. As creating a device with either of these
names is almost certainly a userspace bug, just error out.
Signed-off-by: Demi Marie Obenour <demi@invisiblethingslab.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions