Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\pipe.c Create Date:2022-07-28 20:04:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sys_pipe() is the normal C calling standard for creating* a pipe. It's not the way Unix traditionally does this, though.

Proto:static int do_pipe2(int __user *fildes, int flags)

Type:int

Parameter:

TypeParameterName
int __user *fildes
intflags
970  error = __do_pipe_flags(fd, files, flags)
971  If Not error Then
973  fput(files[0])
974  fput(files[1])
975  put_unused_fd(fd[0])
976  put_unused_fd(fd[1])
977  error = -EFAULT
978  Else
979  fd_install(fd[0], files[0])
980  fd_install(fd[1], files[1])
983  Return error
Caller
NameDescribe
SYSCALL_DEFINE2
SYSCALL_DEFINE1