]> git.proxmox.com Git - mirror_lxc.git/commitdiff
seccomp: s/seccomp_notif_id_valid/seccomp_notify_id_valid/g
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 11 Jun 2019 21:32:19 +0000 (23:32 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 11 Jun 2019 21:32:19 +0000 (23:32 +0200)
Align with upstream libseccomp.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/seccomp.c

index 89c66ad9faa8b9c658db191ad5467f99431eb5e1..3784aaae72ef6577c381e3a989dfc196093d8ed4 100644 (file)
@@ -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
         * 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) {
                (void)seccomp_notify_default_answer(fd, req, resp, hdlr);
                SYSERROR("Invalid seccomp notify request id");