Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add comments: logic behind comparison compare_mntns()
Add comments: Compare the inode number of mount namespace, to see if target process is in a different mount namespace from lsof process: return 0 (false) means mount namespace is the same, and return 1 (true) means mount namespace is different. Note that legacy linux kernel (e.g. linux-2.6) might not have this mount namespace path, so makes this case return 0 (false) and acts as old days. Signed-off-by: Jones Syue <[email protected]>
- Loading branch information