Re: IMA: Avoid redundant rehashing on stacked filesystems backed by structurally immutable filesystems
Sahil Gupta <[email protected]>
| Newsgroups | org.kernel.vger.linux-integrity |
|---|---|
| Message-ID | <CABEuK16D7RB71JTSxCjO3jFY70+yNugdjM+foJFnzMgsCH7tcQ@mail.gmail.com> |
> By "fs reconfiguration", do you mean remounting the filesystem? If so, the iint stored in the LSM security blob should be freed when the filesystem is unmounted. I'm a visitor to VFS code, but from what I surmise, a remount doesn't seem to be equivalent to an unmount + a subsequent mount. It's clear to me that an explicit unmount would eventually call evict_inodes() -> ... -> security_inode_free(), but I don't trace such a path when remounting it. Sahil