mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-09 12:43:43 +00:00
seccomp: s/seccomp_notif_id_valid/seccomp_notify_id_valid/g
Align with upstream libseccomp. Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
3c216fe27b
commit
72b101aedf
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user