79754678

Date: 2025-09-03 13:57:17
Score: 0.5
Natty:
Report link

Okay. I found an answer. For those, who need help with this question: read this article.

Main part of this question is to find struct mount, whose field is struct vfsmount from struct path. To do this, you can use container_of (read this). So, with mount and dentry you can successfully restore path. (Kernel also can restore path to file in other mount namespace, I don't do this)

Reasons:
  • Blacklisted phrase (1): this article
  • Whitelisted phrase (-1.5): you can use
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mr hard