#define __NR_setxattr (__NR_SYSCALL_BASE+226)
#define __NR_fsetxattr (__NR_SYSCALL_BASE+228)
#define __NR_getxattr (__NR_SYSCALL_BASE+229)
#define __NR_fgetxattr (__NR_SYSCALL_BASE+231)
#define __NR_llistxattr (__NR_SYSCALL_BASE+233)
#define __NR_flistxattr (__NR_SYSCALL_BASE+234)

Support for setxattr, getxattr (and removexattr) was added in qemu-linaro 
2011.11. Still unsupported:
lsetxattr, fsetxattr, lgetxattr, fgetxattr, listxattr, llistxattr, flistxattr, 
lremovexattr, fremovexattr.

In most cases userspace should fall back to something else if it gets
ENOSYS for "new" syscalls like this. I guess apparmor really requires
them, hence the FTBFS.

Implementing the f and l versions of set and get should be pretty
trivial, since they're nearly the same as the plain versions. Haven't
looked at the listxattr ABI yet.

I'll have a look at this today.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/903239

Title:
  qemu-arm-static: Unsupported syscall for *xattr

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu-linaro/+bug/903239/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to