From 06394c6c003cc0cab3a2a5a8783db4c9610f67a5 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Fri, 2 Jun 2023 16:55:49 +0200 Subject: gluten: What's const is const Signed-off-by: Stefano Brivio --- operations.c | 2 +- operations.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/operations.c b/operations.c index 5d295c6..6cd1c48 100644 --- a/operations.c +++ b/operations.c @@ -314,7 +314,7 @@ int op_fd(const struct seccomp_notif *req, int notifier, { const struct fd_desc *desc = gluten_ptr(&req->data, g, op->desc); struct seccomp_notif_addfd resp; - void *fd; + const void *fd; if (!desc) return -1; diff --git a/operations.h b/operations.h index 1ece615..46c4b4c 100644 --- a/operations.h +++ b/operations.h @@ -33,7 +33,7 @@ struct ns_path { struct arg_clone { long nr; - void *args[6]; + const void *args[6]; char ns_path[NS_TYPE_MAX + 1][PATH_MAX]; long ret; int err; -- cgit v1.2.3