seccomp: s/seccomp_notif_id_valid/seccomp_notify_id_valid/g

Align with upstream libseccomp. Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 3c216fe2
...@@ -1372,7 +1372,7 @@ int seccomp_notify_handler(int fd, uint32_t events, void *data, ...@@ -1372,7 +1372,7 @@ int seccomp_notify_handler(int fd, uint32_t events, void *data,
* Make sure that the fd for /proc/<pid>/mem we just opened still * Make sure that the fd for /proc/<pid>/mem we just opened still
* refers to the correct process's memory. * refers to the correct process's memory.
*/ */
ret = seccomp_notif_id_valid(fd, req->id); ret = seccomp_notify_id_valid(fd, req->id);
if (ret < 0) { if (ret < 0) {
(void)seccomp_notify_default_answer(fd, req, resp, hdlr); (void)seccomp_notify_default_answer(fd, req, resp, hdlr);
SYSERROR("Invalid seccomp notify request id"); SYSERROR("Invalid seccomp notify request id");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment