{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":459228407,"defaultBranch":"master","name":"linux-rng","ownerLogin":"zx2c4","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-02-14T16:03:17.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/10643?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1720961836.0","currentOid":""},"activityList":{"items":[{"before":"a21cc26a955b05ee9fee25b040915135cc222de1","after":"ad8070cb1b4bd40aa19a5e3f7c24d7f62c71b382","ref":"refs/heads/master","pushedAt":"2024-07-19T18:28:03.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"MAINTAINERS: add random.h headers to RNG subsection\n\nBefore, patches to two RNG header files wouldn't be sent to the right\nrecipients automatically. So add the two header files -- one for\nuserspace and one for the kernel -- to the right part of the MAINTAINERS\nfile.\n\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"MAINTAINERS: add random.h headers to RNG subsection"}},{"before":"aea7aa237980772fd476f0f3ae91a16cae5592ee","after":"54a940761f7f627b17409d878b7ecf53c4ec7982","ref":"refs/heads/jd/vdso-skip-insn","pushedAt":"2024-07-18T17:04:24.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"x86: mm: Skip faulting instruction for VM_DROPPABLE faults\n\nCurrently, VM_DROPPABLE allocations fault in a limited way where the\nfaulting instruction was retried instead of skipped. Finish that up with\nthe platform-specific aspect of skipping the actual instruction.\n\nThis works on x86, where instructions are variable size, by copying\nuserspace's %rip to a stack buffer of size MAX_INSN_SIZE, decoding it,\nand then adding the length of the decoded instruction to userspace's\n%rip. In the event any of these fail, just fallback to not advancing\n%rip and trying again.\n\nCc: linux-mm@kvack.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"x86: mm: Skip faulting instruction for VM_DROPPABLE faults"}},{"before":"41c32169260827f81a55f5c832c4b334ad4c3586","after":"a21cc26a955b05ee9fee25b040915135cc222de1","ref":"refs/heads/master","pushedAt":"2024-07-18T16:59:32.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"mm: check for VM_DROPPABLE in vma prior to handling mm fault\n\n__handle_mm_fault() drops mmap_lock(), which means vma could be dropped\nfrom underneath us, so dereferencing it after to check for VM_DROPPABLE\nisn't safe. This was found by syzkaller:\n\n BUG: KASAN: slab-use-after-free in handle_mm_fault+0x14f0/0x19a0 mm/memory.c:5842\n Read of size 8 at addr ffff88802c4719d0 by task syz-executor125/5235\n\n CPU: 1 UID: 0 PID: 5235 Comm: syz-executor125 Not tainted 6.10.0-rc7-next-20240712-syzkaller #0\n Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024\n Call Trace:\n \n __dump_stack lib/dump_stack.c:94 [inline]\n dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120\n print_address_description mm/kasan/report.c:377 [inline]\n print_report+0x169/0x550 mm/kasan/report.c:488\n kasan_report+0x143/0x180 mm/kasan/report.c:601\n handle_mm_fault+0x14f0/0x19a0 mm/memory.c:5842\n faultin_page mm/gup.c:1194 [inline]\n __get_user_pages+0x6ec/0x16a0 mm/gup.c:1493\n populate_vma_page_range+0x264/0x330 mm/gup.c:1932\n __mm_populate+0x27a/0x460 mm/gup.c:2035\n mm_populate include/linux/mm.h:3429 [inline]\n vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:593\n do_syscall_x64 arch/x86/entry/common.c:52 [inline]\n do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nInstead, check vma->flags for VM_DROPPABLE prior to calling\n__handle_mm_fault(), and also add a warning comment so this mistake\nisn't repeated in the future.\n\nReported-by: syzbot+4c882a4a0697c4a25364@syzkaller.appspotmail.com\nSuggested-by: Hillf Danton \nReviewed-by: Suren Baghdasaryan \nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"mm: check for VM_DROPPABLE in vma prior to handling mm fault"}},{"before":"7b1012c6d5abef08c2409ec7be3423a991305370","after":"41c32169260827f81a55f5c832c4b334ad4c3586","ref":"refs/heads/master","pushedAt":"2024-07-12T01:34:24.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"selftests/vDSO: add tests for vgetrandom\n\nThis adds two tests for vgetrandom. The first one, vdso_test_chacha,\nsimply checks that the assembly implementation of chacha20 matches that\nof libsodium, a basic sanity check that should catch most errors. The\nsecond, vdso_test_getrandom, is a full \"libc-like\" implementation of the\nuserspace side of vgetrandom() support. It's meant to be used also as\nexample code for libcs that might be integrating this.\n\nCc: linux-kselftest@vger.kernel.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"selftests/vDSO: add tests for vgetrandom"}},{"before":"3c88b09b0b32a9c105dd1d8f11ffd60acc61971a","after":"aa077357c05753b59beefbe623c0e831bc8e999a","ref":"refs/heads/jd/vdso-test-harness","pushedAt":"2024-07-12T01:34:24.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests\n\nThis isn't intended for upstream. I'm used to testing things this way,\nso it's handy for me to do the vDSO work this way too.\n\nIntentionally no sign-off. Don't use this commit anywhere. For my own\nusage only.","shortMessageHtmlLink":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests"}},{"before":"4d9bf8d0b51061bf9a7fc10c364f39860d5c22ab","after":"aea7aa237980772fd476f0f3ae91a16cae5592ee","ref":"refs/heads/jd/vdso-skip-insn","pushedAt":"2024-07-12T01:34:24.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"x86: mm: Skip faulting instruction for VM_DROPPABLE faults\n\nCurrently, VM_DROPPABLE allocations fault in a limited way where the\nfaulting instruction was retried instead of skipped. Finish that up with\nthe platform-specific aspect of skipping the actual instruction.\n\nThis works on x86, where instructions are variable size, by copying\nuserspace's %rip to a stack buffer of size MAX_INSN_SIZE, decoding it,\nand then adding the length of the decoded instruction to userspace's\n%rip. In the event any of these fail, just fallback to not advancing\n%rip and trying again.\n\nCc: linux-mm@kvack.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"x86: mm: Skip faulting instruction for VM_DROPPABLE faults"}},{"before":"f20e334e47d33ecdcf40a4209b53a6c00ca6346a","after":"3c88b09b0b32a9c105dd1d8f11ffd60acc61971a","ref":"refs/heads/jd/vdso-test-harness","pushedAt":"2024-07-11T20:36:26.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests\n\nThis isn't intended for upstream. I'm used to testing things this way,\nso it's handy for me to do the vDSO work this way too.\n\nIntentionally no sign-off. Don't use this commit anywhere. For my own\nusage only.","shortMessageHtmlLink":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests"}},{"before":"adb8bc914cdcf82f8a6095dc3a0bc63691085a97","after":"4d9bf8d0b51061bf9a7fc10c364f39860d5c22ab","ref":"refs/heads/jd/vdso-skip-insn","pushedAt":"2024-07-11T20:36:26.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"x86: mm: Skip faulting instruction for VM_DROPPABLE faults\n\nCurrently, VM_DROPPABLE allocations fault in a limited way where the\nfaulting instruction was retried instead of skipped. Finish that up with\nthe platform-specific aspect of skipping the actual instruction.\n\nThis works on x86, where instructions are variable size, by copying\nuserspace's %rip to a stack buffer of size MAX_INSN_SIZE, decoding it,\nand then adding the length of the decoded instruction to userspace's\n%rip. In the event any of these fail, just fallback to not advancing\n%rip and trying again.\n\nCc: linux-mm@kvack.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"x86: mm: Skip faulting instruction for VM_DROPPABLE faults"}},{"before":"09c679f40c4f9df4ab6e8e71bd0fe8de15068dbc","after":"7b1012c6d5abef08c2409ec7be3423a991305370","ref":"refs/heads/master","pushedAt":"2024-07-11T20:35:19.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"selftests/vDSO: add tests for vgetrandom\n\nThis adds two tests for vgetrandom. The first one, vdso_test_chacha,\nsimply checks that the assembly implementation of chacha20 matches that\nof libsodium, a basic sanity check that should catch most errors. The\nsecond, vdso_test_getrandom, is a full \"libc-like\" implementation of the\nuserspace side of vgetrandom() support. It's meant to be used also as\nexample code for libcs that might be integrating this.\n\nCc: linux-kselftest@vger.kernel.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"selftests/vDSO: add tests for vgetrandom"}},{"before":"34afb82a3c67f869267a26f593b6f8fc6bf35905","after":"8a18fda0febb7790de20ec1c3b4522ce026be1c6","ref":"refs/heads/linus/master","pushedAt":"2024-07-11T20:35:19.000Z","pushType":"push","commitsCount":127,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"Merge tag 'spi-fix-v6.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi\n\nPull spi fixes from Mark Brown:\n \"This fixes two regressions that have been bubbling along for a large\n part of this release.\n\n One is a revert of the multi mode support for the OMAP SPI controller,\n this introduced regressions on a number of systems and while there has\n been progress on fixing those we've not got something that works for\n everyone yet so let's just drop the change for now.\n\n The other is a series of fixes from David Lechner for his recent\n message optimisation work, this interacted badly with spi-mux which\n is altogether too clever with recursive use of the bus and creates\n situations that hadn't been considered.\n\n There are also a couple of small driver specific fixes, including one\n more patch from David for sleep duration calculations in the AXI\n driver\"\n\n* tag 'spi-fix-v6.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:\n spi: mux: set ctlr->bits_per_word_mask\n spi: add defer_optimize_message controller flag\n spi: don't unoptimize message in spi_async()\n spi: omap2-mcspi: Revert multi mode support\n spi: davinci: Unset POWERDOWN bit when releasing resources\n spi: axi-spi-engine: fix sleep calculation\n spi: imx: Don't expect DMA for i.MX{25,35,50,51,53} cspi devices","shortMessageHtmlLink":"Merge tag 'spi-fix-v6.10-rc7' of git://git.kernel.org/pub/scm/linux/k…"}},{"before":"795bee550be51e7569fee080fd4196c020ed1e94","after":"f20e334e47d33ecdcf40a4209b53a6c00ca6346a","ref":"refs/heads/jd/vdso-test-harness","pushedAt":"2024-07-11T20:24:53.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests\n\nThis isn't intended for upstream. I'm used to testing things this way,\nso it's handy for me to do the vDSO work this way too.\n\nIntentionally no sign-off. Don't use this commit anywhere. For my own\nusage only.","shortMessageHtmlLink":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests"}},{"before":"7f3cb998369cc67452ecb7888906ec2e942deb83","after":"09c679f40c4f9df4ab6e8e71bd0fe8de15068dbc","ref":"refs/heads/master","pushedAt":"2024-07-11T20:24:34.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"selftests/vDSO: add tests for vgetrandom\n\nThis adds two tests for vgetrandom. The first one, vdso_test_chacha,\nsimply checks that the assembly implementation of chacha20 matches that\nof libsodium, a basic sanity check that should catch most errors. The\nsecond, vdso_test_getrandom, is a full \"libc-like\" implementation of the\nuserspace side of vgetrandom() support. It's meant to be used also as\nexample code for libcs that might be integrating this.\n\nCc: linux-kselftest@vger.kernel.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"selftests/vDSO: add tests for vgetrandom"}},{"before":null,"after":"9c32583226a971efbfbaf93ab5199cc3532ba696","ref":"refs/heads/jd/pte_dirty","pushedAt":"2024-07-11T20:16:36.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"mm: add MAP_DROPPABLE for designating always lazily freeable mappings\n\nThe vDSO getrandom() implementation works with a buffer allocated with a\nnew system call that has certain requirements:\n\n- It shouldn't be written to core dumps.\n * Easy: VM_DONTDUMP.\n- It should be zeroed on fork.\n * Easy: VM_WIPEONFORK.\n\n- It shouldn't be written to swap.\n * Uh-oh: mlock is rlimited.\n * Uh-oh: mlock isn't inherited by forks.\n\nIt turns out that the vDSO getrandom() function has three really nice\ncharacteristics that we can exploit to solve this problem:\n\n1) Due to being wiped during fork(), the vDSO code is already robust to\n having the contents of the pages it reads zeroed out midway through\n the function's execution.\n\n2) In the absolute worst case of whatever contingency we're coding for,\n we have the option to fallback to the getrandom() syscall, and\n everything is fine.\n\n3) The buffers the function uses are only ever useful for a maximum of\n 60 seconds -- a sort of cache, rather than a long term allocation.\n\nThese characteristics mean that we can introduce VM_DROPPABLE, which\nhas the following semantics:\n\na) It never is written out to swap.\nb) Under memory pressure, mm can just drop the pages (so that they're\n zero when read back again).\nc) It is inherited by fork.\nd) It doesn't count against the mlock budget, since nothing is locked.\n\nThis is fairly simple to implement, with the one snag that we have to\nuse 64-bit VM_* flags, but this shouldn't be a problem, since the only\nconsumers will probably be 64-bit anyway.\n\nThis way, allocations used by vDSO getrandom() can use:\n\n VM_DROPPABLE | VM_DONTDUMP | VM_WIPEONFORK | VM_NORESERVE\n\nAnd there will be no problem with using memory when not in use, not\nwiping on fork(), coredumps, or writing out to swap.\n\nIn order to let vDSO getrandom() use this, expose these via mmap(2) as\nMAP_DROPPABLE.\n\nFinally, the provided self test ensures that this is working as desired.\n\nCc: linux-mm@kvack.org\nAcked-by: David Hildenbrand \nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"mm: add MAP_DROPPABLE for designating always lazily freeable mappings"}},{"before":"8b4cebfeb3d820a285697ea821f0bdb0e62ffe18","after":"795bee550be51e7569fee080fd4196c020ed1e94","ref":"refs/heads/jd/vdso-test-harness","pushedAt":"2024-07-11T20:05:24.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests\n\nThis isn't intended for upstream. I'm used to testing things this way,\nso it's handy for me to do the vDSO work this way too.\n\nIntentionally no sign-off. Don't use this commit anywhere. For my own\nusage only.","shortMessageHtmlLink":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests"}},{"before":"9507f35ffebbc82eb35f6b2fdac13a9500163cd6","after":"7f3cb998369cc67452ecb7888906ec2e942deb83","ref":"refs/heads/master","pushedAt":"2024-07-11T20:05:24.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"selftests/vDSO: add tests for vgetrandom\n\nThis adds two tests for vgetrandom. The first one, vdso_test_chacha,\nsimply checks that the assembly implementation of chacha20 matches that\nof libsodium, a basic sanity check that should catch most errors. The\nsecond, vdso_test_getrandom, is a full \"libc-like\" implementation of the\nuserspace side of vgetrandom() support. It's meant to be used also as\nexample code for libcs that might be integrating this.\n\nCc: linux-kselftest@vger.kernel.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"selftests/vDSO: add tests for vgetrandom"}},{"before":"c20364b2ddab0b6d2d1a7f50789265b07bce3eb9","after":"8b4cebfeb3d820a285697ea821f0bdb0e62ffe18","ref":"refs/heads/jd/vdso-test-harness","pushedAt":"2024-07-10T03:47:57.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests\n\nThis isn't intended for upstream. I'm used to testing things this way,\nso it's handy for me to do the vDSO work this way too.\n\nIntentionally no sign-off. Don't use this commit anywhere. For my own\nusage only.","shortMessageHtmlLink":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests"}},{"before":"cfe4f95ff7328a47f5f6cbe413b9437901b82221","after":"adb8bc914cdcf82f8a6095dc3a0bc63691085a97","ref":"refs/heads/jd/vdso-skip-insn","pushedAt":"2024-07-10T03:47:57.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"x86: mm: Skip faulting instruction for VM_DROPPABLE faults\n\nCurrently, VM_DROPPABLE allocations fault in a limited way where the\nfaulting instruction was retried instead of skipped. Finish that up with\nthe platform-specific aspect of skipping the actual instruction.\n\nThis works on x86, where instructions are variable size, by copying\nuserspace's %rip to a stack buffer of size MAX_INSN_SIZE, decoding it,\nand then adding the length of the decoded instruction to userspace's\n%rip. In the event any of these fail, just fallback to not advancing\n%rip and trying again.\n\nCc: linux-mm@kvack.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"x86: mm: Skip faulting instruction for VM_DROPPABLE faults"}},{"before":"05e04541f3b92d0b85e201c29b0f6dbf68b8b5ae","after":"9507f35ffebbc82eb35f6b2fdac13a9500163cd6","ref":"refs/heads/master","pushedAt":"2024-07-10T03:46:46.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"selftests/vDSO: add tests for vgetrandom\n\nThis adds two tests for vgetrandom. The first one, vdso_test_chacha,\nsimply checks that the assembly implementation of chacha20 matches that\nof libsodium, a basic sanity check that should catch most errors. The\nsecond, vdso_test_getrandom, is a full \"libc-like\" implementation of the\nuserspace side of vgetrandom() support. It's meant to be used also as\nexample code for libcs that might be integrating this.\n\nCc: linux-kselftest@vger.kernel.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"selftests/vDSO: add tests for vgetrandom"}},{"before":"fb3b983465717c99fe51570f3f9298b7e33b16fb","after":"05e04541f3b92d0b85e201c29b0f6dbf68b8b5ae","ref":"refs/heads/master","pushedAt":"2024-07-10T03:45:29.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"selftests/vDSO: add tests for vgetrandom\n\nThis adds two tests for vgetrandom. The first one, vdso_test_chacha,\nsimply checks that the assembly implementation of chacha20 matches that\nof libsodium, a basic sanity check that should catch most errors. The\nsecond, vdso_test_getrandom, is a full \"libc-like\" implementation of the\nuserspace side of vgetrandom() support. It's meant to be used also as\nexample code for libcs that might be integrating this.\n\nCc: linux-kselftest@vger.kernel.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"selftests/vDSO: add tests for vgetrandom"}},{"before":"22a40d14b572deb80c0648557f4bd502d7e83826","after":"34afb82a3c67f869267a26f593b6f8fc6bf35905","ref":"refs/heads/linus/master","pushedAt":"2024-07-10T03:45:29.000Z","pushType":"push","commitsCount":245,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"Merge tag '6.10-rc6-smb3-server-fixes' of git://git.samba.org/ksmbd\n\nPull smb server fixes from Steve French:\n\n - fix access flags to address fuse incompatibility\n\n - fix device type returned by get filesystem info\n\n* tag '6.10-rc6-smb3-server-fixes' of git://git.samba.org/ksmbd:\n ksmbd: discard write access to the directory open\n ksmbd: return FILE_DEVICE_DISK instead of super magic","shortMessageHtmlLink":"Merge tag '6.10-rc6-smb3-server-fixes' of git://git.samba.org/ksmbd"}},{"before":"a64d7629ad9332b8d32ecb11720805877741b08a","after":"c20364b2ddab0b6d2d1a7f50789265b07bce3eb9","ref":"refs/heads/jd/vdso-test-harness","pushedAt":"2024-07-09T12:59:37.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests\n\nThis isn't intended for upstream. I'm used to testing things this way,\nso it's handy for me to do the vDSO work this way too.\n\nIntentionally no sign-off. Don't use this commit anywhere. For my own\nusage only.","shortMessageHtmlLink":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests"}},{"before":"ac7bc018286e599ed0a438016c4b999f4e2d807a","after":"cfe4f95ff7328a47f5f6cbe413b9437901b82221","ref":"refs/heads/jd/vdso-skip-insn","pushedAt":"2024-07-09T12:59:37.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"x86: mm: Skip faulting instruction for VM_DROPPABLE faults\n\nCurrently, VM_DROPPABLE allocations fault in a limited way where the\nfaulting instruction was retried instead of skipped. Finish that up with\nthe platform-specific aspect of skipping the actual instruction.\n\nThis works on x86, where instructions are variable size, by copying\nuserspace's %rip to a stack buffer of size MAX_INSN_SIZE, decoding it,\nand then adding the length of the decoded instruction to userspace's\n%rip. In the event any of these fail, just fallback to not advancing\n%rip and trying again.\n\nCc: linux-mm@kvack.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"x86: mm: Skip faulting instruction for VM_DROPPABLE faults"}},{"before":"594a5586f0228f44456e0bfc82d654702c1b98aa","after":"fb3b983465717c99fe51570f3f9298b7e33b16fb","ref":"refs/heads/master","pushedAt":"2024-07-09T12:59:10.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"selftests/vDSO: add tests for vgetrandom\n\nThis adds two tests for vgetrandom. The first one, vdso_test_chacha,\nsimply checks that the assembly implementation of chacha20 matches that\nof libsodium, a basic sanity check that should catch most errors. The\nsecond, vdso_test_getrandom, is a full \"libc-like\" implementation of the\nuserspace side of vgetrandom() support. It's meant to be used also as\nexample code for libcs that might be integrating this.\n\nCc: linux-kselftest@vger.kernel.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"selftests/vDSO: add tests for vgetrandom"}},{"before":"3d5dc4882706f0a39be74eac173ef994ce18e1f3","after":"594a5586f0228f44456e0bfc82d654702c1b98aa","ref":"refs/heads/master","pushedAt":"2024-07-09T03:34:52.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"selftests/vDSO: add tests for vgetrandom\n\nThis adds two tests for vgetrandom. The first one, vdso_test_chacha,\nsimply checks that the assembly implementation of chacha20 matches that\nof libsodium, a basic sanity check that should catch most errors. The\nsecond, vdso_test_getrandom, is a full \"libc-like\" implementation of the\nuserspace side of vgetrandom() support. It's meant to be used also as\nexample code for libcs that might be integrating this.\n\nCc: linux-kselftest@vger.kernel.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"selftests/vDSO: add tests for vgetrandom"}},{"before":"2743e0615d4e61c9d8d69e5c9eb335d202515766","after":"a64d7629ad9332b8d32ecb11720805877741b08a","ref":"refs/heads/jd/vdso-test-harness","pushedAt":"2024-07-09T03:34:52.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests\n\nThis isn't intended for upstream. I'm used to testing things this way,\nso it's handy for me to do the vDSO work this way too.\n\nIntentionally no sign-off. Don't use this commit anywhere. For my own\nusage only.","shortMessageHtmlLink":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests"}},{"before":"d0317b97dbe6013c9d84fd79f7a789669fdc6661","after":"ac7bc018286e599ed0a438016c4b999f4e2d807a","ref":"refs/heads/jd/vdso-skip-insn","pushedAt":"2024-07-09T03:34:52.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"x86: mm: Skip faulting instruction for VM_DROPPABLE faults\n\nCurrently, VM_DROPPABLE allocations fault in a limited way where the\nfaulting instruction was retried instead of skipped. Finish that up with\nthe platform-specific aspect of skipping the actual instruction.\n\nThis works on x86, where instructions are variable size, by copying\nuserspace's %rip to a stack buffer of size MAX_INSN_SIZE, decoding it,\nand then adding the length of the decoded instruction to userspace's\n%rip. In the event any of these fail, just fallback to not advancing\n%rip and trying again.\n\nCc: linux-mm@kvack.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"x86: mm: Skip faulting instruction for VM_DROPPABLE faults"}},{"before":"a05b68794b676c8eb9f9d5f7c6bbe14ac28d5caf","after":"2743e0615d4e61c9d8d69e5c9eb335d202515766","ref":"refs/heads/jd/vdso-test-harness","pushedAt":"2024-07-08T14:36:05.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests\n\nThis isn't intended for upstream. I'm used to testing things this way,\nso it's handy for me to do the vDSO work this way too.\n\nIntentionally no sign-off. Don't use this commit anywhere. For my own\nusage only.","shortMessageHtmlLink":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests"}},{"before":"e0a038ad2e51a09b1e7f7ade643dac1eb2a104bb","after":"3d5dc4882706f0a39be74eac173ef994ce18e1f3","ref":"refs/heads/master","pushedAt":"2024-07-08T14:36:05.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"selftests/vDSO: add tests for vgetrandom\n\nThis adds two tests for vgetrandom. The first one, vdso_test_chacha,\nsimply checks that the assembly implementation of chacha20 matches that\nof libsodium, a basic sanity check that should catch most errors. The\nsecond, vdso_test_getrandom, is a full \"libc-like\" implementation of the\nuserspace side of vgetrandom() support. It's meant to be used also as\nexample code for libcs that might be integrating this.\n\nCc: linux-kselftest@vger.kernel.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"selftests/vDSO: add tests for vgetrandom"}},{"before":"2f86e63c45c6691e975c9fb2b332a1456c55c77b","after":"d0317b97dbe6013c9d84fd79f7a789669fdc6661","ref":"refs/heads/jd/vdso-skip-insn","pushedAt":"2024-07-08T14:36:05.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"x86: mm: Skip faulting instruction for VM_DROPPABLE faults\n\nCurrently, VM_DROPPABLE allocations fault in a limited way where the\nfaulting instruction was retried instead of skipped. Finish that up with\nthe platform-specific aspect of skipping the actual instruction.\n\nThis works on x86, where instructions are variable size, by copying\nuserspace's %rip to a stack buffer of size MAX_INSN_SIZE, decoding it,\nand then adding the length of the decoded instruction to userspace's\n%rip. In the event any of these fail, just fallback to not advancing\n%rip and trying again.\n\nCc: linux-mm@kvack.org\nSigned-off-by: Jason A. Donenfeld ","shortMessageHtmlLink":"x86: mm: Skip faulting instruction for VM_DROPPABLE faults"}},{"before":"04a5123bac6b2f878e70de08ef3ee13f33cb09ed","after":"a05b68794b676c8eb9f9d5f7c6bbe14ac28d5caf","ref":"refs/heads/jd/vdso-test-harness","pushedAt":"2024-07-08T14:31:43.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zx2c4-bot","name":"Bot for git.zx2c4.com","path":"/zx2c4-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26463517?s=80&v=4"},"commit":{"message":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests\n\nThis isn't intended for upstream. I'm used to testing things this way,\nso it's handy for me to do the vDSO work this way too.\n\nIntentionally no sign-off. Don't use this commit anywhere. For my own\nusage only.","shortMessageHtmlLink":"wireguard: selftests: re-use/ab-use test harness to run vDSO tests"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEhC9sugA","startCursor":null,"endCursor":null}},"title":"Activity · zx2c4/linux-rng"}