target/i386: Check privilege level for protected mode 'int N' task gate
[qemu/ar7.git] / include / qemu / xattr.h
bloba83fe8e749bd72df7e7258d40cd58a05319ab608
1 /*
2 * Host xattr.h abstraction
4 * Copyright 2011 Red Hat Inc. and/or its affiliates
6 * Authors:
7 * Avi Kivity <avi@redhat.com>
9 * This work is licensed under the terms of the GNU GPL, version 2, or any
10 * later version. See the COPYING file in the top-level directory.
13 #ifndef QEMU_XATTR_H
14 #define QEMU_XATTR_H
17 * Modern distributions (e.g. Fedora 15), have no libattr.so, place attr.h
18 * in /usr/include/sys, and don't have ENOATTR.
22 #ifdef CONFIG_LIBATTR
23 # include <attr/xattr.h>
24 #else
25 # define ENOATTR ENODATA
26 # include <sys/xattr.h>
27 #endif
29 #endif