Re: [PATCH 0/4] MPX and Protection Keys Updates

From: Ingo Molnar
Date: Tue Nov 21 2017 - 03:34:45 EST



* Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx> wrote:

> Hi Ingo,
>
> Here are some small updates to Protection Keys documentation, and
> some small fixes to the selftests that we discussed.

Note that even with all the patches applied, a build warning remains:

gcc -m32 -o /home/mingo/tip/tools/testing/selftests/x86/protection_keys_32 -O2 -g -std=gnu99 -pthread -Wall -no-pie protection_keys.c -lrt -ldl -lm
protection_keys.c: In function âdumpitâ:
protection_keys.c:419:3: warning: ignoring return value of âwriteâ, declared with
attribute warn_unused_result [-Wunused-result]
write(1, buf, nr_read);
^~~~~~~~~~~~~~~~~~~~~~

Thanks,

Ingo