Align with upstream libseccomp.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
resp->id = req->id;
resp->error = -ENOSYS;
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);
SYSERROR("Failed to send default message to seccomp");
return seccomp_notify_reconnect(handler);
} while (reconnect_count++);
memcpy(resp, &msg.resp, sizeof(*resp));
} 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");
if (ret)
SYSERROR("Failed to send seccomp notification");