diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2012-08-01 14:31:34 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-08-02 00:18:08 -0400 |
commit | b8579105d14f739d13e2c443a2c4b884785825b7 (patch) | |
tree | 53df7ed1db55e031d397b51b888f2fe8a7c30fd6 | |
parent | 47c3d38892f04547ec4fd3878c0c80a3406218da (diff) | |
download | rng-tools-b8579105d14f739d13e2c443a2c4b884785825b7.tar.gz |
rdrand_asm.S: Mark stack non-executable
There is no reason for the stack to be executable.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r-- | rdrand_asm.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rdrand_asm.S b/rdrand_asm.S index c5567d8..55098e8 100644 --- a/rdrand_asm.S +++ b/rdrand_asm.S @@ -193,3 +193,9 @@ aes_fwd_state: .size aes_fwd_state, .-aes_fwd_state #endif /* i386 or x86_64 */ + +/* + * This is necessary to keep the whole executable + * from needing a writable stack. + */ + .section .note.GNU-stack,"",%progbits |