1. Jul 01, 2017
  2. Jun 28, 2017
  3. Jun 27, 2017
  4. Jun 24, 2017
  5. Jun 23, 2017
  6. Jun 16, 2017
  7. Jun 15, 2017
  8. Jun 14, 2017
  9. Jun 13, 2017
    • Mickaël Salaün's avatar
      selftests: kselftest_harness: Fix compile warning · 34a048cc
      Mickaël Salaün authored
      
      
      Do not confuse the compiler with a semicolon preceding a block. Replace
      the semicolon with an empty block to avoid a warning:
      
        gcc -Wl,-no-as-needed -Wall -lpthread seccomp_bpf.c -o /.../linux/tools/testing/selftests/seccomp/seccomp_bpf
        In file included from seccomp_bpf.c:40:0:
        seccomp_bpf.c: In function ‘change_syscall’:
        ../kselftest_harness.h:558:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
          for (; _metadata->trigger;  _metadata->trigger = __bail(_assert))
          ^
        ../kselftest_harness.h:574:14: note: in expansion of macro ‘OPTIONAL_HANDLER’
         } while (0); OPTIONAL_HANDLER(_assert)
                      ^~~~~~~~~~~~~~~~
        ../kselftest_harness.h:440:2: note: in expansion of macro ‘__EXPECT’
          __EXPECT(expected, seen, ==, 0)
          ^~~~~~~~
        seccomp_bpf.c:1313:2: note: in expansion of macro ‘EXPECT_EQ’
          EXPECT_EQ(0, ret);
          ^~~~~~~~~
        seccomp_bpf.c:1317:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
          {
          ^
      
      Signed-off-by: default avatarMickaël Salaün <mic@digikod.net>
      Cc: Andy Lutomirski <luto@amacapital.net>
      Cc: Kees Cook <keescook@chromium.org>
      Cc: Shuah Khan <shuahkh@osg.samsung.com>
      Cc: Will Drewry <wad@chromium.org>
      Acked-by: default avatarKees Cook <keescook@chromium.org>
      Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
      34a048cc
    • Shuah Khan's avatar
      kselftest: MAINTAINERS git tree entry update files and dirs · 4ff79fee
      Shuah Khan authored
      
      
      Add missing trailing slash to tools/testing/selftests to cover all files
      and directories below. Add kselftest documentation files.
      
      Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
      4ff79fee
    • Greg Kroah-Hartman's avatar
      ksefltest: MAINTAINERS git tree entry is incorrect · a7254a09
      Greg Kroah-Hartman authored
      
      
      There is a few more subdirectories needed in the git tree path for the
      linux-kselftest url in order to be able to properly clone it.
      
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
      a7254a09
  10. Jun 08, 2017