> As recently as October 2012, 32-bit Linux kernels preserved both iopl > and ioperm across fork and execve, but the behavior of iopl changed > with this commit: > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/arch/x86/kernel/process_32.c?id=6783eaa2e1253fbcbe2c2f6bb4c843abf1343caf
Missed this thread initially. That perhaps does argue for it being safer to put back. > And the man page for iopl continues to state "permissions are > inherited by fork and execve": http://linux.die.net/man/2/iopl > > A test program demonstrating the problem is attached Is there a real world use case ? Alan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

