Re: ioperm is preserved across fork and execve, but iopl is not

From: One Thousand Gnomes
Date: Mon May 11 2015 - 17:11:46 EST

> 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:

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":
> A test program demonstrating the problem is attached

Is there a real world use case ?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at