diff options
author | Suresh Siddha <[email protected]> | 2008-08-13 11:38:14 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2008-08-14 10:56:06 +0200 |
commit | ed405958057ca6a8c4c9178a7a3b1167fabb45f5 (patch) | |
tree | 7255d950f6c1b7c58bd96307b9aaa871c2eba9f4 /net/unix/sysctl_net_unix.c | |
parent | ee2b92a8201a40021ecd1aee6f0625dc03bacc54 (diff) |
x86, xsave: clear the user buffer before doing fxsave/xsave
fxsave/xsave instructions will not touch all the bytes in the
fxsave/xsave frame. Clear the user buffer before doing fxsave/xsave
directly to user buffer during the sigcontext setup.
This is essentially needed in the context of xsave(for example,
some of the fields in the xsave header are not touched by the xsave
and defined as must be zero).
This will also present uniform and clean context to the user (from
which user can safely do fxrstor/xrstor).
Signed-off-by: Suresh Siddha <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions