Re: [PATCH] selinux: fix Makefile dependencies of flask.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 12, 2023 at 9:59 AM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote:
>
> Make the flask.h target depend on the genheaders binary instead of
> classmap.h to ensure that it is rebuilt if any of the dependencies of
> genheaders are changed.
>
> Notably this fixes flask.h not being rebuilt when
> initial_sid_to_string.h is modified.
>
> Fixes: 8753f6bec352 ("selinux: generate flask headers during kernel build")
> Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx>
> ---
>  security/selinux/Makefile | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Thanks Ondrej, I just merged this into selinux/next.  You also
inspired me to fix a build bug with av_permissions.h that has bit me
once or twice :)

-- 
paul-moore.com




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux