mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
d74bb77a3e
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> |
||
---|---|---|
.. | ||
pci | ||
register_space | ||
usb | ||
utils | ||
virtio | ||
acpi.rs | ||
bus.rs | ||
cmos.rs | ||
i8042.rs | ||
ioapic.rs | ||
lib.rs | ||
pic.rs | ||
pit.rs | ||
pl030.rs | ||
proxy.rs | ||
serial.rs | ||
split_irqchip_common.rs | ||
vfio.rs |