On 4/28/22 03:10, Giovanni Mascellani wrote:
Hi,
Il 25/04/22 20:20, Zebediah Figura ha scritto:
Yes, procfs still displays the mapping in that case. Note that what's listed is the path (and inode), so we would reopen the path and then map it.
Couldn't the driver have deleted the file too?
Indeed, that is possible. I don't think it'd happen in practice, but it's one of the reasons it might be nice to have a fallback like I had mentioned.
Or can you create a new link to a file given its inode? I couldn't find how after a brief internet search.
I don't think you can do this; it would be a security hole.