[LTP] [PATCH] pkeys: Fix uclibc build caused by conflicting signature
Petr Vorel
pvorel@suse.cz
Wed Oct 2 12:36:58 CEST 2019
Hi Jan,
> ----- Original Message -----
> > Removing static fixes the problem.
> I'd prefer we rename test functions:
> #ifndef HAVE_PKEY_MPROTECT
> static inline int my_pkey_alloc()
> #else
> #define my_pkey_alloc pkey_alloc
> #endif
> my_pkey_alloc()
Good idea, thanks. I'd a detail, I'd prefer to use 'ltp_' prefix (ltp_pkey_alloc()).
Kind regards,
Petr
More information about the ltp
mailing list