Searched refs:open_how (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/tools/testing/selftests/openat2/ |
D | helpers.c | 17 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()
|
D | helpers.h | 39 struct open_how { struct 48 bool needs_openat2(const struct open_how *how); argument 97 int sys_openat2(int dfd, const char *path, struct open_how *how); 98 int sys_openat(int dfd, const char *path, struct open_how *how);
|
D | openat2_test.c | 32 struct open_how inner; 58 .size = sizeof(struct open_how) }, in test_openat2_struct() 158 struct open_how how;
|
D | rename_attack_test.c | 91 struct open_how how = { in test_rename_attack()
|
D | resolve_test.c | 113 struct open_how how;
|
/linux-6.1.9/fs/ |
D | open.c | 1102 inline struct open_how build_open_how(int flags, umode_t mode) in build_open_how() 1104 struct open_how how = { in build_open_how() 1118 inline int build_open_flags(const struct open_how *how, struct open_flags *op) in build_open_flags() 1251 struct open_how how = build_open_how(flags, mode); in file_open_name() 1286 struct open_how how = build_open_how(flags, mode); in file_open_root() 1295 struct open_how *how) in do_sys_openat2() 1325 struct open_how how = build_open_how(flags, mode); in do_sys_open() 1346 struct open_how __user *, how, size_t, usize) in SYSCALL_DEFINE4() 1349 struct open_how tmp; in SYSCALL_DEFINE4() 1351 BUILD_BUG_ON(sizeof(struct open_how) < OPEN_HOW_SIZE_VER0); in SYSCALL_DEFINE4() [all …]
|
D | internal.h | 138 extern struct open_how build_open_how(int flags, umode_t mode); 139 extern int build_open_flags(const struct open_how *how, struct open_flags *op);
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | openat2.h | 19 struct open_how { struct
|
/linux-6.1.9/include/uapi/linux/ |
D | openat2.h | 19 struct open_how { struct
|
/linux-6.1.9/io_uring/ |
D | openclose.c | 24 struct open_how how; 80 struct open_how __user *how; in io_openat2_prep()
|
/linux-6.1.9/include/linux/ |
D | audit.h | 417 extern void __audit_openat2_how(struct open_how *how); 514 static inline void audit_openat2_how(struct open_how *how) in audit_openat2_how() 675 static inline void audit_openat2_how(struct open_how *how) in audit_openat2_how()
|
D | syscalls.h | 71 struct open_how; 473 struct open_how *how, size_t size);
|
/linux-6.1.9/kernel/ |
D | audit.h | 197 struct open_how openat2;
|
D | auditsc.c | 2857 void __audit_openat2_how(struct open_how *how) in __audit_openat2_how()
|