crosvm/devices/src
Chirantan Ekbote d74bb77a3e devices: fs: Use l{get,set,list,remove}xattr
Using the `open_inode` method on an fd for a symlink results in the
kernel returning -ELOOP.  Since there are no `*at` methods for extended
attributes, manually read the path for the file and then use the
l{get,set,list,remove}xattr method on the returned path.

BUG=b:136128512
TEST=boot arcvm with virtio-fs and selinux enabled

Change-Id: I2fde57db8a075838a3a877309f6cf89059f19258
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2120763
Auto-Submit: Chirantan Ekbote <chirantan@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen Barber <smbarber@chromium.org>
Reviewed-by: Stephen Barber <smbarber@chromium.org>
2020-03-27 00:44:06 +00:00
..
pci vhost-net: implement direct msix irq fd 2020-03-25 17:41:42 +00:00
register_space
usb usb: avoid setting configuration when unnecessary 2020-03-24 11:29:57 +00:00
utils
virtio devices: fs: Use l{get,set,list,remove}xattr 2020-03-27 00:44:06 +00:00
acpi.rs
bus.rs
cmos.rs
i8042.rs
ioapic.rs crosvm: Add plumbing for split-irqchip interrupts 2020-03-05 13:12:23 +00:00
lib.rs audio: Create AC97 device with --ac97 option 2020-03-20 15:26:02 +00:00
pic.rs crosvm: Add plumbing for split-irqchip interrupts 2020-03-05 13:12:23 +00:00
pit.rs Fix warnings added in rust 1.42 2020-03-17 00:05:44 +00:00
pl030.rs
proxy.rs
serial.rs Allow all serial port types to read from stdin 2020-03-11 20:52:10 +00:00
split_irqchip_common.rs crosvm: Add plumbing for split-irqchip interrupts 2020-03-05 13:12:23 +00:00
vfio.rs Vfio: multi vfio group support 2020-03-06 01:50:11 +00:00