summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/sysret.cc
diff options
context:
space:
mode:
authorLiu Hua <sdu.liu@huawei.com>2019-07-09 22:20:45 -0700
committergVisor bot <gvisor-bot@google.com>2019-07-09 22:21:56 -0700
commit7581e84cb6b709019c51a1e7d86414f696470554 (patch)
tree3d3f83615896429df1a0dd52b6d271518d2b2bf6 /test/syscalls/linux/sysret.cc
parent7965b1272bb0579da47960e64ea902c74f49483d (diff)
tss: block userspace access to all I/O ports.
A userspace process (CPL=3) can access an i/o port if the bit corresponding to the port is set to 0 in the I/O permission bitmap. Configure the I/O permission bitmap address beyond the last valid byte in the TSS so access to all i/o ports is blocked. Signed-off-by: Liu Hua <sdu.liu@huawei.com> Change-Id: I3df76980c3735491db768f7210e71703f86bb989 PiperOrigin-RevId: 257336518
Diffstat (limited to 'test/syscalls/linux/sysret.cc')
0 files changed, 0 insertions, 0 deletions