aboutgitcodelistschat:MatrixIRC
path: root/cooker/calls/ioctl.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-06-04 09:51:15 +0200
committerStefano Brivio <sbrivio@redhat.com>2023-06-04 09:51:15 +0200
commitc021082abcc9d94c2e94679f6729265fe65529a3 (patch)
treee0c8d7160d9a725911edafc80ab0bceeec35e159 /cooker/calls/ioctl.c
parent15c01cbd4b1fabe929cb93226f6295e88b0c04c4 (diff)
downloadseitan-c021082abcc9d94c2e94679f6729265fe65529a3.tar
seitan-c021082abcc9d94c2e94679f6729265fe65529a3.tar.gz
seitan-c021082abcc9d94c2e94679f6729265fe65529a3.tar.bz2
seitan-c021082abcc9d94c2e94679f6729265fe65529a3.tar.lz
seitan-c021082abcc9d94c2e94679f6729265fe65529a3.tar.xz
seitan-c021082abcc9d94c2e94679f6729265fe65529a3.tar.zst
seitan-c021082abcc9d94c2e94679f6729265fe65529a3.zip
cooker: Generic attributes and ATTR_SIZE
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'cooker/calls/ioctl.c')
-rw-r--r--cooker/calls/ioctl.c6
1 files changed, 3 insertions, 3 deletions
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,