diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2017-06-26 16:36:57 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2017-07-19 19:13:15 -0500 |
commit | d12fe87e62d773e81e0cb3a123c5a480a10d7d91 (patch) | |
tree | 1db041a3f0967cfa27958043ad82bed800c29dba /fs/fcntl.c | |
parent | ea1b75cf9138003eee6389b70e654f5865728525 (diff) | |
download | linux-exynos-d12fe87e62d773e81e0cb3a123c5a480a10d7d91.tar.gz linux-exynos-d12fe87e62d773e81e0cb3a123c5a480a10d7d91.tar.bz2 linux-exynos-d12fe87e62d773e81e0cb3a123c5a480a10d7d91.zip |
signal/testing: Don't look for __SI_FAULT in userspace
Fix the debug print statements in these tests where they reference
si_codes and in particular __SI_FAULT. __SI_FAULT is a kernel
internal value and should never be seen by userspace.
While I am in there also fix si_code_str. si_codes are an enumeration
there are not a bitmap so == and not & is the apropriate operation to
test for an si_code.
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Fixes: 5f23f6d082a9 ("x86/pkeys: Add self-tests")
Fixes: e754aedc26ef ("x86/mpx, selftests: Add MPX self test")
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions