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

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

index 3778e193a8e6f3d4f1cdf02eec455584a28be52e..89c66ad9faa8b9c658db191ad5467f99431eb5e1 100644 (file)
@@ -1323,7 +1323,7 @@ static int seccomp_notify_default_answer(int fd, struct seccomp_notif *req,
        resp->id = req->id;
        resp->error = -ENOSYS;
 
-       if (seccomp_notif_send_resp(fd, resp))
+       if (seccomp_notify_respond(fd, resp))
                SYSERROR("Failed to send default message to seccomp");
 
        return seccomp_notify_reconnect(handler);
@@ -1407,7 +1407,7 @@ int seccomp_notify_handler(int fd, uint32_t events, void *data,
        } while (reconnect_count++);
 
        memcpy(resp, &msg.resp, sizeof(*resp));
-       ret = seccomp_notif_send_resp(fd, resp);
+       ret = seccomp_notify_respond(fd, resp);
        if (ret)
                SYSERROR("Failed to send seccomp notification");