Skip to content
Commit 74735341 authored by Tristan Schmelcher's avatar Tristan Schmelcher Committed by Richard Weinberger
Browse files

uml: Fix which_tmpdir failure when /dev/shm is a symlink, and in other edge cases



which_tmpdir did the wrong thing if /dev/shm was a symlink (e.g., to /run/shm),
if there were multiple mounts on top of each other, if the mount(s) were
obscured by a later mount, or if /dev/shm was a prefix of another mount point.
This fixes these cases. Applies to 3.9.6.

Signed-off-by: default avatarTristan Schmelcher <tschmelcher@google.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 0974a9ca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment