Home
last modified time | relevance | path

Searched refs:open_how (Results 1 – 14 of 14) sorted by relevance

/linux/tools/testing/selftests/openat2/
A Dhelpers.c17 bool needs_openat2(const struct open_how *how) in needs_openat2()
28 int sys_openat2(int dfd, const char *path, struct open_how *how) in sys_openat2()
33 int sys_openat(int dfd, const char *path, struct open_how *how) in sys_openat()
98 struct open_how how = {}; in init()
101 BUILD_BUG_ON(sizeof(struct open_how) != OPEN_HOW_SIZE_VER0); in init()
A Dhelpers.h38 struct open_how { struct
47 bool needs_openat2(const struct open_how *how); argument
95 int sys_openat2(int dfd, const char *path, struct open_how *how);
96 int sys_openat(int dfd, const char *path, struct open_how *how);
A Dopenat2_test.c32 struct open_how inner;
58 .size = sizeof(struct open_how) }, in test_openat2_struct()
158 struct open_how how;
A Drename_attack_test.c91 struct open_how how = { in test_rename_attack()
A Dresolve_test.c113 struct open_how how;
/linux/fs/
A Dopen.c1004 inline struct open_how build_open_how(int flags, umode_t mode) in build_open_how()
1006 struct open_how how = { in build_open_how()
1020 inline int build_open_flags(const struct open_how *how, struct open_flags *op) in build_open_flags()
1153 struct open_how how = build_open_how(flags, mode); in file_open_name()
1188 struct open_how how = build_open_how(flags, mode); in file_open_root()
1197 struct open_how *how) in do_sys_openat2()
1227 struct open_how how = build_open_how(flags, mode); in do_sys_open()
1248 struct open_how __user *, how, size_t, usize) in SYSCALL_DEFINE4()
1251 struct open_how tmp; in SYSCALL_DEFINE4()
1253 BUILD_BUG_ON(sizeof(struct open_how) < OPEN_HOW_SIZE_VER0); in SYSCALL_DEFINE4()
[all …]
A Dinternal.h126 extern struct open_how build_open_how(int flags, umode_t mode);
127 extern int build_open_flags(const struct open_how *how, struct open_flags *op);
A Dio_uring.c587 struct open_how how;
4247 struct open_how __user *how; in io_openat2_prep()
/linux/tools/include/uapi/linux/
A Dopenat2.h19 struct open_how { struct
/linux/include/uapi/linux/
A Dopenat2.h19 struct open_how { struct
/linux/include/linux/
A Daudit.h420 extern void __audit_openat2_how(struct open_how *how);
517 static inline void audit_openat2_how(struct open_how *how) in audit_openat2_how()
682 static inline void audit_openat2_how(struct open_how *how) in audit_openat2_how()
A Dsyscalls.h71 struct open_how;
477 struct open_how *how, size_t size);
/linux/kernel/
A Daudit.h197 struct open_how openat2;
A Dauditsc.c188 return mask & ACC_MODE((u32)((struct open_how *)ctx->argv[2])->flags); in audit_match_perm()
2815 void __audit_openat2_how(struct open_how *how) in __audit_openat2_how()

Completed in 42 milliseconds