1. 30 Nov, 2018 27 commits
  2. 29 Nov, 2018 11 commits
  3. 28 Nov, 2018 2 commits
    • Naresh Kamboju's avatar
      selftests/bpf: add config fragment CONFIG_FTRACE_SYSCALLS · 295daee4
      Naresh Kamboju authored
      CONFIG_FTRACE_SYSCALLS=y is required for get_cgroup_id_user test case
      this test reads a file from debug trace path
      /sys/kernel/debug/tracing/events/syscalls/sys_enter_nanosleep/id
      Signed-off-by: default avatarNaresh Kamboju <naresh.kamboju@linaro.org>
      Acked-by: default avatarYonghong Song <yhs@fb.com>
      Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
      295daee4
    • Daniel Borkmann's avatar
      Merge branch 'bpf-sk-msg-pop-data' · 36dbe571
      Daniel Borkmann authored
      John Fastabend says:
      
      ====================
      After being able to add metadata to messages with sk_msg_push_data we
      have also found it useful to be able to "pop" this metadata off before
      sending it to applications in some cases. This series adds a new helper
      sk_msg_pop_data() and the associated patches to add tests and tools/lib
      support.
      
      Thanks!
      
      v2: Daniel caught that we missed adding sk_msg_pop_data to the changes
          data helper so that the verifier ensures BPF programs revalidate
          data after using this helper. Also improve documentation adding a
          return description and using RST syntax per Quentin's comment. And
          delta calculations for DROP with pop'd data (albeit a strange set
          of operations for a program to be doing) had potential to be
          incorrect possibly confusing user space applications, so fix it.
      ====================
      Acked-by: default avatarAlexei Starovoitov <ast@kernel.org>
      Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
      36dbe571