crosvm/seccomp/arm
Jingkui Wang e23231ccff usb: fix serial devices by removing device context verification
1. Removed for device slot reset and evaluate context. The verification was
   unnecessary and may cause some guest kernel operations to fail.
2. The context was updated after dequeue pointer set
3. Reset device when it's attached.
4. Add seccomp rules to allow the above reset.

The verification was copied from another implementation which works for
adb, but does not work with serial devices. The verification is also not
part of the spec, so we removed it here.

BUG=b:131336977
TEST=local build and test

Change-Id: Ifd7994ff5512346d1bab27654e60c97a602da8a6
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Signed-off-by: Zach Reizner <zachr@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1558934
Tested-by: kokoro <noreply+kokoro@google.com>
2019-05-01 01:50:22 -07:00
..
9p_device.policy
balloon_device.policy
block_device.policy
common_device.policy crosvm: use seqpacket rather than datagram sockets 2019-02-28 03:24:24 -08:00
cras_audio_device.policy
input_device.policy
net_device.policy
null_audio_device.policy
rng_device.policy
tpm_device.policy seccomp: tpm: remove fseek syscall from policy 2019-03-14 20:53:40 -07:00
vhost_net_device.policy
vhost_vsock_device.policy
wl_device.policy
xhci.policy usb: fix serial devices by removing device context verification 2019-05-01 01:50:22 -07:00