Send proper flags to userspace

This commit is contained in:
Godzil
2019-07-24 16:01:28 +01:00
parent 095ac4569a
commit a54adc616d
2 changed files with 17 additions and 2 deletions

View File

@@ -110,6 +110,11 @@ typedef struct {
unsigned long offset;
unsigned int cmd; /* ioctl cmd, poll_diff cached_state */
/* mmap parameters */
unsigned long mmprot;
unsigned long mmflags;
unsigned long mmoffset;
union {
unsigned long arg; /* ioctl */
void *ptr_arg;