When building on Ubuntu 22.04, I am getting the following error:
cc -Wall -O2 -DLIBPCRE -g -DENABLE_REGEX -DLIBCONFIG -c -o landlock.o landlock.c
landlock.c: In function ‘setup_landlock’:
landlock.c:109:9: error: ‘LANDLOCK_ACCESS_FS_REFER’ undeclared (first use in this function); did you mean ‘LANDLOCK_ACCESS_FS_READ_DIR’?
109 | LANDLOCK_ACCESS_FS_REFER;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| LANDLOCK_ACCESS_FS_READ_DIR
This constant doesn't seem to be defined in headers:
When building on Ubuntu 22.04, I am getting the following error:
This constant doesn't seem to be defined in headers: