diff options
| author | Pali Rohár <pali@kernel.org> | 2024-12-26 15:20:39 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-08 09:58:10 +0100 |
| commit | 077f372585b610784bea86bfc31e365066153989 (patch) | |
| tree | 368c6b9edac119f2950eca8e49177b2be6396d5d /scripts | |
| parent | 4eb5f692e923f1fb1d14da2bfdb6f733e2ca7a31 (diff) | |
| download | linux-077f372585b610784bea86bfc31e365066153989.tar.gz linux-077f372585b610784bea86bfc31e365066153989.tar.bz2 linux-077f372585b610784bea86bfc31e365066153989.zip | |
cifs: Validate EAs for WSL reparse points
[ Upstream commit ef201e8759d20bf82b5943101147072de12bc524 ]
Major and minor numbers for char and block devices are mandatory for stat.
So check that the WSL EA $LXDEV is present for WSL CHR and BLK reparse
points.
WSL reparse point tag determinate type of the file. But file type is
present also in the WSL EA $LXMOD. So check that both file types are same.
Fixes: 78e26bec4d6d ("smb: client: parse uid, gid, mode and dev from WSL reparse points")
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
