Re: [PATCH v2 6/8] selinux: do not include headers from host programs

2024-09-06 Thread Daniel Gomez (Samsung)
On Fri, Sep 6, 2024 at 4:56 PM Paul Moore wrote: > > On Fri, Sep 6, 2024 at 7:01 AM Daniel Gomez via B4 Relay > wrote: > > > > From: Masahiro Yamada > > > > Commit bfc5e3a6af39 ("selinux: use the kernel headers when building > > scripts/selinux") is not the right thing to do. > > > > It is clear

Re: [PATCH v2 6/8] selinux: do not include headers from host programs

2024-09-06 Thread Paul Moore
On Fri, Sep 6, 2024 at 7:01 AM Daniel Gomez via B4 Relay wrote: > > From: Masahiro Yamada > > Commit bfc5e3a6af39 ("selinux: use the kernel headers when building > scripts/selinux") is not the right thing to do. > > It is clear from the warning in include/uapi/linux/types.h: > > #ifndef __EXPOR

[PATCH v2 6/8] selinux: do not include headers from host programs

2024-09-06 Thread Daniel Gomez via B4 Relay
From: Masahiro Yamada Commit bfc5e3a6af39 ("selinux: use the kernel headers when building scripts/selinux") is not the right thing to do. It is clear from the warning in include/uapi/linux/types.h: #ifndef __EXPORTED_HEADERS__ #warning "Attempt to use kernel headers from user space, see ht