linux stores mount id as a int32_t, using xor would make it becomes
negative in some cases. As a result, we cap the value to INT_MAX to
prevent getting a negative value from userspace.
Details
Details
- Reviewers
- None
- Group Reviewers
linuxkpi - Commits
- rG23626eb9e3d6: linux: cap mount id to INT_MAX
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable