From c021082abcc9d94c2e94679f6729265fe65529a3 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sun, 4 Jun 2023 09:51:15 +0200 Subject: cooker: Generic attributes and ATTR_SIZE Signed-off-by: Stefano Brivio --- cooker/calls/ioctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cooker/calls/ioctl.c') diff --git a/cooker/calls/ioctl.c b/cooker/calls/ioctl.c index c9f01d0..1609541 100644 --- a/cooker/calls/ioctl.c +++ b/cooker/calls/ioctl.c @@ -83,7 +83,7 @@ static struct field tun_ifr[] = { /* netdevice(7) */ }; static struct select_num ioctl_request_arg[] = { - { FS_IOC_GETFLAGS, + { FS_IOC_GETFLAGS, -1, { 2, { "argp", INT, FLAGS, @@ -92,7 +92,7 @@ static struct select_num ioctl_request_arg[] = { } } }, - { FS_IOC_SETFLAGS, + { FS_IOC_SETFLAGS, -1, { 2, { "argp", INT, FLAGS, @@ -101,7 +101,7 @@ static struct select_num ioctl_request_arg[] = { } } }, - { TUNSETIFF, + { TUNSETIFF, -1, { 2, { "ifr", STRUCT, 0, -- cgit v1.2.3