LWN: Comments on "IMA appraisal extension" https://lwn.net/Articles/488906/ This is a special feed containing comments posted to the individual LWN article titled "IMA appraisal extension". en-us Thu, 06 Nov 2025 19:56:13 +0000 Thu, 06 Nov 2025 19:56:13 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net IMA appraisal extension https://lwn.net/Articles/489605/ https://lwn.net/Articles/489605/ nix <div class="FormattedComment"> If so, that would make initial loading of binaries slower (a lot slower for big binaries), but would not preclude use of demand paging after startup.<br> </div> Fri, 30 Mar 2012 12:46:24 +0000 IMA appraisal extension https://lwn.net/Articles/489495/ https://lwn.net/Articles/489495/ nybble41 <div class="FormattedComment"> I think the concern was more along the lines that you have to read the entire file into memory to verify the hash before you can use any of the data safely. Filesystems with data checksumming generally hash each block separately (with a Merkle tree or similar to link the hashes together at the inode level), but the article seemed to imply just one hash per file.<br> </div> Fri, 30 Mar 2012 00:09:51 +0000 IMA appraisal extension https://lwn.net/Articles/489452/ https://lwn.net/Articles/489452/ nix <div class="FormattedComment"> No. Demand-loaded executables have always worked by mmap()ing the executable then relying on normal paging to load it into memory. The mmap()ed executable cannot be overwritten while someone has it open (any attempt returns one of -EBUSY or -ETXTBSY, though for some time this did not apply to shared libraries, so attempts to overwrite those caused segfaults, whoops). And, of course, the usual rules apply to unlink()-and-recreate: the old file is still accessed by the users who have it open.<br> </div> Thu, 29 Mar 2012 20:39:08 +0000 IMA appraisal extension https://lwn.net/Articles/489343/ https://lwn.net/Articles/489343/ etienne <div class="FormattedComment"> Bye Bye demand loading (i.e. loading only used pages in memory) of executables, libraries and data files in Linux?<br> </div> Thu, 29 Mar 2012 15:21:29 +0000 IMA appraisal extension https://lwn.net/Articles/489274/ https://lwn.net/Articles/489274/ mezcalero <div class="FormattedComment"> BTW, the userspace bit of it (to load the policy into the kernel at boot) got recently merged into systemd.<br> </div> Thu, 29 Mar 2012 11:07:55 +0000