diff options
| author | 2022-05-09 06:35:28 -0600 | |
|---|---|---|
| committer | 2022-05-09 06:35:28 -0600 | |
| commit | b5ba65df47cabcba6fe7a03f8f57513e9f78f72f (patch) | |
| tree | dc417a35c3f0865d2151d10951f1e3aee6926e03 /include/linux/socket.h | |
| parent | Merge branch 'for-5.19/io_uring' into for-5.19/io_uring-passthrough (diff) | |
| parent | io_uring: use the text representation of ops in trace (diff) | |
| download | linux-dev-b5ba65df47cabcba6fe7a03f8f57513e9f78f72f.tar.xz linux-dev-b5ba65df47cabcba6fe7a03f8f57513e9f78f72f.zip | |
Merge branch 'for-5.19/io_uring-socket' into for-5.19/io_uring-passthrough
* for-5.19/io_uring-socket:
io_uring: use the text representation of ops in trace
io_uring: rename op -> opcode
io_uring: add io_uring_get_opcode
io_uring: add type to op enum
io_uring: add socket(2) support
net: add __sys_socket_file()
io_uring: fix trace for reduced sqe padding
io_uring: add fgetxattr and getxattr support
io_uring: add fsetxattr and setxattr support
fs: split off do_getxattr from getxattr
fs: split off setxattr_copy and do_setxattr function from setxattr
Diffstat (limited to 'include/linux/socket.h')
| -rw-r--r-- | include/linux/socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h index 6f85f5d957ef..a1882e1e71d2 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h @@ -434,6 +434,7 @@ extern struct file *do_accept(struct file *file, unsigned file_flags, extern int __sys_accept4(int fd, struct sockaddr __user *upeer_sockaddr, int __user *upeer_addrlen, int flags); extern int __sys_socket(int family, int type, int protocol); +extern struct file *__sys_socket_file(int family, int type, int protocol); extern int __sys_bind(int fd, struct sockaddr __user *umyaddr, int addrlen); extern int __sys_connect_file(struct file *file, struct sockaddr_storage *addr, int addrlen, int file_flags); |
