Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: openat2.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
#ifndef _LINUX_OPENAT2_H
[1] Fix | Delete
#define _LINUX_OPENAT2_H
[2] Fix | Delete
[3] Fix | Delete
#include <linux/types.h>
[4] Fix | Delete
[5] Fix | Delete
/*
[6] Fix | Delete
* Arguments for how openat2(2) should open the target path. If only @flags and
[7] Fix | Delete
* @mode are non-zero, then openat2(2) operates very similarly to openat(2).
[8] Fix | Delete
*
[9] Fix | Delete
* However, unlike openat(2), unknown or invalid bits in @flags result in
[10] Fix | Delete
* -EINVAL rather than being silently ignored. @mode must be zero unless one of
[11] Fix | Delete
* {O_CREAT, O_TMPFILE} are set.
[12] Fix | Delete
*
[13] Fix | Delete
* @flags: O_* flags.
[14] Fix | Delete
* @mode: O_CREAT/O_TMPFILE file mode.
[15] Fix | Delete
* @resolve: RESOLVE_* flags.
[16] Fix | Delete
*/
[17] Fix | Delete
struct open_how {
[18] Fix | Delete
__u64 flags;
[19] Fix | Delete
__u64 mode;
[20] Fix | Delete
__u64 resolve;
[21] Fix | Delete
};
[22] Fix | Delete
[23] Fix | Delete
/* how->resolve flags for openat2(2). */
[24] Fix | Delete
#define RESOLVE_NO_XDEV 0x01 /* Block mount-point crossings
[25] Fix | Delete
(includes bind-mounts). */
[26] Fix | Delete
#define RESOLVE_NO_MAGICLINKS 0x02 /* Block traversal through procfs-style
[27] Fix | Delete
"magic-links". */
[28] Fix | Delete
#define RESOLVE_NO_SYMLINKS 0x04 /* Block traversal through all symlinks
[29] Fix | Delete
(implies OEXT_NO_MAGICLINKS) */
[30] Fix | Delete
#define RESOLVE_BENEATH 0x08 /* Block "lexical" trickery like
[31] Fix | Delete
"..", symlinks, and absolute
[32] Fix | Delete
paths which escape the dirfd. */
[33] Fix | Delete
#define RESOLVE_IN_ROOT 0x10 /* Make all jumps to "/" and ".."
[34] Fix | Delete
be scoped inside the dirfd
[35] Fix | Delete
(similar to chroot(2)). */
[36] Fix | Delete
[37] Fix | Delete
#endif /* _LINUX_OPENAT2_H */
[38] Fix | Delete
[39] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function