When emerging kernels/linux-headers, portage spends a bunch of minutes doing QA scanelf checks on plaintext files, which is kinda needless... Disabling these checks should be possible for such cases.
This should be extended to skip suid checks also and a few other install tasks that are not really needed for sys-kernel/*-{sources,headers}
CCing BSD, our freebsd-source is even bigger than *-sources.
Partially InSVN right now. Please ensure this restriction is never used from any eclass as eclasses are often inherited by ebuilds that don't always pertain to exactly what you are trying to filter. For the moment it's only going to short circuit the scanelf checks. But in the long run it should handle the other things. So in *-sources and *-headers and fbsd-source feel free to add an explicit calls to 'RESTRICT='binchecks strip' (but everywhere else in the tree it's use will be frowned upon with vengeance)
I see that solar committed support for RESTRICT="binchecks" in svn r3409 along with the QA stuff for bug 131779.
This has been released in 2.1_pre2-r3.
solar, if we do this in the kernel stuff we are probably going to add it to kernel-2.eclass. No non-kernel-source/header packages will ever use that eclass. Any comments, head on over to bug 134453 :)