Message ID | 20240710-landlock-v2-8-ff79db017d57@suse.com |
---|---|
State | Changes Requested |
Headers | show |
Series | landlock testing suite | expand |
Reviewed-by: Li Wang <liwang@redhat.com> On Thu, Jul 11, 2024 at 2:04 AM Andrea Cervesato <andrea.cervesato@suse.de> wrote: > From: Andrea Cervesato <andrea.cervesato@suse.com> > > Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com> > --- > include/lapi/capability.h | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > > diff --git a/include/lapi/capability.h b/include/lapi/capability.h > index 2b593797c..0f317d6d7 100644 > --- a/include/lapi/capability.h > +++ b/include/lapi/capability.h > @@ -44,14 +44,18 @@ > # define CAP_SYS_TIME 25 > #endif > > -#ifndef CAP_AUDIT_READ > -# define CAP_AUDIT_READ 37 > -#endif > - > #ifndef CAP_SYS_RESOURCE > # define CAP_SYS_RESOURCE 24 > #endif > > +#ifndef CAP_MKNOD > +# define CAP_MKNOD 27 > +#endif > + > +#ifndef CAP_AUDIT_READ > +# define CAP_AUDIT_READ 37 > +#endif > + > #ifndef CAP_BPF > # define CAP_BPF 39 > #endif > > -- > 2.43.0 > > > -- > Mailing list info: https://lists.linux.it/listinfo/ltp > >
diff --git a/include/lapi/capability.h b/include/lapi/capability.h index 2b593797c..0f317d6d7 100644 --- a/include/lapi/capability.h +++ b/include/lapi/capability.h @@ -44,14 +44,18 @@ # define CAP_SYS_TIME 25 #endif -#ifndef CAP_AUDIT_READ -# define CAP_AUDIT_READ 37 -#endif - #ifndef CAP_SYS_RESOURCE # define CAP_SYS_RESOURCE 24 #endif +#ifndef CAP_MKNOD +# define CAP_MKNOD 27 +#endif + +#ifndef CAP_AUDIT_READ +# define CAP_AUDIT_READ 37 +#endif + #ifndef CAP_BPF # define CAP_BPF 39 #endif