linux_dsm_epyc7002/tools/testing/selftests/x86
Linus Torvalds dd198ce714 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
Pull namespace updates from Eric Biederman:
 "Life has been busy and I have not gotten half as much done this round
  as I would have liked. I delayed it so that a minor conflict
  resolution with the mips tree could spend a little time in linux-next
  before I sent this pull request.

  This includes two long delayed user namespace changes from Kirill
  Tkhai. It also includes a very useful change from Serge Hallyn that
  allows the security capability attribute to be used inside of user
  namespaces. The practical effect of this is people can now untar
  tarballs and install rpms in user namespaces. It had been suggested to
  generalize this and encode some of the namespace information
  information in the xattr name. Upon close inspection that makes the
  things that should be hard easy and the things that should be easy
  more expensive.

  Then there is my bugfix/cleanup for signal injection that removes the
  magic encoding of the siginfo union member from the kernel internal
  si_code. The mips folks reported the case where I had used FPE_FIXME
  me is impossible so I have remove FPE_FIXME from mips, while at the
  same time including a return statement in that case to keep gcc from
  complaining about unitialized variables.

  I almost finished the work to get make copy_siginfo_to_user a trivial
  copy to user. The code is available at:

     git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git neuter-copy_siginfo_to_user-v3

  But I did not have time/energy to get the code posted and reviewed
  before the merge window opened.

  I was able to see that the security excuse for just copying fields
  that we know are initialized doesn't work in practice there are buggy
  initializations that don't initialize the proper fields in siginfo. So
  we still sometimes copy unitialized data to userspace"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
  Introduce v3 namespaced file capabilities
  mips/signal: In force_fcr31_sig return in the impossible case
  signal: Remove kernel interal si_code magic
  fcntl: Don't use ambiguous SIG_POLL si_codes
  prctl: Allow local CAP_SYS_ADMIN changing exe_file
  security: Use user_namespace::level to avoid redundant iterations in cap_capable()
  userns,pidns: Verify the userns for new pid namespaces
  signal/testing: Don't look for __SI_FAULT in userspace
  signal/mips: Document a conflict with SI_USER with SIGFPE
  signal/sparc: Document a conflict with SI_USER with SIGFPE
  signal/ia64: Document a conflict with SI_USER with SIGFPE
  signal/alpha: Document a conflict with SI_USER for SIGTRAP
2017-09-11 18:34:47 -07:00
..
.gitignore selftests: x86: add missing executables to .gitignore 2017-05-03 10:55:20 -06:00
check_cc.sh selftests, x86: Rework x86 target architecture detection 2015-05-12 20:02:40 -06:00
check_initial_reg_state.c selftests/x86: Add check_initial_reg_state() 2016-01-29 09:46:37 +01:00
entry_from_vm86.c selftests/x86: Add a fork() to entry_from_vm86 to catch fork bugs 2015-10-31 09:50:25 +01:00
fsgsbase.c selftests/x86/fsgsbase: Test selectors 1, 2, and 3 2017-08-10 17:15:13 +02:00
ioperm.c selftests/x86: Add a basic selftest for ioperm 2017-03-01 17:03:23 +01:00
iopl.c selftests/x86: Add an iopl test 2016-03-17 09:49:26 +01:00
ldt_gdt.c selftests/x86/ldt_gdt_32: Work around a glibc sigaction() bug 2017-03-23 08:25:07 +01:00
Makefile selftests: x86: override clean in lib.mk to fix warnings 2017-04-27 08:05:23 -06:00
mpx-debug.h x86/mpx, selftests: Add MPX self test 2016-06-14 12:19:24 +02:00
mpx-dig.c x86/mpx, selftests: Add MPX self test 2016-06-14 12:19:24 +02:00
mpx-hw.h x86/mpx, selftests: Add MPX self test 2016-06-14 12:19:24 +02:00
mpx-mini-test.c signal/testing: Don't look for __SI_FAULT in userspace 2017-07-19 19:13:15 -05:00
mpx-mm.h x86/mpx, selftests: Add MPX self test 2016-06-14 12:19:24 +02:00
pkey-helpers.h x86/pkeys: Add self-tests 2016-09-09 13:02:28 +02:00
protection_keys.c signal/testing: Don't look for __SI_FAULT in userspace 2017-07-19 19:13:15 -05:00
ptrace_syscall.c x86/selftests: Add clobbers for int80 on x86_64 2017-03-01 10:24:56 +01:00
raw_syscall_helper_32.S selftests/x86: Add a test for ptrace syscall restart and arg modification 2015-10-07 11:34:07 +02:00
sigreturn.c selftests/x86/sigreturn: Use CX, not AX, as the scratch register 2016-09-13 20:34:15 +02:00
single_step_syscall.c x86/selftests: Add clobbers for int80 on x86_64 2017-03-01 10:24:56 +01:00
syscall_arg_fault.c x86/entry, selftests/x86: Add a test for 32-bit fast syscall arg faults 2015-07-07 10:58:30 +02:00
syscall_nt.c selftests/x86: In syscall_nt, test NT|TF as well 2016-03-10 09:48:12 +01:00
sysret_rip.c selftests/x86: Add a selftest for SYSRET to noncanonical addresses 2017-01-05 09:20:02 +01:00
sysret_ss_attrs.c x86, selftests: Add a test for the "sysret_ss_attrs" bug 2015-05-08 13:33:59 +02:00
test_FCMOV.c x86/fpu/math-emu, selftests: Add tests for FCMOV and FCOMI insns 2015-09-20 10:19:52 +02:00
test_FCOMI.c x86/fpu/math-emu, selftests: Add tests for FCMOV and FCOMI insns 2015-09-20 10:19:52 +02:00
test_FISTTP.c x86/fpu/math-emu, selftests: Add test for FISTTP instructions 2015-09-20 16:19:01 +02:00
test_mremap_vdso.c selftests/x86: Add vDSO mremap() test 2016-07-08 14:17:51 +02:00
test_syscall_vdso.c x86/asm/entry/32, selftests: Add 'test_syscall_vdso' test 2015-09-18 09:40:48 +02:00
test_vdso.c selftests/x86: Add test_vdso to test getcpu() 2016-11-17 08:31:22 +01:00
thunks_32.S x86/asm/entry/32, selftests: Add 'test_syscall_vdso' test 2015-09-18 09:40:48 +02:00
thunks.S x86, selftests: Add a test for the "sysret_ss_attrs" bug 2015-05-08 13:33:59 +02:00
trivial_32bit_program.c selftests, x86: Rework x86 target architecture detection 2015-05-12 20:02:40 -06:00
trivial_64bit_program.c selftest, x86: fix incorrect comment 2015-05-26 15:58:41 -06:00
unwind_vdso.c selftests/x86: Style fixes for the 'unwind_vdso' test 2015-10-14 16:56:28 +02:00
vdso_restorer.c selftests/x86: Test __kernel_sigreturn and __kernel_rt_sigreturn 2016-01-13 10:34:40 +01:00