mirror of https://github.com/mkerrisk/man-pages
kcmp.2: Minor tweaks to Cyrill Gorcunov's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2268af111e
commit
3e105e072d
28
man2/kcmp.2
28
man2/kcmp.2
|
@ -157,12 +157,13 @@ See the discussion of the
|
|||
flag in
|
||||
.BR clone (2).
|
||||
.TP
|
||||
.BR KCMP_EPOLL_TFD
|
||||
.BR KCMP_EPOLL_TFD " (since Linux 4.13)"
|
||||
.\" commit 0791e3644e5ef21646fe565b9061788d05ec71d4
|
||||
Check whether the file descriptor
|
||||
.I idx1
|
||||
of the process
|
||||
.I pid1
|
||||
present in
|
||||
is present in the
|
||||
.BR epoll (7)
|
||||
instance described by
|
||||
.I idx2
|
||||
|
@ -170,29 +171,28 @@ of the process
|
|||
.IR pid2 .
|
||||
The argument
|
||||
.I idx2
|
||||
is an address of a structure where the target file is described.
|
||||
is a pointer to a structure where the target file is described.
|
||||
This structure has the form:
|
||||
.in +4n
|
||||
.nf
|
||||
.sp
|
||||
struct kcmp_epoll_slot {
|
||||
__u32 efd;
|
||||
__u32 tfd;
|
||||
__u64 toff;
|
||||
__u32 efd;
|
||||
__u32 tfd;
|
||||
__u64 toff;
|
||||
};
|
||||
.fi
|
||||
.in
|
||||
.sp
|
||||
where
|
||||
Within this structure,
|
||||
.I efd
|
||||
is epoll file descriptor from
|
||||
.BR epoll_create (2)
|
||||
call,
|
||||
is an epoll file descriptor returned from
|
||||
.BR epoll_create (2),
|
||||
.I tfd
|
||||
is a target file number,
|
||||
is a target file descriptor number, and
|
||||
.I toff
|
||||
is a target file offset counted from zero.
|
||||
Several different targets may be registered with
|
||||
the same file descriptor number and setting specific
|
||||
the same file descriptor number and setting a specific
|
||||
offset helps to investigate each of them.
|
||||
.PP
|
||||
Note the
|
||||
|
@ -292,7 +292,7 @@ is outside of the user's address space.
|
|||
.TP
|
||||
.B ENOENT
|
||||
The target file is not present in
|
||||
.BR epoll ()
|
||||
.BR epoll (7)
|
||||
instance.
|
||||
.SH VERSIONS
|
||||
The
|
||||
|
|
Loading…
Reference in New Issue