aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2/seccomp_unotify.2
diff options
context:
space:
mode:
Diffstat (limited to 'man/man2/seccomp_unotify.2')
-rw-r--r--man/man2/seccomp_unotify.26
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man2/seccomp_unotify.2 b/man/man2/seccomp_unotify.2
index 0f6abb7336..0c7ee49112 100644
--- a/man/man2/seccomp_unotify.2
+++ b/man/man2/seccomp_unotify.2
@@ -1708,14 +1708,14 @@ cookieIsValid(int notifyFd, uint64_t id)
/* Access the memory of the target process in order to fetch the
pathname referred to by the system call argument \[aq]argNum\[aq] in
\[aq]req\->data.args[]\[aq]. The pathname is returned in \[aq]path\[aq],
- a buffer of \[aq]len\[aq] bytes allocated by the caller.
+ a buffer of \[aq]size\[aq] bytes allocated by the caller.
\&
Returns true if the pathname is successfully fetched, and false
otherwise. For possible causes of failure, see the comments below. */
\&
static bool
getTargetPathname(struct seccomp_notif *req, int notifyFd,
- int argNum, char *path, size_t len)
+ int argNum, char *path, size_t size)
{
int procMemFd;
char procMemPath[PATH_MAX];
@@ -1742,7 +1742,7 @@ getTargetPathname(struct seccomp_notif *req, int notifyFd,
\&
/* Read bytes at the location containing the pathname argument */
\&
- nread = pread(procMemFd, path, len, req\->data.args[argNum]);
+ nread = pread(procMemFd, path, size, req\->data.args[argNum]);
\&
close(procMemFd);
\&