aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2018-05-12 00:14:51 +0200
committerThomas Gleixner <tglx@linutronix.de>2018-05-17 17:09:19 +0200
commitcc69b34989210f067b2c51d5539b5f96ebcc3a01 (patch)
tree76b885e4b52b2901d9f0d6f3801669b203377429 /net/unix/af_unix.c
parent0270be3e34efb05a88bc4c422572ece038ef3608 (diff)
x86/bugs: Unify x86_spec_ctrl_{set_guest,restore_host}
Function bodies are very similar and are going to grow more almost identical code. Add a bool arg to determine whether SPEC_CTRL is being set for the guest or restored to the host. No functional changes. Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions