Debian Codegraph @

src/include/override/sys/xattr.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3
4 /* To make struct xattr_args defined, which is used by setxattrat(). Note, the kernel header must be
5 * included before the glibc header, otherwise the struct will not be defined. */
6 #include <linux/xattr.h> /* IWYU pragma: export */
7
8 #include_next <sys/xattr.h> /* IWYU pragma: export */
9
10 /* Supported since kernel v6.13 (6140be90ec70c39fa844741ca3cc807dd0866394). */
11 int setxattrat_shim(int fd, const char *path, int at_flags, const char *name, const struct xattr_args *args, size_t size);
12 #define setxattrat setxattrat_shim
13
14 /* Supported since kernel v6.13 (6140be90ec70c39fa844741ca3cc807dd0866394). */
15 int removexattrat_shim(int fd, const char *path, int at_flags, const char *name);
16 #define removexattrat removexattrat_shim