)]}'
{
  "log": [
    {
      "commit": "ef58c558888a1fa4e1a9db2513af471aaa54ac49",
      "tree": "b7d6ffb118c9ac9d8f2bdb6eaa3ed8b2252d8386",
      "parents": [
        "ba296a270752b3a59fe5a226834dfa6b67150c60",
        "615b076317aac33390cd61216b62b24c7752a41f"
      ],
      "author": {
        "name": "Xin Li",
        "email": "delphij@google.com",
        "time": "Fri Dec 20 13:39:36 2024 -0800"
      },
      "committer": {
        "name": "Xin Li",
        "email": "delphij@google.com",
        "time": "Fri Dec 20 13:39:36 2024 -0800"
      },
      "message": "Empty merge ab/12770256 into aosp-main-future\n\nMerged-In: I623153886d8b2763be2a0429b05f3c0d95d60fe6\nChange-Id: I134b5be012ff4a3452215c76ccd02d3fdb80ccb9\n"
    },
    {
      "commit": "ba296a270752b3a59fe5a226834dfa6b67150c60",
      "tree": "b7d6ffb118c9ac9d8f2bdb6eaa3ed8b2252d8386",
      "parents": [
        "4f9e1f8f71014c14d07a2f596bc44fa3830e278f",
        "94325fe73d5155126453246eab36839f68ee6249"
      ],
      "author": {
        "name": "Sadaf Ebrahimi",
        "email": "sadafebrahimi@google.com",
        "time": "Thu Dec 19 11:43:48 2024 -0800"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Thu Dec 19 11:43:48 2024 -0800"
      },
      "message": "Add janitors to the OWNERS file am: 94325fe73d\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/3423503\n\nChange-Id: I34fc3a8806bcd36764d74e224f96fbc5b0bf269a\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "94325fe73d5155126453246eab36839f68ee6249",
      "tree": "b7d6ffb118c9ac9d8f2bdb6eaa3ed8b2252d8386",
      "parents": [
        "4f9e1f8f71014c14d07a2f596bc44fa3830e278f"
      ],
      "author": {
        "name": "Sadaf Ebrahimi",
        "email": "sadafebrahimi@google.com",
        "time": "Wed Dec 18 20:07:01 2024 +0000"
      },
      "committer": {
        "name": "Sadaf Ebrahimi",
        "email": "sadafebrahimi@google.com",
        "time": "Wed Dec 18 20:07:01 2024 +0000"
      },
      "message": "Add janitors to the OWNERS file\n\nTest: TreeHugger\nChange-Id: Ib911e04a3f4a96223c6d081f407335e5d25906d3\n"
    },
    {
      "commit": "615b076317aac33390cd61216b62b24c7752a41f",
      "tree": "e933418380f166156db778037344c05b9db20d5b",
      "parents": [
        "9dae99caec6fd565369e85a2d0c31417b2cbb732",
        "4f9e1f8f71014c14d07a2f596bc44fa3830e278f"
      ],
      "author": {
        "name": "Neill Kapron",
        "email": "nkapron@google.com",
        "time": "Tue Oct 01 17:59:12 2024 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Oct 01 17:59:12 2024 +0000"
      },
      "message": "Bpftool: revert local modification am: 26c551d083 am: 4f9e1f8f71\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/3265218\n\nChange-Id: I7b2e6474b1e795c4c98a48a3f3b60f74a0f2c209\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "9dae99caec6fd565369e85a2d0c31417b2cbb732",
      "tree": "b0c2cdc60868d87ee70d6bcb21583bfd8e039d4c",
      "parents": [
        "3c9aaf9a64cff8e59143975069d404628f3014fc",
        "d053fc89929da0ded19c3c5fad711a4052546d63"
      ],
      "author": {
        "name": "Neill Kapron",
        "email": "nkapron@google.com",
        "time": "Tue Oct 01 17:59:09 2024 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Oct 01 17:59:09 2024 +0000"
      },
      "message": "bpftool: Merge tag \u0027v7.4.0\u0027 into aosp am: 836bc66107 am: d053fc8992\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/3262395\n\nChange-Id: I3fbbe251e3eb3df0b63b694bddca64bd7447fa8f\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "4f9e1f8f71014c14d07a2f596bc44fa3830e278f",
      "tree": "e933418380f166156db778037344c05b9db20d5b",
      "parents": [
        "d053fc89929da0ded19c3c5fad711a4052546d63",
        "26c551d0835d1f71be3637d7532ddf67270810d6"
      ],
      "author": {
        "name": "Neill Kapron",
        "email": "nkapron@google.com",
        "time": "Tue Oct 01 16:37:55 2024 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Oct 01 16:37:55 2024 +0000"
      },
      "message": "Bpftool: revert local modification am: 26c551d083\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/3265218\n\nChange-Id: I782e52ef084d33a0d5e14cfe11818f417348d7de\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "d053fc89929da0ded19c3c5fad711a4052546d63",
      "tree": "b0c2cdc60868d87ee70d6bcb21583bfd8e039d4c",
      "parents": [
        "3c9aaf9a64cff8e59143975069d404628f3014fc",
        "836bc66107723e9f9a31b32f3927e45ae64be6c5"
      ],
      "author": {
        "name": "Neill Kapron",
        "email": "nkapron@google.com",
        "time": "Tue Oct 01 16:37:51 2024 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Oct 01 16:37:51 2024 +0000"
      },
      "message": "bpftool: Merge tag \u0027v7.4.0\u0027 into aosp am: 836bc66107\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/3262395\n\nChange-Id: I8a86001efef0a5a21f3d9ce27bfc9ae460a9e36f\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "26c551d0835d1f71be3637d7532ddf67270810d6",
      "tree": "e933418380f166156db778037344c05b9db20d5b",
      "parents": [
        "836bc66107723e9f9a31b32f3927e45ae64be6c5"
      ],
      "author": {
        "name": "Neill Kapron",
        "email": "nkapron@google.com",
        "time": "Thu Sep 12 18:05:17 2024 +0000"
      },
      "committer": {
        "name": "Neill Kapron",
        "email": "nkapron@google.com",
        "time": "Thu Sep 12 18:05:17 2024 +0000"
      },
      "message": "Bpftool: revert local modification\n\nRevert 7d7be8894e1bc7b2bbe3aeecdd05326cf540cb37\nwhich changed sys/fcntl.h to just fcntl.h, as upstream has made this\nmodification. Additionally, changes to perf.c are no longer necessary as\nupstream has been refactored and does not use these optimizations anymore.\n\nTest: TH\nChange-Id: I403f32386e68e842c2b9130f53c8ec074d6ef3b3\nSigned-off-by: Neill Kapron \u003cnkapron@google.com\u003e\n"
    },
    {
      "commit": "836bc66107723e9f9a31b32f3927e45ae64be6c5",
      "tree": "b0c2cdc60868d87ee70d6bcb21583bfd8e039d4c",
      "parents": [
        "3c9aaf9a64cff8e59143975069d404628f3014fc",
        "20ce6933869b70bacfdd0dd1a8399199290bf8ff"
      ],
      "author": {
        "name": "Neill Kapron",
        "email": "nkapron@google.com",
        "time": "Wed Sep 11 20:58:15 2024 +0000"
      },
      "committer": {
        "name": "Neill Kapron",
        "email": "nkapron@google.com",
        "time": "Thu Sep 12 16:00:40 2024 +0000"
      },
      "message": "bpftool: Merge tag \u0027v7.4.0\u0027 into aosp\n\nbpftool 7.4.0 merged using automatic_updater.\n\nManual merge conflict resolution: libbpf submodule deleted locally.\n\nBug: 359646531\nTest: TH\nChange-Id: I391b8e3594fb7d4ef8152fb7456710c1a6cb56d3\nSigned-off-by: Neill Kapron \u003cnkapron@google.com\u003e\n"
    },
    {
      "commit": "20ce6933869b70bacfdd0dd1a8399199290bf8ff",
      "tree": "2d113364c46b4c9acef8e3e33485d2930c64fac5",
      "parents": [
        "a668a13c09fd79a79dfce00415bf3934e7efd4fe"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "qmo@kernel.org",
        "time": "Tue Mar 26 12:53:06 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "mirror: Update expected diff with kernel sources\n\nA recent patch has touched some portions of bpftool\u0027s Makefile that\ndiffer between kernel\u0027s and mirror\u0027s sources. Let\u0027s update the diff with\nthe expected differences accordingly, to smoothen future sync ups.\n\nSigned-off-by: Quentin Monnet \u003cqmo@kernel.org\u003e\n"
    },
    {
      "commit": "a668a13c09fd79a79dfce00415bf3934e7efd4fe",
      "tree": "11de38d36146a5c9cb096173db0a43998c58bede",
      "parents": [
        "0bac781f409a0a3d4f40352ada7113106d022644"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "qmo@kernel.org",
        "time": "Tue Mar 26 12:50:01 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "sync: Pull latest bpftool changes from kernel\n\nSyncing latest bpftool commits from kernel repository.\nBaseline bpf-next commit:   e63985ecd22681c7f5975f2e8637187a326b6791\nCheckpoint bpf-next commit: 14bb1e8c8d4ad5d9d2febb7d19c70a3cf536e1e5\nBaseline bpf commit:        2487007aa3b9fafbd2cb14068f49791ce1d7ede5\nCheckpoint bpf commit:      443574b033876c85a35de4c65c14f7fe092222b2\n\nAlexei Starovoitov (4):\n  bpf: Introduce bpf_arena.\n  bpf: Disasm support for addr_space_cast instruction.\n  bpftool: Recognize arena map type\n  libbpf, selftests/bpf: Adjust libbpf, bpftool, selftests to match LLVM\n\nAndrii Nakryiko (3):\n  bpftool: rename is_internal_mmapable_map into is_mmapable_map\n  libbpf: Recognize __arena global variables.\n  bpf: support BPF cookie in raw tracepoint (raw_tp, tp_btf) programs\n\nKui-Feng Lee (1):\n  bpftool: Cast pointers for shadow types explicitly.\n\nQuentin Monnet (3):\n  bpftool: Enable libbpf logs when loading pid_iter in debug mode\n  bpftool: Remove unnecessary source files from bootstrap version\n  bpftool: Clean up HOST_CFLAGS, HOST_LDFLAGS for bootstrap bpftool\n\nYonghong Song (2):\n  bpftool: Fix missing pids during link show\n  bpf: Sync uapi bpf.h to tools directory\n\n docs/bpftool-map.rst        |  2 +-\n include/uapi/linux/bpf.h    | 20 ++++++++++++++++++--\n src/Makefile                | 14 ++++++--------\n src/gen.c                   | 34 ++++++++++++++++++++++++----------\n src/kernel/bpf/disasm.c     | 10 ++++++++++\n src/map.c                   |  2 +-\n src/pids.c                  | 19 ++++++++++++-------\n src/skeleton/pid_iter.bpf.c |  4 ++--\n 8 files changed, 74 insertions(+), 31 deletions(-)\n\nSigned-off-by: Quentin Monnet \u003cqmo@kernel.org\u003e\n"
    },
    {
      "commit": "0bac781f409a0a3d4f40352ada7113106d022644",
      "tree": "8d317cbcab5362ced18c6c4bfca50078eee91379",
      "parents": [
        "b79c0dc56d8a8a9c8cb5c354aff085ecf865b34d"
      ],
      "author": {
        "name": "Alexei Starovoitov",
        "email": "ast@kernel.org",
        "time": "Thu Mar 14 19:18:32 2024 -0700"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "libbpf, selftests/bpf: Adjust libbpf, bpftool, selftests to match LLVM\n\nThe selftests use\nto tell LLVM about special pointers. For LLVM there is nothing \"arena\"\nabout them. They are simply pointers in a different address space.\nHence LLVM diff https://github.com/llvm/llvm-project/pull/85161 renamed:\n. macro __BPF_FEATURE_ARENA_CAST -\u003e __BPF_FEATURE_ADDR_SPACE_CAST\n. global variables in __attribute__((address_space(N))) are now\n  placed in section named \".addr_space.N\" instead of \".arena.N\".\n\nAdjust libbpf, bpftool, and selftests to match LLVM.\n\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nAcked-by: Stanislav Fomichev \u003csdf@google.com\u003e\nLink: https://lore.kernel.org/bpf/20240315021834.62988-3-alexei.starovoitov@gmail.com\n"
    },
    {
      "commit": "b79c0dc56d8a8a9c8cb5c354aff085ecf865b34d",
      "tree": "336799441b8493a73a32177b5b04e4cdeac7866b",
      "parents": [
        "c1adf4afa263c85044bc046a26b459d1be35cee3"
      ],
      "author": {
        "name": "Yonghong Song",
        "email": "yonghong.song@linux.dev",
        "time": "Sun Mar 24 20:38:42 2024 -0700"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "bpf: Sync uapi bpf.h to tools directory\n\nThere is a difference between kernel uapi bpf.h and tools\nuapi bpf.h. There is no functionality difference, but let\nus sync properly to make it easy for later bpf.h update.\n\nSigned-off-by: Yonghong Song \u003cyonghong.song@linux.dev\u003e\nSigned-off-by: Daniel Borkmann \u003cdaniel@iogearbox.net\u003e\nLink: https://lore.kernel.org/bpf/20240325033842.1693553-1-yonghong.song@linux.dev\n"
    },
    {
      "commit": "c1adf4afa263c85044bc046a26b459d1be35cee3",
      "tree": "174c57cfc1eba84e0cedc63aa907607469881a6f",
      "parents": [
        "3dc1ac6ecd1b4b8435407a17602274a89f3bcd1e"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "qmo@kernel.org",
        "time": "Wed Mar 20 01:41:03 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "bpftool: Clean up HOST_CFLAGS, HOST_LDFLAGS for bootstrap bpftool\n\nBpftool\u0027s Makefile uses $(HOST_CFLAGS) to build the bootstrap version of\nbpftool, in order to pick the flags for the host (where we run the\nbootstrap version) and not for the target system (where we plan to run\nthe full bpftool binary). But we pass too much information through this\nvariable.\n\nIn particular, we set HOST_CFLAGS by copying most of the $(CFLAGS); but\nwe do this after the feature detection for bpftool, which means that\n$(CFLAGS), hence $(HOST_CFLAGS), contain all macro definitions for using\nthe different optional features. For example, -DHAVE_LLVM_SUPPORT may be\npassed to the $(HOST_CFLAGS), even though the LLVM disassembler is not\nused in the bootstrap version, and the related library may even be\nmissing for the host architecture.\n\nA similar thing happens with the $(LDFLAGS), that we use unchanged for\nlinking the bootstrap version even though they may contains flags to\nlink against additional libraries.\n\nTo address the $(HOST_CFLAGS) issue, we move the definition of\n$(HOST_CFLAGS) earlier in the Makefile, before the $(CFLAGS) update\nresulting from the feature probing - none of which being relevant to the\nbootstrap version. To clean up the $(LDFLAGS) for the bootstrap version,\nwe introduce a dedicated $(HOST_LDFLAGS) variable that we base on\n$(LDFLAGS), before the feature probing as well.\n\nOn my setup, the following macro and libraries are removed from the\ncompiler invocation to build bpftool after this patch:\n\n  -DUSE_LIBCAP\n  -DHAVE_LLVM_SUPPORT\n  -I/usr/lib/llvm-17/include\n  -D_GNU_SOURCE\n  -D__STDC_CONSTANT_MACROS\n  -D__STDC_FORMAT_MACROS\n  -D__STDC_LIMIT_MACROS\n  -lLLVM-17\n  -L/usr/lib/llvm-17/lib\n\nAnother advantage of cleaning up these flags is that displaying\navailable features with \"bpftool version\" becomes more accurate for the\nbootstrap bpftool, and no longer reflects the features detected (and\navailable only) for the final binary.\n\nCc: Jean-Philippe Brucker \u003cjean-philippe@linaro.org\u003e\nSigned-off-by: Quentin Monnet \u003cqmo@kernel.org\u003e\nAcked-by: Jiri Olsa \u003cjolsa@kernel.org\u003e\nMessage-ID: \u003c20240320014103.45641-1-qmo@kernel.org\u003e\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "3dc1ac6ecd1b4b8435407a17602274a89f3bcd1e",
      "tree": "911de127061d3321ff311b1c7498ac76728d9f30",
      "parents": [
        "0cb4aaf6080dd5338c8851ad917100caeffc692a"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "qmo@kernel.org",
        "time": "Wed Mar 20 01:34:57 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "bpftool: Remove unnecessary source files from bootstrap version\n\nCommit d510296d331a (\"bpftool: Use syscall/loader program in \"prog load\"\nand \"gen skeleton\" command.\") added new files to the list of objects to\ncompile in order to build the bootstrap version of bpftool. As far as I\ncan tell, these objects are unnecessary and were added by mistake; maybe\na draft version intended to add support for loading loader programs from\nthe bootstrap version. Anyway, we can remove these object files from the\nlist to make the bootstrap bpftool binary a tad smaller and faster to\nbuild.\n\nFixes: d510296d331a (\"bpftool: Use syscall/loader program in \"prog load\" and \"gen skeleton\" command.\")\nSigned-off-by: Quentin Monnet \u003cqmo@kernel.org\u003e\nMessage-ID: \u003c20240320013457.44808-1-qmo@kernel.org\u003e\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "0cb4aaf6080dd5338c8851ad917100caeffc692a",
      "tree": "ff6f0eb8918b9d3bb2bdd80eb0b08228929a15e9",
      "parents": [
        "d6167072b46ac1523355db6dff5125654c3cbd42"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "qmo@kernel.org",
        "time": "Wed Mar 20 01:22:41 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "bpftool: Enable libbpf logs when loading pid_iter in debug mode\n\nWhen trying to load the pid_iter BPF program used to iterate over the\nPIDs of the processes holding file descriptors to BPF links, we would\nunconditionally silence libbpf in order to keep the output clean if the\nkernel does not support iterators and loading fails.\n\nAlthough this is the desirable behaviour in most cases, this may hide\nbugs in the pid_iter program that prevent it from loading, and it makes\nit hard to debug such load failures, even in \"debug\" mode. Instead, it\nmakes more sense to print libbpf\u0027s logs when we pass the -d|--debug flag\nto bpftool, so that users get the logs to investigate failures without\nhaving to edit bpftool\u0027s source code.\n\nSigned-off-by: Quentin Monnet \u003cqmo@kernel.org\u003e\nMessage-ID: \u003c20240320012241.42991-1-qmo@kernel.org\u003e\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "d6167072b46ac1523355db6dff5125654c3cbd42",
      "tree": "c5b2c283f8ea5eb86c832250dbb1232be48883ea",
      "parents": [
        "3214350ae5620d1692ac6ed7b117f5edf2ff01c6"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Tue Mar 19 16:38:50 2024 -0700"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "bpf: support BPF cookie in raw tracepoint (raw_tp, tp_btf) programs\n\nWire up BPF cookie for raw tracepoint programs (both BTF and non-BTF\naware variants). This brings them up to part w.r.t. BPF cookie usage\nwith classic tracepoint and fentry/fexit programs.\n\nAcked-by: Stanislav Fomichev \u003csdf@google.com\u003e\nAcked-by: Eduard Zingerman \u003ceddyz87@gmail.com\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nMessage-ID: \u003c20240319233852.1977493-4-andrii@kernel.org\u003e\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "3214350ae5620d1692ac6ed7b117f5edf2ff01c6",
      "tree": "b96a5277161014b35939e618908bda2b43ff22e9",
      "parents": [
        "89d84b32b6b4a79f5e5df4b1beac812bd2578a72"
      ],
      "author": {
        "name": "Yonghong Song",
        "email": "yonghong.song@linux.dev",
        "time": "Mon Mar 11 19:32:49 2024 -0700"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "bpftool: Fix missing pids during link show\n\nCurrent \u0027bpftool link\u0027 command does not show pids, e.g.,\n  $ tools/build/bpftool/bpftool link\n  ...\n  4: tracing  prog 23\n        prog_type lsm  attach_type lsm_mac\n        target_obj_id 1  target_btf_id 31320\n\nHack the following change to enable normal libbpf debug output,\n  --- a/tools/bpf/bpftool/pids.c\n  +++ b/tools/bpf/bpftool/pids.c\n  @@ -121,9 +121,9 @@ int build_obj_refs_table(struct hashmap **map, enum bpf_obj_type type)\n          /* we don\u0027t want output polluted with libbpf errors if bpf_iter is not\n           * supported\n           */\n  -       default_print \u003d libbpf_set_print(libbpf_print_none);\n  +       /* default_print \u003d libbpf_set_print(libbpf_print_none); */\n          err \u003d pid_iter_bpf__load(skel);\n  -       libbpf_set_print(default_print);\n  +       /* libbpf_set_print(default_print); */\n\nRerun the above bpftool command:\n  $ tools/build/bpftool/bpftool link\n  libbpf: prog \u0027iter\u0027: BPF program load failed: Permission denied\n  libbpf: prog \u0027iter\u0027: -- BEGIN PROG LOAD LOG --\n  0: R1\u003dctx() R10\u003dfp0\n  ; struct task_struct *task \u003d ctx-\u003etask; @ pid_iter.bpf.c:69\n  0: (79) r6 \u003d *(u64 *)(r1 +8)          ; R1\u003dctx() R6_w\u003dptr_or_null_task_struct(id\u003d1)\n  ; struct file *file \u003d ctx-\u003efile; @ pid_iter.bpf.c:68\n  ...\n  ; struct bpf_link *link \u003d (struct bpf_link *) file-\u003eprivate_data; @ pid_iter.bpf.c:103\n  80: (79) r3 \u003d *(u64 *)(r8 +432)       ; R3_w\u003dscalar() R8\u003dptr_file()\n  ; if (link-\u003etype \u003d\u003d bpf_core_enum_value(enum bpf_link_type___local, @ pid_iter.bpf.c:105\n  81: (61) r1 \u003d *(u32 *)(r3 +12)\n  R3 invalid mem access \u0027scalar\u0027\n  processed 39 insns (limit 1000000) max_states_per_insn 0 total_states 3 peak_states 3 mark_read 2\n  -- END PROG LOAD LOG --\n  libbpf: prog \u0027iter\u0027: failed to load: -13\n  ...\n\nThe \u0027file-\u003eprivate_data\u0027 returns a \u0027void\u0027 type and this caused subsequent \u0027link-\u003etype\u0027\n(insn #81) failed in verification.\n\nTo fix the issue, restore the previous BPF_CORE_READ so old kernels can also work.\nWith this patch, the \u0027bpftool link\u0027 runs successfully with \u0027pids\u0027.\n  $ tools/build/bpftool/bpftool link\n  ...\n  4: tracing  prog 23\n        prog_type lsm  attach_type lsm_mac\n        target_obj_id 1  target_btf_id 31320\n        pids systemd(1)\n\nFixes: 44ba7b30e84f (\"bpftool: Use a local copy of BPF_LINK_TYPE_PERF_EVENT in pid_iter.bpf.c\")\nSigned-off-by: Yonghong Song \u003cyonghong.song@linux.dev\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nTested-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nReviewed-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nLink: https://lore.kernel.org/bpf/20240312023249.3776718-1-yonghong.song@linux.dev\n"
    },
    {
      "commit": "89d84b32b6b4a79f5e5df4b1beac812bd2578a72",
      "tree": "5a414d7cfb353f03f37578831e495c67e4fec42f",
      "parents": [
        "73a2c7ec60d566afeb70bd30aef0e367ae63c6d7"
      ],
      "author": {
        "name": "Kui-Feng Lee",
        "email": "thinker.li@gmail.com",
        "time": "Mon Mar 11 18:37:26 2024 -0700"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "bpftool: Cast pointers for shadow types explicitly.\n\nAccording to a report, skeletons fail to assign shadow pointers when being\ncompiled with C++ programs. Unlike C doing implicit casting for void\npointers, C++ requires an explicit casting.\n\nTo support C++, we do explicit casting for each shadow pointer.\n\nAlso add struct_ops_module.skel.h to test_cpp to validate C++\ncompilation as part of BPF selftests.\n\nSigned-off-by: Kui-Feng Lee \u003cthinker.li@gmail.com\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nAcked-by: Yonghong Song \u003cyonghong.song@linux.dev\u003e\nAcked-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nLink: https://lore.kernel.org/bpf/20240312013726.1780720-1-thinker.li@gmail.com\n"
    },
    {
      "commit": "73a2c7ec60d566afeb70bd30aef0e367ae63c6d7",
      "tree": "d67cfc71bfbdfc1640924aec4fa79367079fff3d",
      "parents": [
        "a09e203b1492dbce0ce5868582a6ceb6515db754"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Thu Mar 07 17:08:08 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "libbpf: Recognize __arena global variables.\n\nLLVM automatically places __arena variables into \".arena.1\" ELF section.\nIn order to use such global variables bpf program must include definition\nof arena map in \".maps\" section, like:\nstruct {\n       __uint(type, BPF_MAP_TYPE_ARENA);\n       __uint(map_flags, BPF_F_MMAPABLE);\n       __uint(max_entries, 1000);         /* number of pages */\n       __ulong(map_extra, 2ull \u003c\u003c 44);    /* start of mmap() region */\n} arena SEC(\".maps\");\n\nlibbpf recognizes both uses of arena and creates single `struct bpf_map *`\ninstance in libbpf APIs.\n\".arena.1\" ELF section data is used as initial data image, which is exposed\nthrough skeleton and bpf_map__initial_value() to the user, if they need to tune\nit before the load phase. During load phase, this initial image is copied over\ninto mmap()\u0027ed region corresponding to arena, and discarded.\n\nFew small checks here and there had to be added to make sure this\napproach works with bpf_map__initial_value(), mostly due to hard-coded\nassumption that map-\u003emmaped is set up with mmap() syscall and should be\nmunmap()\u0027ed. For arena, .arena.1 can be (much) smaller than maximum\narena size, so this smaller data size has to be tracked separately.\nGiven it is enforced that there is only one arena for entire bpf_object\ninstance, we just keep it in a separate field. This can be generalized\nif necessary later.\n\nAll global variables from \".arena.1\" section are accessible from user space\nvia skel-\u003earena-\u003ename_of_var.\n\nFor bss/data/rodata the skeleton/libbpf perform the following sequence:\n1. addr \u003d mmap(MAP_ANONYMOUS)\n2. user space optionally modifies global vars\n3. map_fd \u003d bpf_create_map()\n4. bpf_update_map_elem(map_fd, addr) // to store values into the kernel\n5. mmap(addr, MAP_FIXED, map_fd)\nafter step 5 user spaces see the values it wrote at step 2 at the same addresses\n\narena doesn\u0027t support update_map_elem. Hence skeleton/libbpf do:\n1. addr \u003d malloc(sizeof SEC \".arena.1\")\n2. user space optionally modifies global vars\n3. map_fd \u003d bpf_create_map(MAP_TYPE_ARENA)\n4. real_addr \u003d mmap(map-\u003emap_extra, MAP_SHARED | MAP_FIXED, map_fd)\n5. memcpy(real_addr, addr) // this will fault-in and allocate pages\n\nAt the end look and feel of global data vs __arena global data is the same from\nbpf prog pov.\n\nAnother complication is:\nstruct {\n  __uint(type, BPF_MAP_TYPE_ARENA);\n} arena SEC(\".maps\");\n\nint __arena foo;\nint bar;\n\n  ptr1 \u003d \u0026foo;   // relocation against \".arena.1\" section\n  ptr2 \u003d \u0026arena; // relocation against \".maps\" section\n  ptr3 \u003d \u0026bar;   // relocation against \".bss\" section\n\nFo the kernel ptr1 and ptr2 has point to the same arena\u0027s map_fd\nwhile ptr3 points to a different global array\u0027s map_fd.\nFor the verifier:\nptr1-\u003etype \u003d\u003d unknown_scalar\nptr2-\u003etype \u003d\u003d const_ptr_to_map\nptr3-\u003etype \u003d\u003d ptr_to_map_value\n\nAfter verification, from JIT pov all 3 ptr-s are normal ld_imm64 insns.\n\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nAcked-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nLink: https://lore.kernel.org/bpf/20240308010812.89848-11-alexei.starovoitov@gmail.com\n"
    },
    {
      "commit": "a09e203b1492dbce0ce5868582a6ceb6515db754",
      "tree": "e946793f2d656880b3572bbc1ad549435923f440",
      "parents": [
        "c305ebfa9a01586604af901bd64814339b606838"
      ],
      "author": {
        "name": "Alexei Starovoitov",
        "email": "ast@kernel.org",
        "time": "Thu Mar 07 17:08:07 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "bpftool: Recognize arena map type\n\nTeach bpftool to recognize arena map type.\n\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nAcked-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nLink: https://lore.kernel.org/bpf/20240308010812.89848-10-alexei.starovoitov@gmail.com\n"
    },
    {
      "commit": "c305ebfa9a01586604af901bd64814339b606838",
      "tree": "1ab8e16d1f32608d29757ecd31116a752296c5a1",
      "parents": [
        "ee84172ce15b2162ed724a472f542bec2bda47bf"
      ],
      "author": {
        "name": "Alexei Starovoitov",
        "email": "ast@kernel.org",
        "time": "Thu Mar 07 17:08:00 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "bpf: Disasm support for addr_space_cast instruction.\n\nLLVM generates rX \u003d addr_space_cast(rY, dst_addr_space, src_addr_space)\ninstruction when pointers in non-zero address space are used by the bpf\nprogram. Recognize this insn in uapi and in bpf disassembler.\n\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nAcked-by: Kumar Kartikeya Dwivedi \u003cmemxor@gmail.com\u003e\nLink: https://lore.kernel.org/bpf/20240308010812.89848-3-alexei.starovoitov@gmail.com\n"
    },
    {
      "commit": "ee84172ce15b2162ed724a472f542bec2bda47bf",
      "tree": "10adb0fb3905eb4e2a29423d9c169f48931a53a9",
      "parents": [
        "bd1e3167c7bc82a30ed32cecac20ef4eda17da54"
      ],
      "author": {
        "name": "Alexei Starovoitov",
        "email": "ast@kernel.org",
        "time": "Thu Mar 07 17:07:59 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "bpf: Introduce bpf_arena.\n\nIntroduce bpf_arena, which is a sparse shared memory region between the bpf\nprogram and user space.\n\nUse cases:\n1. User space mmap-s bpf_arena and uses it as a traditional mmap-ed\n   anonymous region, like memcached or any key/value storage. The bpf\n   program implements an in-kernel accelerator. XDP prog can search for\n   a key in bpf_arena and return a value without going to user space.\n2. The bpf program builds arbitrary data structures in bpf_arena (hash\n   tables, rb-trees, sparse arrays), while user space consumes it.\n3. bpf_arena is a \"heap\" of memory from the bpf program\u0027s point of view.\n   The user space may mmap it, but bpf program will not convert pointers\n   to user base at run-time to improve bpf program speed.\n\nInitially, the kernel vm_area and user vma are not populated. User space\ncan fault in pages within the range. While servicing a page fault,\nbpf_arena logic will insert a new page into the kernel and user vmas. The\nbpf program can allocate pages from that region via\nbpf_arena_alloc_pages(). This kernel function will insert pages into the\nkernel vm_area. The subsequent fault-in from user space will populate that\npage into the user vma. The BPF_F_SEGV_ON_FAULT flag at arena creation time\ncan be used to prevent fault-in from user space. In such a case, if a page\nis not allocated by the bpf program and not present in the kernel vm_area,\nthe user process will segfault. This is useful for use cases 2 and 3 above.\n\nbpf_arena_alloc_pages() is similar to user space mmap(). It allocates pages\neither at a specific address within the arena or allocates a range with the\nmaple tree. bpf_arena_free_pages() is analogous to munmap(), which frees\npages and removes the range from the kernel vm_area and from user process\nvmas.\n\nbpf_arena can be used as a bpf program \"heap\" of up to 4GB. The speed of\nbpf program is more important than ease of sharing with user space. This is\nuse case 3. In such a case, the BPF_F_NO_USER_CONV flag is recommended.\nIt will tell the verifier to treat the rX \u003d bpf_arena_cast_user(rY)\ninstruction as a 32-bit move wX \u003d wY, which will improve bpf prog\nperformance. Otherwise, bpf_arena_cast_user is translated by JIT to\nconditionally add the upper 32 bits of user vm_start (if the pointer is not\nNULL) to arena pointers before they are stored into memory. This way, user\nspace sees them as valid 64-bit pointers.\n\nDiff https://github.com/llvm/llvm-project/pull/84410 enables LLVM BPF\nbackend generate the bpf_addr_space_cast() instruction to cast pointers\nbetween address_space(1) which is reserved for bpf_arena pointers and\ndefault address space zero. All arena pointers in a bpf program written in\nC language are tagged as __attribute__((address_space(1))). Hence, clang\nprovides helpful diagnostics when pointers cross address space. Libbpf and\nthe kernel support only address_space \u003d\u003d 1. All other address space\nidentifiers are reserved.\n\nrX \u003d bpf_addr_space_cast(rY, /* dst_as */ 1, /* src_as */ 0) tells the\nverifier that rX-\u003etype \u003d PTR_TO_ARENA. Any further operations on\nPTR_TO_ARENA register have to be in the 32-bit domain. The verifier will\nmark load/store through PTR_TO_ARENA with PROBE_MEM32. JIT will generate\nthem as kern_vm_start + 32bit_addr memory accesses. The behavior is similar\nto copy_from_kernel_nofault() except that no address checks are necessary.\nThe address is guaranteed to be in the 4GB range. If the page is not\npresent, the destination register is zeroed on read, and the operation is\nignored on write.\n\nrX \u003d bpf_addr_space_cast(rY, 0, 1) tells the verifier that rX-\u003etype \u003d\nunknown scalar. If arena-\u003emap_flags has BPF_F_NO_USER_CONV set, then the\nverifier converts such cast instructions to mov32. Otherwise, JIT will emit\nnative code equivalent to:\nrX \u003d (u32)rY;\nif (rY)\n  rX |\u003d clear_lo32_bits(arena-\u003euser_vm_start); /* replace hi32 bits in rX */\n\nAfter such conversion, the pointer becomes a valid user pointer within\nbpf_arena range. The user process can access data structures created in\nbpf_arena without any additional computations. For example, a linked list\nbuilt by a bpf program can be walked natively by user space.\n\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nReviewed-by: Barret Rhoden \u003cbrho@google.com\u003e\nLink: https://lore.kernel.org/bpf/20240308010812.89848-2-alexei.starovoitov@gmail.com\n"
    },
    {
      "commit": "bd1e3167c7bc82a30ed32cecac20ef4eda17da54",
      "tree": "6d59fa7e4041d3854d8ab6a1968d6215216e2610",
      "parents": [
        "a65536087e84d020b857234379c5ca1208c05829"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Wed Mar 06 19:12:27 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "bpftool: rename is_internal_mmapable_map into is_mmapable_map\n\nIt\u0027s not restricted to working with \"internal\" maps, it cares about any\nmap that can be mmap\u0027ed. Reflect that in more succinct and generic name.\n\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\nAcked-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nLink: https://lore.kernel.org/r/20240307031228.42896-6-alexei.starovoitov@gmail.com\nSigned-off-by: Martin KaFai Lau \u003cmartin.lau@kernel.org\u003e\n"
    },
    {
      "commit": "a65536087e84d020b857234379c5ca1208c05829",
      "tree": "a826d6599530491e1e82c8b1adf37b5f77a1906e",
      "parents": [
        "779cba7c8cf4c2673dfb18e8f0e0b19ce4a5bbc3"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "qmo@kernel.org",
        "time": "Tue Mar 26 09:47:27 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "sync: Update libbpf submodule\n\nPull latest libbpf from mirror.\nLibbpf version: 1.4.0\nLibbpf commit:  20ea95b4505c477af3b6ff6ce9d19cee868ddc5d\n\nSigned-off-by: Quentin Monnet \u003cqmo@kernel.org\u003e\n"
    },
    {
      "commit": "779cba7c8cf4c2673dfb18e8f0e0b19ce4a5bbc3",
      "tree": "ebab29b633e98ff79da04e1d4159e850b9e49f14",
      "parents": [
        "3e6f814e534421c4fd638c1bffc7e8318da78d16"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "qmo@kernel.org",
        "time": "Tue Mar 26 13:00:10 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmo@qmon.net",
        "time": "Tue Mar 26 13:10:42 2024 +0000"
      },
      "message": "mirror: Add u16 definition to types.h\n\nWe\u0027ll have a value cast as a u16 in src/kernel/bpf/disasm.c in a future\ncommit. Add the type definition to the relevant header.\n\nSigned-off-by: Quentin Monnet \u003cqmo@kernel.org\u003e\n"
    },
    {
      "commit": "3e6f814e534421c4fd638c1bffc7e8318da78d16",
      "tree": "413b4c4c07c8641fe882c41a7d02fe649a6bec10",
      "parents": [
        "8328f373c0ef27fda14f12e67f1d6ed882dd2e81"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Mar 07 09:52:11 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Mar 07 10:12:34 2024 +0000"
      },
      "message": "sync: Pull latest bpftool changes from kernel\n\nSyncing latest bpftool commits from kernel repository.\nBaseline bpf-next commit:   943b043aeecce9accb6d367af47791c633e95e4d\nCheckpoint bpf-next commit: e63985ecd22681c7f5975f2e8637187a326b6791\nBaseline bpf commit:        577e4432f3ac810049cb7e6b71f4d96ec7c6e894\nCheckpoint bpf commit:      2487007aa3b9fafbd2cb14068f49791ce1d7ede5\n\nAahil Awatramani (1):\n  bonding: Add independent control state machine\n\nAlexei Starovoitov (1):\n  bpf: Introduce may_goto instruction\n\nKees Cook (1):\n  bpf: Replace bpf_lpm_trie_key 0-length array with flexible array\n\nKui-Feng Lee (2):\n  bpftool: Generated shadow variables for struct_ops maps.\n  bpftool: Add an example for struct_ops map and shadow type.\n\nMartin Kelly (1):\n  bpf: Clarify batch lookup/lookup_and_delete semantics\n\n docs/bpftool-gen.rst         |  58 ++++++++-\n include/uapi/linux/bpf.h     |  30 ++++-\n include/uapi/linux/if_link.h |   1 +\n src/gen.c                    | 237 ++++++++++++++++++++++++++++++++++-\n src/kernel/bpf/disasm.c      |   4 +\n 5 files changed, 321 insertions(+), 9 deletions(-)\n\nSigned-off-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\n"
    },
    {
      "commit": "8328f373c0ef27fda14f12e67f1d6ed882dd2e81",
      "tree": "601cff7dad659a9df0ecda743e37fccece416cd8",
      "parents": [
        "579d6b0e7e74109e8f24315f5f750ed098caecb3"
      ],
      "author": {
        "name": "Alexei Starovoitov",
        "email": "ast@kernel.org",
        "time": "Tue Mar 05 19:19:26 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Mar 07 10:12:34 2024 +0000"
      },
      "message": "bpf: Introduce may_goto instruction\n\nIntroduce may_goto instruction that from the verifier pov is similar to\nopen coded iterators bpf_for()/bpf_repeat() and bpf_loop() helper, but it\ndoesn\u0027t iterate any objects.\nIn assembly \u0027may_goto\u0027 is a nop most of the time until bpf runtime has to\nterminate the program for whatever reason. In the current implementation\nmay_goto has a hidden counter, but other mechanisms can be used.\nFor programs written in C the later patch introduces \u0027cond_break\u0027 macro\nthat combines \u0027may_goto\u0027 with \u0027break\u0027 statement and has similar semantics:\ncond_break is a nop until bpf runtime has to break out of this loop.\nIt can be used in any normal \"for\" or \"while\" loop, like\n\n  for (i \u003d zero; i \u003c cnt; cond_break, i++) {\n\nThe verifier recognizes that may_goto is used in the program, reserves\nadditional 8 bytes of stack, initializes them in subprog prologue, and\nreplaces may_goto instruction with:\naux_reg \u003d *(u64 *)(fp - 40)\nif aux_reg \u003d\u003d 0 goto pc+off\naux_reg -\u003d 1\n*(u64 *)(fp - 40) \u003d aux_reg\n\nmay_goto instruction can be used by LLVM to implement __builtin_memcpy,\n__builtin_strcmp.\n\nmay_goto is not a full substitute for bpf_for() macro.\nbpf_for() doesn\u0027t have induction variable that verifiers sees,\nso \u0027i\u0027 in bpf_for(i, 0, 100) is seen as imprecise and bounded.\n\nBut when the code is written as:\nfor (i \u003d 0; i \u003c 100; cond_break, i++)\nthe verifier see \u0027i\u0027 as precise constant zero,\nhence cond_break (aka may_goto) doesn\u0027t help to converge the loop.\nA static or global variable can be used as a workaround:\nstatic int zero \u003d 0;\nfor (i \u003d zero; i \u003c 100; cond_break, i++) // works!\n\nmay_goto works well with arena pointers that don\u0027t need to be bounds\nchecked on access. Load/store from arena returns imprecise unbounded\nscalar and loops with may_goto pass the verifier.\n\nReserve new opcode BPF_JMP | BPF_JCOND for may_goto insn.\nJCOND stands for conditional pseudo jump.\nSince goto_or_nop insn was proposed, it may use the same opcode.\nmay_goto vs goto_or_nop can be distinguished by src_reg:\ncode \u003d BPF_JMP | BPF_JCOND\nsrc_reg \u003d 0 - may_goto\nsrc_reg \u003d 1 - goto_or_nop\n\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nAcked-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nAcked-by: Eduard Zingerman \u003ceddyz87@gmail.com\u003e\nAcked-by: John Fastabend \u003cjohn.fastabend@gmail.com\u003e\nTested-by: John Fastabend \u003cjohn.fastabend@gmail.com\u003e\nLink: https://lore.kernel.org/bpf/20240306031929.42666-2-alexei.starovoitov@gmail.com\n"
    },
    {
      "commit": "579d6b0e7e74109e8f24315f5f750ed098caecb3",
      "tree": "38063ec6f651880aec9e3bf1817e33d47843a3af",
      "parents": [
        "fc0ad76bc3da23063f23c9448600299058c889ec"
      ],
      "author": {
        "name": "Kui-Feng Lee",
        "email": "thinker.li@gmail.com",
        "time": "Wed Feb 28 22:45:22 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Mar 07 10:12:34 2024 +0000"
      },
      "message": "bpftool: Add an example for struct_ops map and shadow type.\n\nThe example in bpftool-gen.8 explains how to use the pointer of the shadow\ntype to change the value of a field of a struct_ops map.\n\nSigned-off-by: Kui-Feng Lee \u003cthinker.li@gmail.com\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nReviewed-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nLink: https://lore.kernel.org/bpf/20240229064523.2091270-5-thinker.li@gmail.com\n"
    },
    {
      "commit": "fc0ad76bc3da23063f23c9448600299058c889ec",
      "tree": "d5582706fc36ad81a33154d975dfec3f35889589",
      "parents": [
        "99a3e056eeb81b5ae9e7867555470f18a2ca9514"
      ],
      "author": {
        "name": "Kui-Feng Lee",
        "email": "thinker.li@gmail.com",
        "time": "Wed Feb 28 22:45:21 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Mar 07 10:12:34 2024 +0000"
      },
      "message": "bpftool: Generated shadow variables for struct_ops maps.\n\nDeclares and defines a pointer of the shadow type for each struct_ops map.\n\nThe code generator will create an anonymous struct type as the shadow type\nfor each struct_ops map. The shadow type is translated from the original\nstruct type of the map. The user of the skeleton use pointers of them to\naccess the values of struct_ops maps.\n\nHowever, shadow types only supports certain types of fields, including\nscalar types and function pointers. Any fields of unsupported types are\ntranslated into an array of characters to occupy the space of the original\nfield. Function pointers are translated into pointers of the struct\nbpf_program. Additionally, padding fields are generated to occupy the space\nbetween two consecutive fields.\n\nThe pointers of shadow types of struct_osp maps are initialized when\n*__open_opts() in skeletons are called. For a map called FOO, the user can\naccess it through the pointer at skel-\u003estruct_ops.FOO.\n\nSigned-off-by: Kui-Feng Lee \u003cthinker.li@gmail.com\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nReviewed-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nLink: https://lore.kernel.org/bpf/20240229064523.2091270-4-thinker.li@gmail.com\n"
    },
    {
      "commit": "99a3e056eeb81b5ae9e7867555470f18a2ca9514",
      "tree": "133dad694225ebc64bbf6b447ce8e5ee471e62c6",
      "parents": [
        "5aee3c01d84082a5edcd6f2ff3318f264fa6669c"
      ],
      "author": {
        "name": "Kees Cook",
        "email": "keescook@chromium.org",
        "time": "Thu Feb 22 07:56:15 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Mar 07 10:12:34 2024 +0000"
      },
      "message": "bpf: Replace bpf_lpm_trie_key 0-length array with flexible array\n\nReplace deprecated 0-length array in struct bpf_lpm_trie_key with\nflexible array. Found with GCC 13:\n\n../kernel/bpf/lpm_trie.c:207:51: warning: array subscript i is outside array bounds of \u0027const __u8[0]\u0027 {aka \u0027const unsigned char[]\u0027} [-Warray-bounds\u003d]\n  207 |                                        *(__be16 *)\u0026key-\u003edata[i]);\n      |                                                   ^~~~~~~~~~~~~\n../include/uapi/linux/swab.h:102:54: note: in definition of macro \u0027__swab16\u0027\n  102 | #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x))\n      |                                                      ^\n../include/linux/byteorder/generic.h:97:21: note: in expansion of macro \u0027__be16_to_cpu\u0027\n   97 | #define be16_to_cpu __be16_to_cpu\n      |                     ^~~~~~~~~~~~~\n../kernel/bpf/lpm_trie.c:206:28: note: in expansion of macro \u0027be16_to_cpu\u0027\n  206 |                 u16 diff \u003d be16_to_cpu(*(__be16 *)\u0026node-\u003edata[i]\n^\n      |                            ^~~~~~~~~~~\nIn file included from ../include/linux/bpf.h:7:\n../include/uapi/linux/bpf.h:82:17: note: while referencing \u0027data\u0027\n   82 |         __u8    data[0];        /* Arbitrary size */\n      |                 ^~~~\n\nAnd found at run-time under CONFIG_FORTIFY_SOURCE:\n\n  UBSAN: array-index-out-of-bounds in kernel/bpf/lpm_trie.c:218:49\n  index 0 is out of range for type \u0027__u8 [*]\u0027\n\nChanging struct bpf_lpm_trie_key is difficult since has been used by\nuserspace. For example, in Cilium:\n\n\tstruct egress_gw_policy_key {\n\t        struct bpf_lpm_trie_key lpm_key;\n\t        __u32 saddr;\n\t        __u32 daddr;\n\t};\n\nWhile direct references to the \"data\" member haven\u0027t been found, there\nare static initializers what include the final member. For example,\nthe \"{}\" here:\n\n        struct egress_gw_policy_key in_key \u003d {\n                .lpm_key \u003d { 32 + 24, {} },\n                .saddr   \u003d CLIENT_IP,\n                .daddr   \u003d EXTERNAL_SVC_IP \u0026 0Xffffff,\n        };\n\nTo avoid the build time and run time warnings seen with a 0-sized\ntrailing array for struct bpf_lpm_trie_key, introduce a new struct\nthat correctly uses a flexible array for the trailing bytes,\nstruct bpf_lpm_trie_key_u8. As part of this, include the \"header\"\nportion (which is just the \"prefixlen\" member), so it can be used\nby anything building a bpf_lpr_trie_key that has trailing members that\naren\u0027t a u8 flexible array (like the self-test[1]), which is named\nstruct bpf_lpm_trie_key_hdr.\n\nUnfortunately, C++ refuses to parse the __struct_group() helper, so\nit is not possible to define struct bpf_lpm_trie_key_hdr directly in\nstruct bpf_lpm_trie_key_u8, so we must open-code the union directly.\n\nAdjust the kernel code to use struct bpf_lpm_trie_key_u8 through-out,\nand for the selftest to use struct bpf_lpm_trie_key_hdr. Add a comment\nto the UAPI header directing folks to the two new options.\n\nReported-by: Mark Rutland \u003cmark.rutland@arm.com\u003e\nSigned-off-by: Kees Cook \u003ckeescook@chromium.org\u003e\nSigned-off-by: Daniel Borkmann \u003cdaniel@iogearbox.net\u003e\nAcked-by: Gustavo A. R. Silva \u003cgustavoars@kernel.org\u003e\nCloses: https://paste.debian.net/hidden/ca500597/\nLink: https://lore.kernel.org/all/202206281009.4332AA33@keescook/ [1]\nLink: https://lore.kernel.org/bpf/20240222155612.it.533-kees@kernel.org\n"
    },
    {
      "commit": "5aee3c01d84082a5edcd6f2ff3318f264fa6669c",
      "tree": "a7970fbfe43cc314119c7d6713205eb4125ad8b6",
      "parents": [
        "16e9ae83d9092931e534722b3ebfd6dd2b5d5a9a"
      ],
      "author": {
        "name": "Martin Kelly",
        "email": "martin.kelly@crowdstrike.com",
        "time": "Wed Feb 21 13:18:38 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Mar 07 10:12:34 2024 +0000"
      },
      "message": "bpf: Clarify batch lookup/lookup_and_delete semantics\n\nThe batch lookup and lookup_and_delete APIs have two parameters,\nin_batch and out_batch, to facilitate iterative\nlookup/lookup_and_deletion operations for supported maps. Except NULL\nfor in_batch at the start of these two batch operations, both parameters\nneed to point to memory equal or larger than the respective map key\nsize, except for various hashmaps (hash, percpu_hash, lru_hash,\nlru_percpu_hash) where the in_batch/out_batch memory size should be\nat least 4 bytes.\n\nDocument these semantics to clarify the API.\n\nSigned-off-by: Martin Kelly \u003cmartin.kelly@crowdstrike.com\u003e\nAcked-by: Yonghong Song \u003cyonghong.song@linux.dev\u003e\nLink: https://lore.kernel.org/r/20240221211838.1241578-1-martin.kelly@crowdstrike.com\nSigned-off-by: Martin KaFai Lau \u003cmartin.lau@kernel.org\u003e\n"
    },
    {
      "commit": "16e9ae83d9092931e534722b3ebfd6dd2b5d5a9a",
      "tree": "c967134d9ae048ed05e39e4d0d11f3c89037c52d",
      "parents": [
        "e93d1173cd7e7930a5175cc57a374192f1b3a77b"
      ],
      "author": {
        "name": "Aahil Awatramani",
        "email": "aahila@google.com",
        "time": "Fri Feb 02 17:58:58 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Mar 07 10:12:34 2024 +0000"
      },
      "message": "bonding: Add independent control state machine\n\nAdd support for the independent control state machine per IEEE\n802.1AX-2008 5.4.15 in addition to the existing implementation of the\ncoupled control state machine.\n\nIntroduces two new states, AD_MUX_COLLECTING and AD_MUX_DISTRIBUTING in\nthe LACP MUX state machine for separated handling of an initial\nCollecting state before the Collecting and Distributing state. This\nenables a port to be in a state where it can receive incoming packets\nwhile not still distributing. This is useful for reducing packet loss when\na port begins distributing before its partner is able to collect.\n\nAdded new functions such as bond_set_slave_tx_disabled_flags and\nbond_set_slave_rx_enabled_flags to precisely manage the port\u0027s collecting\nand distributing states. Previously, there was no dedicated method to\ndisable TX while keeping RX enabled, which this patch addresses.\n\nNote that the regular flow process in the kernel\u0027s bonding driver remains\nunaffected by this patch. The extension requires explicit opt-in by the\nuser (in order to ensure no disruptions for existing setups) via netlink\nsupport using the new bonding parameter coupled_control. The default value\nfor coupled_control is set to 1 so as to preserve existing behaviour.\n\nSigned-off-by: Aahil Awatramani \u003caahila@google.com\u003e\nReviewed-by: Hangbin Liu \u003cliuhangbin@gmail.com\u003e\nLink: https://lore.kernel.org/r/20240202175858.1573852-1-aahila@google.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "e93d1173cd7e7930a5175cc57a374192f1b3a77b",
      "tree": "c28a39a6bd0b2bc971e0f5074148486c40988155",
      "parents": [
        "22621e39da611c292b7c13d89af7bdccc7b905fb"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Mar 07 09:51:38 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Mar 07 10:12:34 2024 +0000"
      },
      "message": "sync: Update libbpf submodule\n\nPull latest libbpf from mirror.\nLibbpf version: 1.4.0\nLibbpf commit:  2778cbce609aa1e2747a69349f7f46a2f94f0522\n\nSigned-off-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\n"
    },
    {
      "commit": "22621e39da611c292b7c13d89af7bdccc7b905fb",
      "tree": "b74429d3c6325691173699225bf1e03666083074",
      "parents": [
        "6e0d7d06d060937657d40a7d29f5ae6865d0954c"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Feb 06 15:04:45 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Feb 06 15:10:15 2024 +0000"
      },
      "message": "sync: Pull latest bpftool changes from kernel\n\nSyncing latest bpftool commits from kernel repository.\nBaseline bpf-next commit:   c8632acf193beac64bbdaebef013368c480bf74f\nCheckpoint bpf-next commit: 943b043aeecce9accb6d367af47791c633e95e4d\nBaseline bpf commit:        0a5bd0ffe790511d802e7f40898429a89e2487df\nCheckpoint bpf commit:      577e4432f3ac810049cb7e6b71f4d96ec7c6e894\n\nArnaldo Carvalho de Melo (1):\n  bpftool: Be more portable by using POSIX\u0027s basename()\n\nKan Liang (1):\n  tools headers UAPI: Sync include/uapi/linux/perf_event.h header with\n    the kernel\n\n include/uapi/linux/perf_event.h | 13 +++++++++++++\n src/gen.c                       |  9 ++++++---\n 2 files changed, 19 insertions(+), 3 deletions(-)\n\nSigned-off-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\n"
    },
    {
      "commit": "6e0d7d06d060937657d40a7d29f5ae6865d0954c",
      "tree": "3c8cdeb24061383facc4970316726677a579b325",
      "parents": [
        "43cbd7a01964d8c39ddf9d1d430dd16222921532"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@kernel.org",
        "time": "Mon Jan 29 11:33:26 2024 -0300"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Feb 06 15:10:15 2024 +0000"
      },
      "message": "bpftool: Be more portable by using POSIX\u0027s basename()\n\nmusl libc had the basename() prototype in string.h, but this is a\nglibc-ism, now they removed the _GNU_SOURCE bits in their devel distro,\nAlpine Linux edge:\n\n  https://git.musl-libc.org/cgit/musl/commit/?id\u003d725e17ed6dff4d0cd22487bb64470881e86a92e7\n\nSo lets use the POSIX version, the whole rationale is spelled out at:\n\n  https://gitlab.alpinelinux.org/alpine/aports/-/issues/15643\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nSigned-off-by: Daniel Borkmann \u003cdaniel@iogearbox.net\u003e\nAcked-by: Jiri Olsa \u003colsajiri@gmail.com\u003e\nAcked-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nLink: https://lore.kernel.org/lkml/ZZhsPs00TI75RdAr@kernel.org\nLink: https://lore.kernel.org/bpf/Zbe3NuOgaupvUcpF@kernel.org\n"
    },
    {
      "commit": "43cbd7a01964d8c39ddf9d1d430dd16222921532",
      "tree": "e8fe8ecd3d16b41aad63487b0eec9355d290370c",
      "parents": [
        "1c79dbdf6edc114e6e291b5ce78619f249b3201f"
      ],
      "author": {
        "name": "Kan Liang",
        "email": "kan.liang@linux.intel.com",
        "time": "Wed Oct 25 13:16:24 2023 -0700"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Feb 06 15:10:15 2024 +0000"
      },
      "message": "tools headers UAPI: Sync include/uapi/linux/perf_event.h header with the kernel\n\nSync the new sample type for the branch counters feature.\n\nSigned-off-by: Kan Liang \u003ckan.liang@linux.intel.com\u003e\nCc: Adrian Hunter \u003cadrian.hunter@intel.com\u003e\nCc: Alexander Shishkin \u003calexander.shishkin@linux.intel.com\u003e\nCc: Alexey Bayduraev \u003calexey.v.bayduraev@linux.intel.com\u003e\nCc: Andi Kleen \u003cak@linux.intel.com\u003e\nCc: Ian Rogers \u003cirogers@google.com\u003e\nCc: Ingo Molnar \u003cmingo@redhat.com\u003e\nCc: Jiri Olsa \u003cjolsa@kernel.org\u003e\nCc: Mark Rutland \u003cmark.rutland@arm.com\u003e\nCc: Namhyung Kim \u003cnamhyung@kernel.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Stephane Eranian \u003ceranian@google.com\u003e\nCc: Tinghao Zhang \u003ctinghao.zhang@intel.com\u003e\nLink: https://lore.kernel.org/r/20231025201626.3000228-6-kan.liang@linux.intel.com\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "1c79dbdf6edc114e6e291b5ce78619f249b3201f",
      "tree": "588fb74e15c3fc3dc308855163f1f907ae5df190",
      "parents": [
        "a04db04c6a25b3b1fc7909066f2970e68e2579d5"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Feb 06 15:04:22 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Feb 06 15:10:15 2024 +0000"
      },
      "message": "sync: Update libbpf submodule\n\nPull latest libbpf from mirror.\nLibbpf version: 1.4.0\nLibbpf commit:  f11758a7807893330cc87481a7a16cf956326ab3\n\nSigned-off-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\n"
    },
    {
      "commit": "a04db04c6a25b3b1fc7909066f2970e68e2579d5",
      "tree": "b966229c98d56775491b75c375cfd397ee69c7b1",
      "parents": [
        "1554ad521c16a9f22f5138c06112a746449319a5"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 09:52:51 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "sync: Pull latest bpftool changes from kernel\n\nSyncing latest bpftool commits from kernel repository.\nBaseline bpf-next commit:   98e20e5e13d2811898921f999288be7151a11954\nCheckpoint bpf-next commit: c8632acf193beac64bbdaebef013368c480bf74f\nBaseline bpf commit:        7c5e046bdcb2513f9decb3765d8bf92d604279cf\nCheckpoint bpf commit:      0a5bd0ffe790511d802e7f40898429a89e2487df\n\nAndrii Nakryiko (4):\n  bpf: Introduce BPF token object\n  bpf: Add BPF token support to BPF_MAP_CREATE command\n  bpf: Add BPF token support to BPF_BTF_LOAD command\n  bpf: Add BPF token support to BPF_PROG_LOAD command\n\nDaniel Borkmann (1):\n  bpf: Sync uapi bpf.h header for the tooling infra\n\nJiri Olsa (5):\n  bpf: Add cookie to perf_event bpf_link_info records\n  bpf: Store cookies in kprobe_multi bpf_link_info data\n  bpftool: Fix wrong free call in do_show_link\n  bpftool: Display cookie for perf event link probes\n  bpftool: Display cookie for kprobe multi link\n\nKui-Feng Lee (2):\n  bpf: pass btf object id in bpf_map_info.\n  bpf: pass attached BTF to the bpf_struct_ops subsystem\n\nTiezhu Yang (1):\n  bpftool: Silence build warning about calloc()\n\n include/uapi/linux/bpf.h | 79 +++++++++++++++++++++++++++++++--\n src/link.c               | 94 +++++++++++++++++++++++++++++++++-------\n src/prog.c               |  2 +-\n 3 files changed, 154 insertions(+), 21 deletions(-)\n\nSigned-off-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\n"
    },
    {
      "commit": "1554ad521c16a9f22f5138c06112a746449319a5",
      "tree": "49005f28879d0e99f358f1da56e46302cb5acf14",
      "parents": [
        "f29d89d746bf1e90b02673b9264cf7ec641dd7e0"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Tue Jan 23 18:21:03 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "bpf: Add BPF token support to BPF_PROG_LOAD command\n\nAdd basic support of BPF token to BPF_PROG_LOAD. BPF_F_TOKEN_FD flag\nshould be set in prog_flags field when providing prog_token_fd.\n\nWire through a set of allowed BPF program types and attach types,\nderived from BPF FS at BPF token creation time. Then make sure we\nperform bpf_token_capable() checks everywhere where it\u0027s relevant.\n\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\nLink: https://lore.kernel.org/bpf/20240124022127.2379740-7-andrii@kernel.org\n"
    },
    {
      "commit": "f29d89d746bf1e90b02673b9264cf7ec641dd7e0",
      "tree": "e86afce0eac0ac9c8ae50c0ece4009edf00b6b9b",
      "parents": [
        "7892e21c3dad717a23f89573a58595272b8b4ddf"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Tue Jan 23 18:21:02 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "bpf: Add BPF token support to BPF_BTF_LOAD command\n\nAccept BPF token FD in BPF_BTF_LOAD command to allow BTF data loading\nthrough delegated BPF token. BPF_F_TOKEN_FD flag has to be specified\nwhen passing BPF token FD. Given BPF_BTF_LOAD command didn\u0027t have flags\nfield before, we also add btf_flags field.\n\nBTF loading is a pretty straightforward operation, so as long as BPF\ntoken is created with allow_cmds granting BPF_BTF_LOAD command, kernel\nproceeds to parsing BTF data and creating BTF object.\n\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\nLink: https://lore.kernel.org/bpf/20240124022127.2379740-6-andrii@kernel.org\n"
    },
    {
      "commit": "7892e21c3dad717a23f89573a58595272b8b4ddf",
      "tree": "934bf8f159ca13f76d74a536416e3872079d0e15",
      "parents": [
        "1ca16b5e0e5a670a4872059995386fdf31959ef5"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Tue Jan 23 18:21:01 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "bpf: Add BPF token support to BPF_MAP_CREATE command\n\nAllow providing token_fd for BPF_MAP_CREATE command to allow controlled\nBPF map creation from unprivileged process through delegated BPF token.\nNew BPF_F_TOKEN_FD flag is added to specify together with BPF token FD\nfor BPF_MAP_CREATE command.\n\nWire through a set of allowed BPF map types to BPF token, derived from\nBPF FS at BPF token creation time. This, in combination with allowed_cmds\nallows to create a narrowly-focused BPF token (controlled by privileged\nagent) with a restrictive set of BPF maps that application can attempt\nto create.\n\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\nLink: https://lore.kernel.org/bpf/20240124022127.2379740-5-andrii@kernel.org\n"
    },
    {
      "commit": "1ca16b5e0e5a670a4872059995386fdf31959ef5",
      "tree": "40985323d75ab09e7196209ad3c8c8834a1398f8",
      "parents": [
        "23baad88b5d1bfa768835d83bae3a3e3d793171f"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Tue Jan 23 18:21:00 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "bpf: Introduce BPF token object\n\nAdd new kind of BPF kernel object, BPF token. BPF token is meant to\nallow delegating privileged BPF functionality, like loading a BPF\nprogram or creating a BPF map, from privileged process to a *trusted*\nunprivileged process, all while having a good amount of control over which\nprivileged operations could be performed using provided BPF token.\n\nThis is achieved through mounting BPF FS instance with extra delegation\nmount options, which determine what operations are delegatable, and also\nconstraining it to the owning user namespace (as mentioned in the\nprevious patch).\n\nBPF token itself is just a derivative from BPF FS and can be created\nthrough a new bpf() syscall command, BPF_TOKEN_CREATE, which accepts BPF\nFS FD, which can be attained through open() API by opening BPF FS mount\npoint. Currently, BPF token \"inherits\" delegated command, map types,\nprog type, and attach type bit sets from BPF FS as is. In the future,\nhaving an BPF token as a separate object with its own FD, we can allow\nto further restrict BPF token\u0027s allowable set of things either at the\ncreation time or after the fact, allowing the process to guard itself\nfurther from unintentionally trying to load undesired kind of BPF\nprograms. But for now we keep things simple and just copy bit sets as is.\n\nWhen BPF token is created from BPF FS mount, we take reference to the\nBPF super block\u0027s owning user namespace, and then use that namespace for\nchecking all the {CAP_BPF, CAP_PERFMON, CAP_NET_ADMIN, CAP_SYS_ADMIN}\ncapabilities that are normally only checked against init userns (using\ncapable()), but now we check them using ns_capable() instead (if BPF\ntoken is provided). See bpf_token_capable() for details.\n\nSuch setup means that BPF token in itself is not sufficient to grant BPF\nfunctionality. User namespaced process has to *also* have necessary\ncombination of capabilities inside that user namespace. So while\npreviously CAP_BPF was useless when granted within user namespace, now\nit gains a meaning and allows container managers and sys admins to have\na flexible control over which processes can and need to use BPF\nfunctionality within the user namespace (i.e., container in practice).\nAnd BPF FS delegation mount options and derived BPF tokens serve as\na per-container \"flag\" to grant overall ability to use bpf() (plus further\nrestrict on which parts of bpf() syscalls are treated as namespaced).\n\nNote also, BPF_TOKEN_CREATE command itself requires ns_capable(CAP_BPF)\nwithin the BPF FS owning user namespace, rounding up the ns_capable()\nstory of BPF token. Also creating BPF token in init user namespace is\ncurrently not supported, given BPF token doesn\u0027t have any effect in init\nuser namespace anyways.\n\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\nAcked-by: Christian Brauner \u003cbrauner@kernel.org\u003e\nLink: https://lore.kernel.org/bpf/20240124022127.2379740-4-andrii@kernel.org\n"
    },
    {
      "commit": "23baad88b5d1bfa768835d83bae3a3e3d793171f",
      "tree": "38394e16caf2c45317757ede81fbdba102f6c82b",
      "parents": [
        "c2a7c945ab71cbfbafc5cab9389948f7a3046b1b"
      ],
      "author": {
        "name": "Kui-Feng Lee",
        "email": "thinker.li@gmail.com",
        "time": "Fri Jan 19 14:49:59 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "bpf: pass attached BTF to the bpf_struct_ops subsystem\n\nPass the fd of a btf from the userspace to the bpf() syscall, and then\nconvert the fd into a btf. The btf is generated from the module that\ndefines the target BPF struct_ops type.\n\nIn order to inform the kernel about the module that defines the target\nstruct_ops type, the userspace program needs to provide a btf fd for the\nrespective module\u0027s btf. This btf contains essential information on the\ntypes defined within the module, including the target struct_ops type.\n\nA btf fd must be provided to the kernel for struct_ops maps and for the bpf\nprograms attached to those maps.\n\nIn the case of the bpf programs, the attach_btf_obj_fd parameter is passed\nas part of the bpf_attr and is converted into a btf. This btf is then\nstored in the prog-\u003eaux-\u003eattach_btf field. Here, it just let the verifier\naccess attach_btf directly.\n\nIn the case of struct_ops maps, a btf fd is passed as value_type_btf_obj_fd\nof bpf_attr. The bpf_struct_ops_map_alloc() function converts the fd to a\nbtf and stores it as st_map-\u003ebtf. A flag BPF_F_VTYPE_BTF_OBJ_FD is added\nfor map_flags to indicate that the value of value_type_btf_obj_fd is set.\n\nSigned-off-by: Kui-Feng Lee \u003cthinker.li@gmail.com\u003e\nLink: https://lore.kernel.org/r/20240119225005.668602-9-thinker.li@gmail.com\nSigned-off-by: Martin KaFai Lau \u003cmartin.lau@kernel.org\u003e\n"
    },
    {
      "commit": "c2a7c945ab71cbfbafc5cab9389948f7a3046b1b",
      "tree": "f5c8b242b68c0e1c27e18ffc59de1b2b9482f950",
      "parents": [
        "4263cc05cc049d38f6e1329d2edb74431c10a5b9"
      ],
      "author": {
        "name": "Kui-Feng Lee",
        "email": "thinker.li@gmail.com",
        "time": "Fri Jan 19 14:49:57 2024 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "bpf: pass btf object id in bpf_map_info.\n\nInclude btf object id (btf_obj_id) in bpf_map_info so that tools (ex:\nbpftools struct_ops dump) know the correct btf from the kernel to look up\ntype information of struct_ops types.\n\nSince struct_ops types can be defined and registered in a module. The\ntype information of a struct_ops type are defined in the btf of the\nmodule defining it.  The userspace tools need to know which btf is for\nthe module defining a struct_ops type.\n\nSigned-off-by: Kui-Feng Lee \u003cthinker.li@gmail.com\u003e\nLink: https://lore.kernel.org/r/20240119225005.668602-7-thinker.li@gmail.com\nSigned-off-by: Martin KaFai Lau \u003cmartin.lau@kernel.org\u003e\n"
    },
    {
      "commit": "4263cc05cc049d38f6e1329d2edb74431c10a5b9",
      "tree": "c4efbd4790614348a2518bc509cb989a767f5bbd",
      "parents": [
        "25df69b0628fca7766cc4cd98778288bad780d9b"
      ],
      "author": {
        "name": "Jiri Olsa",
        "email": "jolsa@kernel.org",
        "time": "Fri Jan 19 12:05:05 2024 +0100"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "bpftool: Display cookie for kprobe multi link\n\nDisplaying cookies for kprobe multi link, in plain mode:\n\n  # bpftool link\n  ...\n  1397: kprobe_multi  prog 47532\n          kretprobe.multi  func_cnt 3\n          addr             cookie           func [module]\n          ffffffff82b370c0 3                bpf_fentry_test1\n          ffffffff82b39780 1                bpf_fentry_test2\n          ffffffff82b397a0 2                bpf_fentry_test3\n\nAnd in json mode:\n\n  # bpftool link -j | jq\n  ...\n    {\n      \"id\": 1397,\n      \"type\": \"kprobe_multi\",\n      \"prog_id\": 47532,\n      \"retprobe\": true,\n      \"func_cnt\": 3,\n      \"missed\": 0,\n      \"funcs\": [\n        {\n          \"addr\": 18446744071607382208,\n          \"func\": \"bpf_fentry_test1\",\n          \"module\": null,\n          \"cookie\": 3\n        },\n        {\n          \"addr\": 18446744071607392128,\n          \"func\": \"bpf_fentry_test2\",\n          \"module\": null,\n          \"cookie\": 1\n        },\n        {\n          \"addr\": 18446744071607392160,\n          \"func\": \"bpf_fentry_test3\",\n          \"module\": null,\n          \"cookie\": 2\n        }\n      ]\n    }\n\nCookie is attached to specific address, and because we sort addresses\nbefore printing, we need to sort cookies the same way, hence adding\nthe struct addr_cookie to keep and sort them together.\n\nAlso adding missing dd.sym_count check to show_kprobe_multi_json.\n\nSigned-off-by: Jiri Olsa \u003cjolsa@kernel.org\u003e\nAcked-by: Song Liu \u003csong@kernel.org\u003e\nLink: https://lore.kernel.org/r/20240119110505.400573-9-jolsa@kernel.org\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "25df69b0628fca7766cc4cd98778288bad780d9b",
      "tree": "19a458c152a8cf15caeb4230fce82183b80c6229",
      "parents": [
        "fb85c68d55271c3c7ddd1485708a3fbcd789c4f4"
      ],
      "author": {
        "name": "Jiri Olsa",
        "email": "jolsa@kernel.org",
        "time": "Fri Jan 19 12:05:04 2024 +0100"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "bpftool: Display cookie for perf event link probes\n\nDisplaying cookie for perf event link probes, in plain mode:\n\n  # bpftool link\n  17: perf_event  prog 90\n          kprobe ffffffff82b1c2b0 bpf_fentry_test1  cookie 3735928559\n  18: perf_event  prog 90\n          kretprobe ffffffff82b1c2b0 bpf_fentry_test1  cookie 3735928559\n  20: perf_event  prog 92\n          tracepoint sched_switch  cookie 3735928559\n  21: perf_event  prog 93\n          event software:page-faults  cookie 3735928559\n  22: perf_event  prog 91\n          uprobe /proc/self/exe+0xd703c  cookie 3735928559\n\nAnd in json mode:\n\n  # bpftool link -j | jq\n\n  {\n    \"id\": 30,\n    \"type\": \"perf_event\",\n    \"prog_id\": 160,\n    \"retprobe\": false,\n    \"addr\": 18446744071607272112,\n    \"func\": \"bpf_fentry_test1\",\n    \"offset\": 0,\n    \"missed\": 0,\n    \"cookie\": 3735928559\n  }\n\n  {\n    \"id\": 33,\n    \"type\": \"perf_event\",\n    \"prog_id\": 162,\n    \"tracepoint\": \"sched_switch\",\n    \"cookie\": 3735928559\n  }\n\n  {\n    \"id\": 34,\n    \"type\": \"perf_event\",\n    \"prog_id\": 163,\n    \"event_type\": \"software\",\n    \"event_config\": \"page-faults\",\n    \"cookie\": 3735928559\n  }\n\n  {\n    \"id\": 35,\n    \"type\": \"perf_event\",\n    \"prog_id\": 161,\n    \"retprobe\": false,\n    \"file\": \"/proc/self/exe\",\n    \"offset\": 880700,\n    \"cookie\": 3735928559\n  }\n\nReviewed-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nSigned-off-by: Jiri Olsa \u003cjolsa@kernel.org\u003e\nAcked-by: Song Liu \u003csong@kernel.org\u003e\nLink: https://lore.kernel.org/r/20240119110505.400573-8-jolsa@kernel.org\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "fb85c68d55271c3c7ddd1485708a3fbcd789c4f4",
      "tree": "834b1ebeeb6a32ebc91da6773456f959ffa23ade",
      "parents": [
        "39b14f36e00ff1783cae49251ba5c7af941b81fb"
      ],
      "author": {
        "name": "Jiri Olsa",
        "email": "jolsa@kernel.org",
        "time": "Fri Jan 19 12:05:00 2024 +0100"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "bpftool: Fix wrong free call in do_show_link\n\nThe error path frees wrong array, it should be ref_ctr_offsets.\n\nAcked-by: Yafang Shao \u003claoar.shao@gmail.com\u003e\nReviewed-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nFixes: a7795698f8b6 (\"bpftool: Add support to display uprobe_multi links\")\nSigned-off-by: Jiri Olsa \u003cjolsa@kernel.org\u003e\nAcked-by: Song Liu \u003csong@kernel.org\u003e\nLink: https://lore.kernel.org/r/20240119110505.400573-4-jolsa@kernel.org\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "39b14f36e00ff1783cae49251ba5c7af941b81fb",
      "tree": "e146bcd8c3dfb2ea46e7ee7f84c0ec46e02d8a31",
      "parents": [
        "bb4dd70223b7b4dfec524c39afe2f5a03a394849"
      ],
      "author": {
        "name": "Jiri Olsa",
        "email": "jolsa@kernel.org",
        "time": "Fri Jan 19 12:04:59 2024 +0100"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "bpf: Store cookies in kprobe_multi bpf_link_info data\n\nStoring cookies in kprobe_multi bpf_link_info data. The cookies\nfield is optional and if provided it needs to be an array of\n__u64 with kprobe_multi.count length.\n\nAcked-by: Yafang Shao \u003claoar.shao@gmail.com\u003e\nSigned-off-by: Jiri Olsa \u003cjolsa@kernel.org\u003e\nAcked-by: Song Liu \u003csong@kernel.org\u003e\nLink: https://lore.kernel.org/r/20240119110505.400573-3-jolsa@kernel.org\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "bb4dd70223b7b4dfec524c39afe2f5a03a394849",
      "tree": "5f3697ed7409c4b18691cef4fe5decf3fb03846c",
      "parents": [
        "1e8271892e2ade1040e6f3ac7b5c39c8160f36c8"
      ],
      "author": {
        "name": "Jiri Olsa",
        "email": "jolsa@kernel.org",
        "time": "Fri Jan 19 12:04:58 2024 +0100"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "bpf: Add cookie to perf_event bpf_link_info records\n\nAt the moment we don\u0027t store cookie for perf_event probes,\nwhile we do that for the rest of the probes.\n\nAdding cookie fields to struct bpf_link_info perf event\nprobe records:\n\n  perf_event.uprobe\n  perf_event.kprobe\n  perf_event.tracepoint\n  perf_event.perf_event\n\nAnd the code to store that in bpf_link_info struct.\n\nSigned-off-by: Jiri Olsa \u003cjolsa@kernel.org\u003e\nAcked-by: Song Liu \u003csong@kernel.org\u003e\nAcked-by: Yafang Shao \u003claoar.shao@gmail.com\u003e\nLink: https://lore.kernel.org/r/20240119110505.400573-2-jolsa@kernel.org\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "1e8271892e2ade1040e6f3ac7b5c39c8160f36c8",
      "tree": "7d5545e3ee0492258c2767d1b3e34cc04da96855",
      "parents": [
        "c4cc180e6c94ea6c7d886b1ba747f0450f956782"
      ],
      "author": {
        "name": "Daniel Borkmann",
        "email": "daniel@iogearbox.net",
        "time": "Wed Jan 17 10:16:11 2024 +0100"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "bpf: Sync uapi bpf.h header for the tooling infra\n\nBoth commit 91051f003948 (\"tcp: Dump bound-only sockets in inet_diag.\")\nand commit 985b8ea9ec7e (\"bpf, docs: Fix bpf_redirect_peer header doc\")\nmissed the tooling header sync. Fix it.\n\nSigned-off-by: Daniel Borkmann \u003cdaniel@iogearbox.net\u003e\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "c4cc180e6c94ea6c7d886b1ba747f0450f956782",
      "tree": "f0953c7b2e98ab60b9950ea3a96f0b6bfa703399",
      "parents": [
        "184ca6dc0ec5651b1d66b30b088a7af437260340"
      ],
      "author": {
        "name": "Tiezhu Yang",
        "email": "yangtiezhu@loongson.cn",
        "time": "Tue Jan 16 14:19:20 2024 +0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "bpftool: Silence build warning about calloc()\n\nThere exists the following warning when building bpftool:\n\n  CC      prog.o\nprog.c: In function ‘profile_open_perf_events’:\nprog.c:2301:24: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args]\n 2301 |                 sizeof(int), obj-\u003erodata-\u003enum_cpu * obj-\u003erodata-\u003enum_metric);\n      |                        ^~~\nprog.c:2301:24: note: earlier argument should specify number of elements, later size of each element\n\nTested with the latest upstream GCC which contains a new warning option\n-Wcalloc-transposed-args. The first argument to calloc is documented to\nbe number of elements in array, while the second argument is size of each\nelement, just switch the first and second arguments of calloc() to silence\nthe build warning, compile tested only.\n\nFixes: 47c09d6a9f67 (\"bpftool: Introduce \"prog profile\" command\")\nSigned-off-by: Tiezhu Yang \u003cyangtiezhu@loongson.cn\u003e\nSigned-off-by: Daniel Borkmann \u003cdaniel@iogearbox.net\u003e\nReviewed-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nLink: https://lore.kernel.org/bpf/20240116061920.31172-1-yangtiezhu@loongson.cn\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "184ca6dc0ec5651b1d66b30b088a7af437260340",
      "tree": "ade55b7b2454f5cc9d9841ddd01ff20ac1a36164",
      "parents": [
        "b0e69ac05b5aee0060b96a804b3d5c0415ff12fd"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 09:51:54 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Mon Jan 29 10:16:29 2024 +0000"
      },
      "message": "sync: Update libbpf submodule\n\nPull latest libbpf from mirror.\nLibbpf version: 1.4.0\nLibbpf commit:  fad5d9138196413cc485dd713f33ea5888d98ad8\n\nSigned-off-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\n"
    },
    {
      "commit": "b0e69ac05b5aee0060b96a804b3d5c0415ff12fd",
      "tree": "576fe2c5d4f61de5f7ffb8605530aaf9e1d24eec",
      "parents": [
        "e725e62fd965b0a68a2edfb8d8d59ef1229d5d70"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:14:19 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "sync: Pull latest bpftool changes from kernel\n\nSyncing latest bpftool commits from kernel repository.\nBaseline bpf-next commit:   750011e239a50873251c16207b0fe78eabf8577e\nCheckpoint bpf-next commit: 98e20e5e13d2811898921f999288be7151a11954\nBaseline bpf commit:        bc4fbf022c68967cb49b2b820b465cf90de974b8\nCheckpoint bpf commit:      7c5e046bdcb2513f9decb3765d8bf92d604279cf\n\nAndrii Nakryiko (6):\n  bpf: introduce BPF token object\n  bpf: add BPF token support to BPF_MAP_CREATE command\n  bpf: add BPF token support to BPF_BTF_LOAD command\n  bpf: add BPF token support to BPF_PROG_LOAD command\n  bpf: rename MAX_BPF_LINK_TYPE into __MAX_BPF_LINK_TYPE for consistency\n  Revert BPF token-related functionality\n\nJamal Hadi Salim (5):\n  net/sched: Remove uapi support for rsvp classifier\n  net/sched: Remove uapi support for tcindex classifier\n  net/sched: Remove uapi support for dsmark qdisc\n  net/sched: Remove uapi support for ATM qdisc\n  net/sched: Remove uapi support for CBQ qdisc\n\nJiri Olsa (2):\n  bpf: Add link_info support for uprobe multi link\n  bpftool: Add support to display uprobe_multi links\n\nQuentin Deslandes (1):\n  bpfilter: remove bpfilter\n\nStanislav Fomichev (1):\n  bpftool: mark orphaned programs during prog show\n\n include/uapi/linux/bpf.h       |  14 ++++-\n include/uapi/linux/pkt_cls.h   |  47 --------------\n include/uapi/linux/pkt_sched.h | 109 ---------------------------------\n src/feature.c                  |   4 --\n src/link.c                     | 105 ++++++++++++++++++++++++++++++-\n src/prog.c                     |  14 +++--\n 6 files changed, 125 insertions(+), 168 deletions(-)\n\nSigned-off-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\n"
    },
    {
      "commit": "e725e62fd965b0a68a2edfb8d8d59ef1229d5d70",
      "tree": "01415659af911de27055c77a310f2262b078155a",
      "parents": [
        "5ba3bba728d5ae7c300fcaadc7056f24449f098c"
      ],
      "author": {
        "name": "Quentin Deslandes",
        "email": "qde@naccy.de",
        "time": "Tue Dec 26 14:07:42 2023 +0100"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "bpfilter: remove bpfilter\n\nbpfilter was supposed to convert iptables filtering rules into\nBPF programs on the fly, from the kernel, through a usermode\nhelper. The base code for the UMH was introduced in 2018, and\ncouple of attempts (2, 3) tried to introduce the BPF program\ngenerate features but were abandoned.\n\nbpfilter now sits in a kernel tree unused and unusable, occasionally\ncausing confusion amongst Linux users (4, 5).\n\nAs bpfilter is now developed in a dedicated repository on GitHub (6),\nit was suggested a couple of times this year (LSFMM/BPF 2023,\nLPC 2023) to remove the deprecated kernel part of the project. This\nis the purpose of this patch.\n\n[1]: https://lore.kernel.org/lkml/20180522022230.2492505-1-ast@kernel.org/\n[2]: https://lore.kernel.org/bpf/20210829183608.2297877-1-me@ubique.spb.ru/#t\n[3]: https://lore.kernel.org/lkml/20221224000402.476079-1-qde@naccy.de/\n[4]: https://dxuuu.xyz/bpfilter.html\n[5]: https://github.com/linuxkit/linuxkit/pull/3904\n[6]: https://github.com/facebook/bpfilter\n\nSigned-off-by: Quentin Deslandes \u003cqde@naccy.de\u003e\nLink: https://lore.kernel.org/r/20231226130745.465988-1-qde@naccy.de\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "5ba3bba728d5ae7c300fcaadc7056f24449f098c",
      "tree": "037ee9eb4f09d0b3456467de29ba12793de0edb6",
      "parents": [
        "98c8c08eccf8f4c265bb975a7cad28aa8bef7d7e"
      ],
      "author": {
        "name": "Jamal Hadi Salim",
        "email": "jhs@mojatatu.com",
        "time": "Sat Dec 23 09:01:54 2023 -0500"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "net/sched: Remove uapi support for CBQ qdisc\n\nCommit 051d44209842 (\"net/sched: Retire CBQ qdisc\") retired the CBQ qdisc.\nRemove UAPI for it. Iproute2 will sync by equally removing it from user space.\n\nReviewed-by: Victor Nogueira \u003cvictor@mojatatu.com\u003e\nReviewed-by: Pedro Tammela \u003cpctammela@mojatatu.com\u003e\nSigned-off-by: Jamal Hadi Salim \u003cjhs@mojatatu.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n"
    },
    {
      "commit": "98c8c08eccf8f4c265bb975a7cad28aa8bef7d7e",
      "tree": "34185aba99dc3df1449343d3f38742465db65223",
      "parents": [
        "67a1ca1cfa3a395376c62346b785310eda29deea"
      ],
      "author": {
        "name": "Jamal Hadi Salim",
        "email": "jhs@mojatatu.com",
        "time": "Sat Dec 23 09:01:53 2023 -0500"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "net/sched: Remove uapi support for ATM qdisc\n\nCommit fb38306ceb9e (\"net/sched: Retire ATM qdisc\") retired the ATM qdisc.\nRemove UAPI for it. Iproute2 will sync by equally removing it from user space.\n\nReviewed-by: Victor Nogueira \u003cvictor@mojatatu.com\u003e\nReviewed-by: Pedro Tammela \u003cpctammela@mojatatu.com\u003e\nSigned-off-by: Jamal Hadi Salim \u003cjhs@mojatatu.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n"
    },
    {
      "commit": "67a1ca1cfa3a395376c62346b785310eda29deea",
      "tree": "5840c18a448d3f338dc11b9f7abc3147c2d1ec09",
      "parents": [
        "1b6407c93077690273ac2d8d2a678178ad5d40ec"
      ],
      "author": {
        "name": "Jamal Hadi Salim",
        "email": "jhs@mojatatu.com",
        "time": "Sat Dec 23 09:01:52 2023 -0500"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "net/sched: Remove uapi support for dsmark qdisc\n\nCommit bbe77c14ee61 (\"net/sched: Retire dsmark qdisc\") retired the dsmark\nclassifier. Remove UAPI support for it.\nIproute2 will sync by equally removing it from user space.\n\nReviewed-by: Victor Nogueira \u003cvictor@mojatatu.com\u003e\nReviewed-by: Pedro Tammela \u003cpctammela@mojatatu.com\u003e\nSigned-off-by: Jamal Hadi Salim \u003cjhs@mojatatu.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n"
    },
    {
      "commit": "1b6407c93077690273ac2d8d2a678178ad5d40ec",
      "tree": "22ec291e434c6bbd9c92f37ae627d3d7d6de8f96",
      "parents": [
        "570698fd5e61da5febb5ce2c2a05ac39e513a849"
      ],
      "author": {
        "name": "Jamal Hadi Salim",
        "email": "jhs@mojatatu.com",
        "time": "Sat Dec 23 09:01:51 2023 -0500"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "net/sched: Remove uapi support for tcindex classifier\n\ncommit 8c710f75256b (\"net/sched: Retire tcindex classifier\") retired the TC\ntcindex classifier.\nRemove UAPI for it.  Iproute2 will sync by equally removing it from user space.\n\nReviewed-by: Victor Nogueira \u003cvictor@mojatatu.com\u003e\nReviewed-by: Pedro Tammela \u003cpctammela@mojatatu.com\u003e\nSigned-off-by: Jamal Hadi Salim \u003cjhs@mojatatu.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n"
    },
    {
      "commit": "570698fd5e61da5febb5ce2c2a05ac39e513a849",
      "tree": "2d6ec96e76941477ed1eb46a7461f50e6ed784f5",
      "parents": [
        "da013dcb1720c7dc78a8fe879c73a928cf7de12b"
      ],
      "author": {
        "name": "Jamal Hadi Salim",
        "email": "jhs@mojatatu.com",
        "time": "Sat Dec 23 09:01:50 2023 -0500"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "net/sched: Remove uapi support for rsvp classifier\n\ncommit 265b4da82dbf (\"net/sched: Retire rsvp classifier\") retired the TC RSVP\nclassifier.\nRemove UAPI for it. Iproute2 will sync by equally removing it from user space.\n\nReviewed-by: Victor Nogueira \u003cvictor@mojatatu.com\u003e\nReviewed-by: Pedro Tammela \u003cpctammela@mojatatu.com\u003e\nSigned-off-by: Jamal Hadi Salim \u003cjhs@mojatatu.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n"
    },
    {
      "commit": "da013dcb1720c7dc78a8fe879c73a928cf7de12b",
      "tree": "700ccd5617eefc7f58626473fa982e0e603b9f45",
      "parents": [
        "bc61d0df67e8dd90e7755fea353e6a123eebd36e"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Tue Dec 19 07:37:35 2023 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "Revert BPF token-related functionality\n\nThis patch includes the following revert (one  conflicting BPF FS\npatch and three token patch sets, represented by merge commits):\n  - revert 0f5d5454c723 \"Merge branch \u0027bpf-fs-mount-options-parsing-follow-ups\u0027\";\n  - revert 750e785796bb \"bpf: Support uid and gid when mounting bpffs\";\n  - revert 733763285acf \"Merge branch \u0027bpf-token-support-in-libbpf-s-bpf-object\u0027\";\n  - revert c35919dcce28 \"Merge branch \u0027bpf-token-and-bpf-fs-based-delegation\u0027\".\n\nLink: https://lore.kernel.org/bpf/CAHk-\u003dwg7JuFYwGy\u003dGOMbRCtOL+jwSQsdUaBsRWkDVYbxipbM5A@mail.gmail.com\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\n"
    },
    {
      "commit": "bc61d0df67e8dd90e7755fea353e6a123eebd36e",
      "tree": "ccf483964be19c0d395e4896f9dd0d256b3483db",
      "parents": [
        "ac0294b309ec893bf8278db5c7265a889052dfd6"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Wed Dec 06 11:09:20 2023 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "bpf: rename MAX_BPF_LINK_TYPE into __MAX_BPF_LINK_TYPE for consistency\n\nTo stay consistent with the naming pattern used for similar cases in BPF\nUAPI (__MAX_BPF_ATTACH_TYPE, etc), rename MAX_BPF_LINK_TYPE into\n__MAX_BPF_LINK_TYPE.\n\nAlso similar to MAX_BPF_ATTACH_TYPE and MAX_BPF_REG, add:\n\n  #define MAX_BPF_LINK_TYPE __MAX_BPF_LINK_TYPE\n\nNot all __MAX_xxx enums have such #define, so I\u0027m not sure if we should\nadd it or not, but I figured I\u0027ll start with a completely backwards\ncompatible way, and we can drop that, if necessary.\n\nAlso adjust a selftest that used MAX_BPF_LINK_TYPE enum.\n\nSuggested-by: Alexei Starovoitov \u003cast@kernel.org\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nAcked-by: Yonghong Song \u003cyonghong.song@linux.dev\u003e\nLink: https://lore.kernel.org/r/20231206190920.1651226-1-andrii@kernel.org\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "ac0294b309ec893bf8278db5c7265a889052dfd6",
      "tree": "86317bc298eeb0b02c21094b02685fb203c3e00a",
      "parents": [
        "6384c2f35faf21b70e866379b92e7ae0c5ed88cf"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Thu Nov 30 10:52:18 2023 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "bpf: add BPF token support to BPF_PROG_LOAD command\n\nAdd basic support of BPF token to BPF_PROG_LOAD. Wire through a set of\nallowed BPF program types and attach types, derived from BPF FS at BPF\ntoken creation time. Then make sure we perform bpf_token_capable()\nchecks everywhere where it\u0027s relevant.\n\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nLink: https://lore.kernel.org/r/20231130185229.2688956-7-andrii@kernel.org\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "6384c2f35faf21b70e866379b92e7ae0c5ed88cf",
      "tree": "c1c35dc2d59468894444ba3cea755f4881ce8dba",
      "parents": [
        "21eccab6bf6d1af4c23e3cfc697f91bfff1cbf50"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Thu Nov 30 10:52:17 2023 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "bpf: add BPF token support to BPF_BTF_LOAD command\n\nAccept BPF token FD in BPF_BTF_LOAD command to allow BTF data loading\nthrough delegated BPF token. BTF loading is a pretty straightforward\noperation, so as long as BPF token is created with allow_cmds granting\nBPF_BTF_LOAD command, kernel proceeds to parsing BTF data and creating\nBTF object.\n\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nLink: https://lore.kernel.org/r/20231130185229.2688956-6-andrii@kernel.org\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "21eccab6bf6d1af4c23e3cfc697f91bfff1cbf50",
      "tree": "dd9ef4e263ec2e5073d6239af88e5e57e14e75a4",
      "parents": [
        "c03dd58fbd425386c9605a1f102aa3d053378c76"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Thu Nov 30 10:52:16 2023 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "bpf: add BPF token support to BPF_MAP_CREATE command\n\nAllow providing token_fd for BPF_MAP_CREATE command to allow controlled\nBPF map creation from unprivileged process through delegated BPF token.\n\nWire through a set of allowed BPF map types to BPF token, derived from\nBPF FS at BPF token creation time. This, in combination with allowed_cmds\nallows to create a narrowly-focused BPF token (controlled by privileged\nagent) with a restrictive set of BPF maps that application can attempt\nto create.\n\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nLink: https://lore.kernel.org/r/20231130185229.2688956-5-andrii@kernel.org\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "c03dd58fbd425386c9605a1f102aa3d053378c76",
      "tree": "c90c53eeb71308d49ea598c3a23af82b72911936",
      "parents": [
        "dd0b7612fda54a576375726a7a42fef4387532d8"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Thu Nov 30 10:52:15 2023 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "bpf: introduce BPF token object\n\nAdd new kind of BPF kernel object, BPF token. BPF token is meant to\nallow delegating privileged BPF functionality, like loading a BPF\nprogram or creating a BPF map, from privileged process to a *trusted*\nunprivileged process, all while having a good amount of control over which\nprivileged operations could be performed using provided BPF token.\n\nThis is achieved through mounting BPF FS instance with extra delegation\nmount options, which determine what operations are delegatable, and also\nconstraining it to the owning user namespace (as mentioned in the\nprevious patch).\n\nBPF token itself is just a derivative from BPF FS and can be created\nthrough a new bpf() syscall command, BPF_TOKEN_CREATE, which accepts BPF\nFS FD, which can be attained through open() API by opening BPF FS mount\npoint. Currently, BPF token \"inherits\" delegated command, map types,\nprog type, and attach type bit sets from BPF FS as is. In the future,\nhaving an BPF token as a separate object with its own FD, we can allow\nto further restrict BPF token\u0027s allowable set of things either at the\ncreation time or after the fact, allowing the process to guard itself\nfurther from unintentionally trying to load undesired kind of BPF\nprograms. But for now we keep things simple and just copy bit sets as is.\n\nWhen BPF token is created from BPF FS mount, we take reference to the\nBPF super block\u0027s owning user namespace, and then use that namespace for\nchecking all the {CAP_BPF, CAP_PERFMON, CAP_NET_ADMIN, CAP_SYS_ADMIN}\ncapabilities that are normally only checked against init userns (using\ncapable()), but now we check them using ns_capable() instead (if BPF\ntoken is provided). See bpf_token_capable() for details.\n\nSuch setup means that BPF token in itself is not sufficient to grant BPF\nfunctionality. User namespaced process has to *also* have necessary\ncombination of capabilities inside that user namespace. So while\npreviously CAP_BPF was useless when granted within user namespace, now\nit gains a meaning and allows container managers and sys admins to have\na flexible control over which processes can and need to use BPF\nfunctionality within the user namespace (i.e., container in practice).\nAnd BPF FS delegation mount options and derived BPF tokens serve as\na per-container \"flag\" to grant overall ability to use bpf() (plus further\nrestrict on which parts of bpf() syscalls are treated as namespaced).\n\nNote also, BPF_TOKEN_CREATE command itself requires ns_capable(CAP_BPF)\nwithin the BPF FS owning user namespace, rounding up the ns_capable()\nstory of BPF token.\n\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nLink: https://lore.kernel.org/r/20231130185229.2688956-4-andrii@kernel.org\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "dd0b7612fda54a576375726a7a42fef4387532d8",
      "tree": "0c0ae4121cbb28241b17ca35103ae2493f084538",
      "parents": [
        "e5aae2ed37b843dc07397ca841c9282b45338ac5"
      ],
      "author": {
        "name": "Jiri Olsa",
        "email": "jolsa@kernel.org",
        "time": "Sat Nov 25 20:31:30 2023 +0100"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "bpftool: Add support to display uprobe_multi links\n\nAdding support to display details for uprobe_multi links,\nboth plain:\n\n  # bpftool link -p\n  ...\n  24: uprobe_multi  prog 126\n          uprobe.multi  path /home/jolsa/bpf/test_progs  func_cnt 3  pid 4143\n          offset             ref_ctr_offset     cookies\n          0xd1f88            0xf5d5a8           0xdead\n          0xd1f8f            0xf5d5aa           0xbeef\n          0xd1f96            0xf5d5ac           0xcafe\n\nand json:\n\n  # bpftool link -p\n  [{\n  ...\n      },{\n          \"id\": 24,\n          \"type\": \"uprobe_multi\",\n          \"prog_id\": 126,\n          \"retprobe\": false,\n          \"path\": \"/home/jolsa/bpf/test_progs\",\n          \"func_cnt\": 3,\n          \"pid\": 4143,\n          \"funcs\": [{\n                  \"offset\": 860040,\n                  \"ref_ctr_offset\": 16111016,\n                  \"cookie\": 57005\n              },{\n                  \"offset\": 860047,\n                  \"ref_ctr_offset\": 16111018,\n                  \"cookie\": 48879\n              },{\n                  \"offset\": 860054,\n                  \"ref_ctr_offset\": 16111020,\n                  \"cookie\": 51966\n              }\n          ]\n      }\n  ]\n\nSigned-off-by: Jiri Olsa \u003cjolsa@kernel.org\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nReviewed-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nAcked-by: Song Liu \u003csong@kernel.org\u003e\nLink: https://lore.kernel.org/bpf/20231125193130.834322-7-jolsa@kernel.org\n"
    },
    {
      "commit": "e5aae2ed37b843dc07397ca841c9282b45338ac5",
      "tree": "b93dc2ff3c852cefee717927537f94ddc1f613d2",
      "parents": [
        "5b0a3a4e76c9ae9ae2a62ff3f7637ba95d0718f2"
      ],
      "author": {
        "name": "Jiri Olsa",
        "email": "jolsa@kernel.org",
        "time": "Sat Nov 25 20:31:27 2023 +0100"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "bpf: Add link_info support for uprobe multi link\n\nAdding support to get uprobe_link details through bpf_link_info\ninterface.\n\nAdding new struct uprobe_multi to struct bpf_link_info to carry\nthe uprobe_multi link details.\n\nThe uprobe_multi.count is passed from user space to denote size\nof array fields (offsets/ref_ctr_offsets/cookies). The actual\narray size is stored back to uprobe_multi.count (allowing user\nto find out the actual array size) and array fields are populated\nup to the user passed size.\n\nAll the non-array fields (path/count/flags/pid) are always set.\n\nSigned-off-by: Jiri Olsa \u003cjolsa@kernel.org\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nAcked-by: Yonghong Song \u003cyonghong.song@linux.dev\u003e\nLink: https://lore.kernel.org/bpf/20231125193130.834322-4-jolsa@kernel.org\n"
    },
    {
      "commit": "5b0a3a4e76c9ae9ae2a62ff3f7637ba95d0718f2",
      "tree": "5c41ab7d8f443d1606fab429dff227386a36ea38",
      "parents": [
        "806bbc5f2896f3d1e58da5b7c22d6da9cfa783df"
      ],
      "author": {
        "name": "Stanislav Fomichev",
        "email": "sdf@google.com",
        "time": "Mon Nov 27 10:20:56 2023 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "bpftool: mark orphaned programs during prog show\n\nCommit ef01f4e25c17 (\"bpf: restore the ebpf program ID for BPF_AUDIT_UNLOAD\nand PERF_BPF_EVENT_PROG_UNLOAD\") stopped removing program\u0027s id from\nidr when the offloaded/bound netdev goes away. I was supposed to\ntake a look and check in [0], but apparently I did not.\n\nMartin points out it might be useful to keep it that way for\nobservability sake, but we at least need to mark those programs as\nunusable.\n\nMark those programs as \u0027orphaned\u0027 and keep printing the list when\nwe encounter ENODEV.\n\n0: unspec  tag 0000000000000000\n        xlated 0B  not jited  memlock 4096B  orphaned\n\n[0]: https://lore.kernel.org/all/CAKH8qBtyR20ZWAc11z1-6pGb3Hd47AQUTbE_cfoktG59TqaJ7Q@mail.gmail.com/\n\nv3:\n* use two spaces for \"  orphaned\" (Quentin)\n\nCc: netdev@vger.kernel.org\nFixes: ef01f4e25c17 (\"bpf: restore the ebpf program ID for BPF_AUDIT_UNLOAD and PERF_BPF_EVENT_PROG_UNLOAD\")\nSigned-off-by: Stanislav Fomichev \u003csdf@google.com\u003e\nReviewed-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nLink: https://lore.kernel.org/r/20231127182057.1081138-1-sdf@google.com\nSigned-off-by: Martin KaFai Lau \u003cmartin.lau@kernel.org\u003e\n"
    },
    {
      "commit": "806bbc5f2896f3d1e58da5b7c22d6da9cfa783df",
      "tree": "36c76bfcb75be1dffb4bf86221d5e7e53f1e4384",
      "parents": [
        "515739fbfb3c515682bf933e376d18d0ea739fcb"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:12:00 2024 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Fri Jan 05 12:25:17 2024 +0000"
      },
      "message": "sync: Update libbpf submodule\n\nPull latest libbpf from mirror.\nLibbpf version: 1.4.0\nLibbpf commit:  f81eef23b33c0dbf923e863a72ce51ea4d32e291\n\nSigned-off-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\n"
    },
    {
      "commit": "515739fbfb3c515682bf933e376d18d0ea739fcb",
      "tree": "f4a597a39641c5495acff4a0fcb5705a216315b1",
      "parents": [
        "687e7f06f2ee104ed6515ec3a9816af77bfa7a17"
      ],
      "author": {
        "name": "jinzhiguang",
        "email": "jinzhiguang@kylinos.cn",
        "time": "Tue Dec 05 09:16:51 2023 +0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Dec 05 05:03:24 2023 -0500"
      },
      "message": "mirror: Fix CLANG_BPF_CO_RE_PROBE_CMD\n\nWhen global variables are not initialized, the original command will get\nincorrect results in some versions of clang environment.\n\nSigned-off-by: jinzhiguang \u003cjinzhiguang@kylinos.cn\u003e\n"
    },
    {
      "commit": "687e7f06f2ee104ed6515ec3a9816af77bfa7a17",
      "tree": "94c0779726f1705daf66b915a0bfaaed233beb4f",
      "parents": [
        "62edbc30a08b6d2c618a130d8d960c4981066a8a"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Nov 23 10:54:23 2023 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Nov 23 06:06:16 2023 -0500"
      },
      "message": "sync: Pull latest bpftool changes from kernel\n\nSyncing latest bpftool commits from kernel repository.\nBaseline bpf-next commit:   155addf0814a92d08fce26a11b27e3315cdba977\nCheckpoint bpf-next commit: 750011e239a50873251c16207b0fe78eabf8577e\nBaseline bpf commit:        83b9dda8afa4e968d9cce253f390b01c0612a2a5\nCheckpoint bpf commit:      bc4fbf022c68967cb49b2b820b465cf90de974b8\n\nAndrii Nakryiko (2):\n  bpf: add register bounds sanity checks and sanitization\n  bpf: rename BPF_F_TEST_SANITY_STRICT to BPF_F_TEST_REG_INVARIANTS\n\nJordan Rome (1):\n  bpf: Add crosstask check to __bpf_get_stack\n\n include/uapi/linux/bpf.h | 6 ++++++\n 1 file changed, 6 insertions(+)\n\nSigned-off-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\n"
    },
    {
      "commit": "62edbc30a08b6d2c618a130d8d960c4981066a8a",
      "tree": "9cccf7f4e680fabb4328347d90a79644c200c542",
      "parents": [
        "d4ac6ea0c23b700c51bdc062132e3c91f810001b"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Fri Nov 17 09:14:04 2023 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Nov 23 06:06:16 2023 -0500"
      },
      "message": "bpf: rename BPF_F_TEST_SANITY_STRICT to BPF_F_TEST_REG_INVARIANTS\n\nRename verifier internal flag BPF_F_TEST_SANITY_STRICT to more neutral\nBPF_F_TEST_REG_INVARIANTS. This is a follow up to [0].\n\nA few selftests and veristat need to be adjusted in the same patch as\nwell.\n\n  [0] https://patchwork.kernel.org/project/netdevbpf/patch/20231112010609.848406-5-andrii@kernel.org/\n\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nLink: https://lore.kernel.org/r/20231117171404.225508-1-andrii@kernel.org\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "d4ac6ea0c23b700c51bdc062132e3c91f810001b",
      "tree": "2f3ca208f863d6b83c184acef4e7d649b7a6fc1e",
      "parents": [
        "0664481dfe8735599e3989c0952d4da62b76fe2e"
      ],
      "author": {
        "name": "Andrii Nakryiko",
        "email": "andrii@kernel.org",
        "time": "Sat Nov 11 17:06:00 2023 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Nov 23 06:06:16 2023 -0500"
      },
      "message": "bpf: add register bounds sanity checks and sanitization\n\nAdd simple sanity checks that validate well-formed ranges (min \u003c\u003d max)\nacross u64, s64, u32, and s32 ranges. Also for cases when the value is\nconstant (either 64-bit or 32-bit), we validate that ranges and tnums\nare in agreement.\n\nThese bounds checks are performed at the end of BPF_ALU/BPF_ALU64\noperations, on conditional jumps, and for LDX instructions (where subreg\nzero/sign extension is probably the most important to check). This\ncovers most of the interesting cases.\n\nAlso, we validate the sanity of the return register when manually\nadjusting it for some special helpers.\n\nBy default, sanity violation will trigger a warning in verifier log and\nresetting register bounds to \"unbounded\" ones. But to aid development\nand debugging, BPF_F_TEST_SANITY_STRICT flag is added, which will\ntrigger hard failure of verification with -EFAULT on register bounds\nviolations. This allows selftests to catch such issues. veristat will\nalso gain a CLI option to enable this behavior.\n\nAcked-by: Eduard Zingerman \u003ceddyz87@gmail.com\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nAcked-by: Shung-Hsi Yu \u003cshung-hsi.yu@suse.com\u003e\nLink: https://lore.kernel.org/r/20231112010609.848406-5-andrii@kernel.org\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "0664481dfe8735599e3989c0952d4da62b76fe2e",
      "tree": "d19737e69f616e72ce2b60b8490ce405517548e2",
      "parents": [
        "9429d83bb909d40f2fc0604e7d994614eaf3ac0d"
      ],
      "author": {
        "name": "Jordan Rome",
        "email": "jordalgo@meta.com",
        "time": "Wed Nov 08 03:23:34 2023 -0800"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Nov 23 06:06:16 2023 -0500"
      },
      "message": "bpf: Add crosstask check to __bpf_get_stack\n\nCurrently get_perf_callchain only supports user stack walking for\nthe current task. Passing the correct *crosstask* param will return\n0 frames if the task passed to __bpf_get_stack isn\u0027t the current\none instead of a single incorrect frame/address. This change\npasses the correct *crosstask* param but also does a preemptive\ncheck in __bpf_get_stack if the task is current and returns\n-EOPNOTSUPP if it is not.\n\nThis issue was found using bpf_get_task_stack inside a BPF\niterator (\"iter/task\"), which iterates over all tasks.\nbpf_get_task_stack works fine for fetching kernel stacks\nbut because get_perf_callchain relies on the caller to know\nif the requested *task* is the current one (via *crosstask*)\nit was failing in a confusing way.\n\nIt might be possible to get user stacks for all tasks utilizing\nsomething like access_process_vm but that requires the bpf\nprogram calling bpf_get_task_stack to be sleepable and would\ntherefore be a breaking change.\n\nFixes: fa28dcb82a38 (\"bpf: Introduce helper bpf_get_task_stack()\")\nSigned-off-by: Jordan Rome \u003cjordalgo@meta.com\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nLink: https://lore.kernel.org/bpf/20231108112334.3433136-1-jordalgo@meta.com\n"
    },
    {
      "commit": "9429d83bb909d40f2fc0604e7d994614eaf3ac0d",
      "tree": "7b6fcbaede27077b10da6ddfc39a306dcdeffc20",
      "parents": [
        "784216403e89e9767833be3705bb8be0873eb52a"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Nov 23 10:53:49 2023 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Nov 23 06:06:16 2023 -0500"
      },
      "message": "sync: Update libbpf submodule\n\nPull latest libbpf from mirror.\nLibbpf version: 1.3.0\nLibbpf commit:  20c0a9e3d7e7d4aeb283eae982543c9cacc29477\n\nSigned-off-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\n"
    },
    {
      "commit": "3c9aaf9a64cff8e59143975069d404628f3014fc",
      "tree": "13a521bc7d536b5ac3d452d97e37d9efdea88241",
      "parents": [
        "ec56e402921a31d19205376ccbee3594b775d284",
        "848719705d2cfb3fd8c465110203e00e1e7eb17f"
      ],
      "author": {
        "name": "Aleksei Vetrov",
        "email": "vvvvvv@google.com",
        "time": "Tue Nov 14 19:22:22 2023 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Nov 14 19:22:22 2023 +0000"
      },
      "message": "elfutils: refactor transitive dependencies am: b16ae855fa am: 98a198e8a5 am: 848719705d\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/2826432\n\nChange-Id: I35500e5f14430a3851ff984e8979be48a448c4c4\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "ec56e402921a31d19205376ccbee3594b775d284",
      "tree": "13a521bc7d536b5ac3d452d97e37d9efdea88241",
      "parents": [
        "ad04842ab66c78297670c75290ea1e78be476563",
        "845f6a16e54398f02569b39dc31311159ede42d0"
      ],
      "author": {
        "name": "Aleksei Vetrov",
        "email": "vvvvvv@google.com",
        "time": "Tue Nov 14 19:21:40 2023 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Nov 14 19:21:40 2023 +0000"
      },
      "message": "elfutils: refactor transitive dependencies am: b16ae855fa am: 530499dc9c am: 845f6a16e5\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/2826432\n\nChange-Id: I02f262180c900d6001c5df4c818e8d74fdfa4094\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "848719705d2cfb3fd8c465110203e00e1e7eb17f",
      "tree": "13a521bc7d536b5ac3d452d97e37d9efdea88241",
      "parents": [
        "845f6a16e54398f02569b39dc31311159ede42d0",
        "98a198e8a5dca35657d3e0db0bc2eb3ae57268a9"
      ],
      "author": {
        "name": "Aleksei Vetrov",
        "email": "vvvvvv@google.com",
        "time": "Tue Nov 14 18:54:05 2023 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Nov 14 18:54:05 2023 +0000"
      },
      "message": "elfutils: refactor transitive dependencies am: b16ae855fa am: 98a198e8a5\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/2826432\n\nChange-Id: I55e666bbb82212a5927adca85708688f46afbce2\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "845f6a16e54398f02569b39dc31311159ede42d0",
      "tree": "13a521bc7d536b5ac3d452d97e37d9efdea88241",
      "parents": [
        "9ccedf128e4c2905988fb9a170158fa7e12cb2fc",
        "530499dc9c9d446ebd7de0d96af67a89c82457f0"
      ],
      "author": {
        "name": "Aleksei Vetrov",
        "email": "vvvvvv@google.com",
        "time": "Tue Nov 14 18:48:28 2023 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Nov 14 18:48:28 2023 +0000"
      },
      "message": "elfutils: refactor transitive dependencies am: b16ae855fa am: 530499dc9c\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/2826432\n\nChange-Id: Ief37f2844a90ae5cfb48dade636e432a57adaf26\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "530499dc9c9d446ebd7de0d96af67a89c82457f0",
      "tree": "13a521bc7d536b5ac3d452d97e37d9efdea88241",
      "parents": [
        "2bd07edd5ac35985b43e29188d8271f452b9b5d5",
        "b16ae855fa8ce7777ad23b11f3ec88c45bfc4981"
      ],
      "author": {
        "name": "Aleksei Vetrov",
        "email": "vvvvvv@google.com",
        "time": "Tue Nov 14 18:15:10 2023 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Nov 14 18:15:10 2023 +0000"
      },
      "message": "elfutils: refactor transitive dependencies am: b16ae855fa\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/2826432\n\nChange-Id: Ifefe1071faa4d3ada98fbb95809c01e8d774eefd\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "98a198e8a5dca35657d3e0db0bc2eb3ae57268a9",
      "tree": "13a521bc7d536b5ac3d452d97e37d9efdea88241",
      "parents": [
        "b39e3da26dfc1a7c7312486aef15e9d9675ae7ae",
        "b16ae855fa8ce7777ad23b11f3ec88c45bfc4981"
      ],
      "author": {
        "name": "Aleksei Vetrov",
        "email": "vvvvvv@google.com",
        "time": "Tue Nov 14 18:14:49 2023 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Nov 14 18:14:49 2023 +0000"
      },
      "message": "elfutils: refactor transitive dependencies am: b16ae855fa\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/2826432\n\nChange-Id: I19c6c592d42d430328745e0b194da6411ebb38c9\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "b16ae855fa8ce7777ad23b11f3ec88c45bfc4981",
      "tree": "13a521bc7d536b5ac3d452d97e37d9efdea88241",
      "parents": [
        "f2c1cc94de204b9459eb4f108a27fb9e04c2fb08"
      ],
      "author": {
        "name": "Aleksei Vetrov",
        "email": "vvvvvv@google.com",
        "time": "Fri Nov 10 18:08:02 2023 +0000"
      },
      "committer": {
        "name": "Matthias Männich",
        "email": "maennich@google.com",
        "time": "Tue Nov 14 17:43:22 2023 +0000"
      },
      "message": "elfutils: refactor transitive dependencies\n\nSoong doesn\u0027t have propagation for static library dependencies.\n\nAdd \"elfutils_transitive_defaults\" to have \"static_libs\" that are\napplied to all static libraries that use elfutils.\n\nThis have to be included explicitly by all elfutils users.\n\nBug: 169779783\nBug: 309972007\nChange-Id: Iab5543e3ed148962487ab21ad11f952afd1d51b9\nSigned-off-by: Aleksei Vetrov \u003cvvvvvv@google.com\u003e\n"
    },
    {
      "commit": "784216403e89e9767833be3705bb8be0873eb52a",
      "tree": "009b630cfed20f922fdaf4aa292e2922939d2895",
      "parents": [
        "b5aaf9707a384f75befcb7565bc78a72adef0ef9"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Nov 14 06:02:18 2023 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Nov 14 01:10:54 2023 -0500"
      },
      "message": "sync: Pull latest bpftool changes from kernel\n\nSyncing latest bpftool commits from kernel repository.\nBaseline bpf-next commit:   0e133a13370389d3894891eafe54fec2c44ad735\nCheckpoint bpf-next commit: 155addf0814a92d08fce26a11b27e3315cdba977\nBaseline bpf commit:        9ff8d2717fc8f63e5cb226ddbda20649eefa2728\nCheckpoint bpf commit:      83b9dda8afa4e968d9cce253f390b01c0612a2a5\n\nArtem Savkov (1):\n  bpftool: Fix prog object type in manpage\n\nDaniel Borkmann (4):\n  netkit, bpf: Add bpf programmable net device\n  tools: Sync if_link uapi header\n  bpftool: Implement link show support for netkit\n  bpftool: Extend net dump with netkit progs\n\nManu Bretelle (2):\n  bpftool: Fix printing of pointer value\n  bpftool: Wrap struct_ops dump in an array\n\nYonghong Song (1):\n  bpf: Use named fields for certain bpf uapi structs\n\n docs/bpftool-net.rst         |   8 +-\n docs/bpftool.rst             |   2 +-\n include/uapi/linux/bpf.h     |  37 +++++----\n include/uapi/linux/if_link.h | 141 +++++++++++++++++++++++++++++++++++\n src/btf_dumper.c             |   2 +-\n src/link.c                   |   9 +++\n src/net.c                    |   7 +-\n src/struct_ops.c             |   6 ++\n 8 files changed, 189 insertions(+), 23 deletions(-)\n\nSigned-off-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\n"
    },
    {
      "commit": "b5aaf9707a384f75befcb7565bc78a72adef0ef9",
      "tree": "a7ee5e0c6dc4dc741cfe5d383e12c1ec214bf882",
      "parents": [
        "fa46ebbd1fab4b11d564f5003112d3fa7eea1d4b"
      ],
      "author": {
        "name": "Yonghong Song",
        "email": "yonghong.song@linux.dev",
        "time": "Fri Nov 03 19:49:00 2023 -0700"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Nov 14 01:10:54 2023 -0500"
      },
      "message": "bpf: Use named fields for certain bpf uapi structs\n\nMartin and Vadim reported a verifier failure with bpf_dynptr usage.\nThe issue is mentioned but Vadim workarounded the issue with source\nchange ([1]). The below describes what is the issue and why there\nis a verification failure.\n\n  int BPF_PROG(skb_crypto_setup) {\n    struct bpf_dynptr algo, key;\n    ...\n\n    bpf_dynptr_from_mem(..., ..., 0, \u0026algo);\n    ...\n  }\n\nThe bpf program is using vmlinux.h, so we have the following definition in\nvmlinux.h:\n  struct bpf_dynptr {\n        long: 64;\n        long: 64;\n  };\nNote that in uapi header bpf.h, we have\n  struct bpf_dynptr {\n        long: 64;\n        long: 64;\n} __attribute__((aligned(8)));\n\nSo we lost alignment information for struct bpf_dynptr by using vmlinux.h.\nLet us take a look at a simple program below:\n  $ cat align.c\n  typedef unsigned long long __u64;\n  struct bpf_dynptr_no_align {\n        __u64 :64;\n        __u64 :64;\n  };\n  struct bpf_dynptr_yes_align {\n        __u64 :64;\n        __u64 :64;\n  } __attribute__((aligned(8)));\n\n  void bar(void *, void *);\n  int foo() {\n    struct bpf_dynptr_no_align a;\n    struct bpf_dynptr_yes_align b;\n    bar(\u0026a, \u0026b);\n    return 0;\n  }\n  $ clang --target\u003dbpf -O2 -S -emit-llvm align.c\n\nLook at the generated IR file align.ll:\n  ...\n  %a \u003d alloca %struct.bpf_dynptr_no_align, align 1\n  %b \u003d alloca %struct.bpf_dynptr_yes_align, align 8\n  ...\n\nThe compiler dictates the alignment for struct bpf_dynptr_no_align is 1 and\nthe alignment for struct bpf_dynptr_yes_align is 8. So theoretically compiler\ncould allocate variable %a with alignment 1 although in reallity the compiler\nmay choose a different alignment by considering other local variables.\n\nIn [1], the verification failure happens because variable \u0027algo\u0027 is allocated\non the stack with alignment 4 (fp-28). But the verifer wants its alignment\nto be 8.\n\nTo fix the issue, the RFC patch ([1]) tried to add \u0027__attribute__((aligned(8)))\u0027\nto struct bpf_dynptr plus other similar structs. Andrii suggested that\nwe could directly modify uapi struct with named fields like struct \u0027bpf_iter_num\u0027:\n  struct bpf_iter_num {\n        /* opaque iterator state; having __u64 here allows to preserve correct\n         * alignment requirements in vmlinux.h, generated from BTF\n         */\n        __u64 __opaque[1];\n  } __attribute__((aligned(8)));\n\nIndeed, adding named fields for those affected structs in this patch can preserve\nalignment when bpf program references them in vmlinux.h. With this patch,\nthe verification failure in [1] can also be resolved.\n\n  [1] https://lore.kernel.org/bpf/1b100f73-7625-4c1f-3ae5-50ecf84d3ff0@linux.dev/\n  [2] https://lore.kernel.org/bpf/20231103055218.2395034-1-yonghong.song@linux.dev/\n\nCc: Vadim Fedorenko \u003cvadfed@meta.com\u003e\nCc: Martin KaFai Lau \u003cmartin.lau@linux.dev\u003e\nSuggested-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nSigned-off-by: Yonghong Song \u003cyonghong.song@linux.dev\u003e\nAcked-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nLink: https://lore.kernel.org/r/20231104024900.1539182-1-yonghong.song@linux.dev\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "fa46ebbd1fab4b11d564f5003112d3fa7eea1d4b",
      "tree": "2e23468c6b08beafd9b1e7fd9338418ae0117e8d",
      "parents": [
        "d712a3ea4ca507b7bc9fdd1a05c0961515f10489"
      ],
      "author": {
        "name": "Artem Savkov",
        "email": "asavkov@redhat.com",
        "time": "Fri Nov 03 09:11:26 2023 +0100"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Nov 14 01:10:54 2023 -0500"
      },
      "message": "bpftool: Fix prog object type in manpage\n\nbpftool\u0027s man page lists \"program\" as one of possible values for OBJECT,\nwhile in fact bpftool accepts \"prog\" instead.\n\nReported-by: Jerry Snitselaar \u003cjsnitsel@redhat.com\u003e\nSigned-off-by: Artem Savkov \u003casavkov@redhat.com\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nAcked-by: Yonghong Song \u003cyonghong.song@linux.dev\u003e\nAcked-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nLink: https://lore.kernel.org/bpf/20231103081126.170034-1-asavkov@redhat.com\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n"
    },
    {
      "commit": "d712a3ea4ca507b7bc9fdd1a05c0961515f10489",
      "tree": "2a77a2f8655706b79afcc656ff6453859ad08ba5",
      "parents": [
        "0fcd8de165475ebe65009717f61e86e045ca640f"
      ],
      "author": {
        "name": "Daniel Borkmann",
        "email": "daniel@iogearbox.net",
        "time": "Tue Oct 24 23:49:02 2023 +0200"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Nov 14 01:10:54 2023 -0500"
      },
      "message": "bpftool: Extend net dump with netkit progs\n\nAdd support to dump BPF programs on netkit via bpftool. This includes both\nthe BPF link and attach ops programs. Dumped information contain the attach\nlocation, function entry name, program ID and link ID when applicable.\n\nExample with tc BPF link:\n\n  # ./bpftool net\n  xdp:\n\n  tc:\n  nk1(22) netkit/peer tc1 prog_id 43 link_id 12\n\n  [...]\n\nExample with json dump:\n\n  # ./bpftool net --json | jq\n  [\n    {\n      \"xdp\": [],\n      \"tc\": [\n        {\n          \"devname\": \"nk1\",\n          \"ifindex\": 18,\n          \"kind\": \"netkit/primary\",\n          \"name\": \"tc1\",\n          \"prog_id\": 29,\n          \"prog_flags\": [],\n          \"link_id\": 8,\n          \"link_flags\": []\n        }\n      ],\n      \"flow_dissector\": [],\n      \"netfilter\": []\n    }\n  ]\n\nSigned-off-by: Daniel Borkmann \u003cdaniel@iogearbox.net\u003e\nReviewed-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nAcked-by: Martin KaFai Lau \u003cmartin.lau@kernel.org\u003e\nLink: https://lore.kernel.org/r/20231024214904.29825-6-daniel@iogearbox.net\nSigned-off-by: Martin KaFai Lau \u003cmartin.lau@kernel.org\u003e\n"
    },
    {
      "commit": "0fcd8de165475ebe65009717f61e86e045ca640f",
      "tree": "c968486e165b29eca654a3e5f6a7b2714ab77b72",
      "parents": [
        "c59bb37ff809d4bbc2df5f11dcec318e3596c4b4"
      ],
      "author": {
        "name": "Daniel Borkmann",
        "email": "daniel@iogearbox.net",
        "time": "Tue Oct 24 23:49:01 2023 +0200"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Nov 14 01:10:54 2023 -0500"
      },
      "message": "bpftool: Implement link show support for netkit\n\nAdd support to dump netkit link information to bpftool in similar way as\nwe have for XDP. The netkit link info only exposes the ifindex and the\nattach_type.\n\nBelow shows an example link dump output, and a cgroup link is included for\ncomparison, too:\n\n  # bpftool link\n  [...]\n  10: cgroup  prog 2466\n        cgroup_id 1  attach_type cgroup_inet6_post_bind\n  [...]\n  8: netkit  prog 35\n        ifindex nk1(18)  attach_type netkit_primary\n  [...]\n\nEquivalent json output:\n\n  # bpftool link --json\n  [...]\n  {\n    \"id\": 10,\n    \"type\": \"cgroup\",\n    \"prog_id\": 2466,\n    \"cgroup_id\": 1,\n    \"attach_type\": \"cgroup_inet6_post_bind\"\n  },\n  [...]\n  {\n    \"id\": 12,\n    \"type\": \"netkit\",\n    \"prog_id\": 61,\n    \"devname\": \"nk1\",\n    \"ifindex\": 21,\n    \"attach_type\": \"netkit_primary\"\n  }\n  [...]\n\nSigned-off-by: Daniel Borkmann \u003cdaniel@iogearbox.net\u003e\nReviewed-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nAcked-by: Martin KaFai Lau \u003cmartin.lau@kernel.org\u003e\nLink: https://lore.kernel.org/r/20231024214904.29825-5-daniel@iogearbox.net\nSigned-off-by: Martin KaFai Lau \u003cmartin.lau@kernel.org\u003e\n"
    },
    {
      "commit": "c59bb37ff809d4bbc2df5f11dcec318e3596c4b4",
      "tree": "b3d3fa73e0e6a41706dcb3139cc649402f6128c6",
      "parents": [
        "0946be679188986b1aef213a7b352d17ec5d20b8"
      ],
      "author": {
        "name": "Daniel Borkmann",
        "email": "daniel@iogearbox.net",
        "time": "Tue Oct 24 23:48:59 2023 +0200"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Nov 14 01:10:54 2023 -0500"
      },
      "message": "tools: Sync if_link uapi header\n\nSync if_link uapi header to the latest version as we need the refresher\nin tooling for netkit device. Given it\u0027s been a while since the last sync\nand the diff is fairly big, it has been done as its own commit.\n\nSigned-off-by: Daniel Borkmann \u003cdaniel@iogearbox.net\u003e\nAcked-by: Martin KaFai Lau \u003cmartin.lau@kernel.org\u003e\nLink: https://lore.kernel.org/r/20231024214904.29825-3-daniel@iogearbox.net\nSigned-off-by: Martin KaFai Lau \u003cmartin.lau@kernel.org\u003e\n"
    },
    {
      "commit": "0946be679188986b1aef213a7b352d17ec5d20b8",
      "tree": "8d3074226ad064b521d67a2a5018165e1e059bb4",
      "parents": [
        "b9530def721e28ac4112d527dd4e3adf046e137b"
      ],
      "author": {
        "name": "Daniel Borkmann",
        "email": "daniel@iogearbox.net",
        "time": "Tue Oct 24 23:48:58 2023 +0200"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Nov 14 01:10:54 2023 -0500"
      },
      "message": "netkit, bpf: Add bpf programmable net device\n\nThis work adds a new, minimal BPF-programmable device called \"netkit\"\n(former PoC code-name \"meta\") we recently presented at LSF/MM/BPF. The\ncore idea is that BPF programs are executed within the drivers xmit routine\nand therefore e.g. in case of containers/Pods moving BPF processing closer\nto the source.\n\nOne of the goals was that in case of Pod egress traffic, this allows to\nmove BPF programs from hostns tcx ingress into the device itself, providing\nearlier drop or forward mechanisms, for example, if the BPF program\ndetermines that the skb must be sent out of the node, then a redirect to\nthe physical device can take place directly without going through per-CPU\nbacklog queue. This helps to shift processing for such traffic from softirq\nto process context, leading to better scheduling decisions/performance (see\nmeasurements in the slides).\n\nIn this initial version, the netkit device ships as a pair, but we plan to\nextend this further so it can also operate in single device mode. The pair\ncomes with a primary and a peer device. Only the primary device, typically\nresiding in hostns, can manage BPF programs for itself and its peer. The\npeer device is designated for containers/Pods and cannot attach/detach\nBPF programs. Upon the device creation, the user can set the default policy\nto \u0027pass\u0027 or \u0027drop\u0027 for the case when no BPF program is attached.\n\nAdditionally, the device can be operated in L3 (default) or L2 mode. The\nmanagement of BPF programs is done via bpf_mprog, so that multi-attach is\nsupported right from the beginning with similar API and dependency controls\nas tcx. For details on the latter see commit 053c8e1f235d (\"bpf: Add generic\nattach/detach/query API for multi-progs\"). tc BPF compatibility is provided,\nso that existing programs can be easily migrated.\n\nGoing forward, we plan to use netkit devices in Cilium as the main device\ntype for connecting Pods. They will be operated in L3 mode in order to\nsimplify a Pod\u0027s neighbor management and the peer will operate in default\ndrop mode, so that no traffic is leaving between the time when a Pod is\nbrought up by the CNI plugin and programs attached by the agent.\nAdditionally, the programs we attach via tcx on the physical devices are\nusing bpf_redirect_peer() for inbound traffic into netkit device, hence the\nlatter is also supporting the ndo_get_peer_dev callback. Similarly, we use\nbpf_redirect_neigh() for the way out, pushing from netkit peer to phys device\ndirectly. Also, BIG TCP is supported on netkit device. For the follow-up\nwork in single device mode, we plan to convert Cilium\u0027s cilium_host/_net\ndevices into a single one.\n\nAn extensive test suite for checking device operations and the BPF program\nand link management API comes as BPF selftests in this series.\n\nCo-developed-by: Nikolay Aleksandrov \u003crazor@blackwall.org\u003e\nSigned-off-by: Nikolay Aleksandrov \u003crazor@blackwall.org\u003e\nSigned-off-by: Daniel Borkmann \u003cdaniel@iogearbox.net\u003e\nReviewed-by: Toke Høiland-Jørgensen \u003ctoke@redhat.com\u003e\nAcked-by: Stanislav Fomichev \u003csdf@google.com\u003e\nAcked-by: Martin KaFai Lau \u003cmartin.lau@kernel.org\u003e\nLink: https://github.com/borkmann/iproute2/tree/pr/netkit\nLink: http://vger.kernel.org/bpfconf2023_material/tcx_meta_netdev_borkmann.pdf (24ff.)\nLink: https://lore.kernel.org/r/20231024214904.29825-2-daniel@iogearbox.net\nSigned-off-by: Martin KaFai Lau \u003cmartin.lau@kernel.org\u003e\n"
    },
    {
      "commit": "b9530def721e28ac4112d527dd4e3adf046e137b",
      "tree": "5337159a97390d315553a5131e053b15882f73f5",
      "parents": [
        "5978b98e8f8aa8d869b047235c71aa53b99b63af"
      ],
      "author": {
        "name": "Manu Bretelle",
        "email": "chantr4@gmail.com",
        "time": "Wed Oct 18 16:01:33 2023 -0700"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Nov 14 01:10:54 2023 -0500"
      },
      "message": "bpftool: Wrap struct_ops dump in an array\n\nWhen dumping a struct_ops, 2 dictionaries are emitted.\n\nWhen using `name`, they were already wrapped in an array, but not when\nusing `id`. Causing `jq` to fail at parsing the payload as it reached\nthe comma following the first dict.\n\nThis change wraps those dictionaries in an array so valid json is emitted.\n\nBefore, jq fails to parse the output:\n```\n $ sudo bpftool struct_ops dump id 1523612 | jq . \u003e /dev/null\nparse error: Expected value before \u0027,\u0027 at line 19, column 2\n```\n\nAfter, no error parsing the output:\n```\nsudo ./bpftool  struct_ops dump id 1523612 | jq . \u003e /dev/null\n```\n\nSigned-off-by: Manu Bretelle \u003cchantr4@gmail.com\u003e\nSigned-off-by: Daniel Borkmann \u003cdaniel@iogearbox.net\u003e\nTested-by: Eduard Zingerman \u003ceddyz87@gmail.com\u003e\nAcked-by: Eduard Zingerman \u003ceddyz87@gmail.com\u003e\nAcked-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nLink: https://lore.kernel.org/bpf/20231018230133.1593152-3-chantr4@gmail.com\n"
    },
    {
      "commit": "5978b98e8f8aa8d869b047235c71aa53b99b63af",
      "tree": "b4d2be0de8a58f4240f33b31ca5628eb5096c267",
      "parents": [
        "1485934458d00e04f809009b41bc41c620aa4086"
      ],
      "author": {
        "name": "Manu Bretelle",
        "email": "chantr4@gmail.com",
        "time": "Wed Oct 18 16:01:32 2023 -0700"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Nov 14 01:10:54 2023 -0500"
      },
      "message": "bpftool: Fix printing of pointer value\n\nWhen printing a pointer value, \"%p\" will either print the hexadecimal\nvalue of the pointer (e.g `0x1234`), or `(nil)` when NULL.\n\nBoth of those are invalid json \"integer\" values and need to be wrapped\nin quotes.\n\nBefore:\n```\n$ sudo bpftool struct_ops dump  name ned_dummy_cca | grep next\n                    \"next\": (nil),\n$ sudo bpftool struct_ops dump  name ned_dummy_cca | \\\n    jq \u0027.[1].bpf_struct_ops_tcp_congestion_ops.data.list.next\u0027\nparse error: Invalid numeric literal at line 29, column 34\n```\n\nAfter:\n```\n$ sudo ./bpftool struct_ops dump  name ned_dummy_cca | grep next\n                    \"next\": \"(nil)\",\n$ sudo ./bpftool struct_ops dump  name ned_dummy_cca | \\\n    jq \u0027.[1].bpf_struct_ops_tcp_congestion_ops.data.list.next\u0027\n\"(nil)\"\n```\n\nSigned-off-by: Manu Bretelle \u003cchantr4@gmail.com\u003e\nSigned-off-by: Daniel Borkmann \u003cdaniel@iogearbox.net\u003e\nTested-by: Eduard Zingerman \u003ceddyz87@gmail.com\u003e\nAcked-by: Eduard Zingerman \u003ceddyz87@gmail.com\u003e\nAcked-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\nLink: https://lore.kernel.org/bpf/20231018230133.1593152-2-chantr4@gmail.com\n"
    },
    {
      "commit": "1485934458d00e04f809009b41bc41c620aa4086",
      "tree": "8c159f992b11ecd1377e32593f2ec06df8241c9c",
      "parents": [
        "8485b9fba9b3bb3bd311b00632d2d22c0eee2e13"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Nov 14 05:57:21 2023 +0000"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Tue Nov 14 01:10:54 2023 -0500"
      },
      "message": "sync: Update libbpf submodule\n\nPull latest libbpf from mirror.\nLibbpf version: 1.3.0\nLibbpf commit:  0c54691bae75cdf50c43be3ff5ac3b201fc94ba2\n\nSigned-off-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\n"
    },
    {
      "commit": "ad04842ab66c78297670c75290ea1e78be476563",
      "tree": "1c240a98c2896c94781ea4ff487379b18a894e09",
      "parents": [
        "6c8ed0e0aa29b0331a7a2498519bdb11fd9550c2",
        "9ccedf128e4c2905988fb9a170158fa7e12cb2fc"
      ],
      "author": {
        "name": "Neill Kapron",
        "email": "nkapron@google.com",
        "time": "Tue Nov 07 17:07:55 2023 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Nov 07 17:07:55 2023 +0000"
      },
      "message": "Upgrade bpftool to 66c1c8b51826fc4cd0641e5b99d54f469a11f726 am: f2c1cc94de am: b39e3da26d am: 9ccedf128e\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/2791793\n\nChange-Id: I34d893f9ad56c80e19fd600040064121b1798e38\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "6c8ed0e0aa29b0331a7a2498519bdb11fd9550c2",
      "tree": "1c240a98c2896c94781ea4ff487379b18a894e09",
      "parents": [
        "d4439bce3ba20b74a08f0d40910681be6f8b81a2",
        "bdf70a98cefb87bd4430167697069c5b36cadb71"
      ],
      "author": {
        "name": "Neill Kapron",
        "email": "nkapron@google.com",
        "time": "Tue Nov 07 17:04:57 2023 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Nov 07 17:04:57 2023 +0000"
      },
      "message": "Upgrade bpftool to 66c1c8b51826fc4cd0641e5b99d54f469a11f726 am: f2c1cc94de am: 2bd07edd5a am: bdf70a98ce\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/2791793\n\nChange-Id: I325f792ea636934f58ee9050bdb636886efe57b3\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "9ccedf128e4c2905988fb9a170158fa7e12cb2fc",
      "tree": "1c240a98c2896c94781ea4ff487379b18a894e09",
      "parents": [
        "bdf70a98cefb87bd4430167697069c5b36cadb71",
        "b39e3da26dfc1a7c7312486aef15e9d9675ae7ae"
      ],
      "author": {
        "name": "Neill Kapron",
        "email": "nkapron@google.com",
        "time": "Tue Nov 07 16:23:19 2023 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Nov 07 16:23:19 2023 +0000"
      },
      "message": "Upgrade bpftool to 66c1c8b51826fc4cd0641e5b99d54f469a11f726 am: f2c1cc94de am: b39e3da26d\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/2791793\n\nChange-Id: I3bf63d9817e3b05e5f34e7f40a83db67ce8be5df\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "bdf70a98cefb87bd4430167697069c5b36cadb71",
      "tree": "1c240a98c2896c94781ea4ff487379b18a894e09",
      "parents": [
        "ac4e917c0548e22bfed775ea48f2ec6a97ba2a41",
        "2bd07edd5ac35985b43e29188d8271f452b9b5d5"
      ],
      "author": {
        "name": "Neill Kapron",
        "email": "nkapron@google.com",
        "time": "Tue Nov 07 16:20:56 2023 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Nov 07 16:20:56 2023 +0000"
      },
      "message": "Upgrade bpftool to 66c1c8b51826fc4cd0641e5b99d54f469a11f726 am: f2c1cc94de am: 2bd07edd5a\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/2791793\n\nChange-Id: Ie34e2aac237374cde02dbcb803b749e03d043e87\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "b39e3da26dfc1a7c7312486aef15e9d9675ae7ae",
      "tree": "1c240a98c2896c94781ea4ff487379b18a894e09",
      "parents": [
        "81e57c8b1fce082594db2c31f53df0c10d17a5bf",
        "f2c1cc94de204b9459eb4f108a27fb9e04c2fb08"
      ],
      "author": {
        "name": "Neill Kapron",
        "email": "nkapron@google.com",
        "time": "Tue Nov 07 15:52:00 2023 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Nov 07 15:52:00 2023 +0000"
      },
      "message": "Upgrade bpftool to 66c1c8b51826fc4cd0641e5b99d54f469a11f726 am: f2c1cc94de\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/2791793\n\nChange-Id: I915e5e349536c16f52ea5c275cc7d0b274d33b55\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "2bd07edd5ac35985b43e29188d8271f452b9b5d5",
      "tree": "1c240a98c2896c94781ea4ff487379b18a894e09",
      "parents": [
        "ac4e917c0548e22bfed775ea48f2ec6a97ba2a41",
        "f2c1cc94de204b9459eb4f108a27fb9e04c2fb08"
      ],
      "author": {
        "name": "Neill Kapron",
        "email": "nkapron@google.com",
        "time": "Tue Nov 07 15:49:51 2023 +0000"
      },
      "committer": {
        "name": "Automerger Merge Worker",
        "email": "android-build-automerger-merge-worker@system.gserviceaccount.com",
        "time": "Tue Nov 07 15:49:51 2023 +0000"
      },
      "message": "Upgrade bpftool to 66c1c8b51826fc4cd0641e5b99d54f469a11f726 am: f2c1cc94de\n\nOriginal change: https://android-review.googlesource.com/c/platform/external/bpftool/+/2791793\n\nChange-Id: I16c6a0d0d30df2d8a2825285b646320bd072bd4a\nSigned-off-by: Automerger Merge Worker \u003candroid-build-automerger-merge-worker@system.gserviceaccount.com\u003e\n"
    },
    {
      "commit": "8485b9fba9b3bb3bd311b00632d2d22c0eee2e13",
      "tree": "b00aa7d817d210b6aaebd3509862c425c412480a",
      "parents": [
        "087d22ae0877a78e23fde91f923eb0348cd01ca9"
      ],
      "author": {
        "name": "Quentin Monnet",
        "email": "quentin@isovalent.com",
        "time": "Thu Oct 19 23:23:50 2023 +0100"
      },
      "committer": {
        "name": "Quentin Monnet",
        "email": "qmonnet+github@qoba.lt",
        "time": "Thu Oct 19 23:36:47 2023 +0100"
      },
      "message": "sync: Pull latest bpftool changes from kernel\n\nSyncing latest bpftool commits from kernel repository.\nBaseline bpf-next commit:   2147c8d07e1abc8dfc3433ca18eed5295e230ede\nCheckpoint bpf-next commit: 0e133a13370389d3894891eafe54fec2c44ad735\nBaseline bpf commit:        9077fc228f09c9f975c498c55f5d2e882cd0da59\nCheckpoint bpf commit:      9ff8d2717fc8f63e5cb226ddbda20649eefa2728\n\nDaan De Meyer (2):\n  bpf: Implement cgroup sockaddr hooks for unix sockets\n  bpftool: Add support for cgroup unix socket address hooks\n\nDavid Vernet (1):\n  bpf: Add ability to pin bpf timer to calling CPU\n\nIan Rogers (2):\n  bpftool: Align output skeleton ELF code\n  bpftool: Align bpf_load_and_run_opts insns and data\n\nMartynas Pumputis (1):\n  bpf: Derive source IP addr via bpf_*_fib_lookup()\n\n bash-completion/bpftool  | 14 +++++-----\n docs/bpftool-cgroup.rst  | 16 ++++++++---\n docs/bpftool-prog.rst    |  8 +++---\n include/uapi/linux/bpf.h | 27 ++++++++++++++++---\n src/cgroup.c             | 16 ++++++-----\n src/gen.c                | 58 ++++++++++++++++++++++------------------\n src/prog.c               |  7 ++---\n 7 files changed, 93 insertions(+), 53 deletions(-)\n\nSigned-off-by: Quentin Monnet \u003cquentin@isovalent.com\u003e\n"
    }
  ],
  "next": "087d22ae0877a78e23fde91f923eb0348cd01ca9"
}
