Re: [PATCH 4/5] tools headers: Synchronize prctl.h ABI header
From: Sebastian Andrzej Siewior
Date: Sat May 17 2025 - 10:49:22 EST
On 2025-05-16 17:06:48 [-0300], André Almeida wrote:
> > > @@ -254,18 +254,18 @@ int main(int argc, char *argv[])
> > > ret = futex_hash_slots_set(0, 0);
> > > ksft_test_result(ret == 0, "Global hash request\n");
> > > } else {
> > > - ret = futex_hash_slots_set(4, 1);
> > > + ret = futex_hash_slots_set(4, FH_FLAG_IMMUTABLE);
> >
> > This breaks the compilation for me.
> >
> > So `#include <linux/prctl.h>` is not working for me, it's not using the
> > local copy at tools/include/uapi/linux/prctl.h
>
> Oh, nevermind, I found the issue:
Yeah, I am not sure what I did. I made here a copy, the copied header is
only used for perf. Anyway, I added the define as I did for the other
members and did the rename.
Sebastian