https://bugzilla.mindrot.org/show_bug.cgi?id=3537 Bug ID: 3537 Summary: OpenSSH build failed Product: Portable OpenSSH Version: -current Hardware: amd64 OS: Linux Status: NEW Severity: major Priority: P5 Component: Miscellaneous Assignee: unassigned-bugs at mindrot.org Reporter: xylene2016 at gmail.com Created attachment 3659 --> https://bugzilla.mindrot.org/attachment.cgi?id=3659&action=edit the output Fail to build OpenSSH since this commit 195313dfe10a23c82e9d56d5fdd2f59beee1bdcf (harden Linux seccomp sandbox) OS: RHEL 7 / CentOS 7 Please check the attachment. -- You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=3537 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dtucker at dtucker.net --- Comment #1 from Darren Tucker <dtucker at dtucker.net> --- Are MADV_FREE or MADV_WIPEONFORK declared in any header or are they just not present on this platform? -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=3537 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org Attachment #3660| |ok?(djm at mindrot.org) Flags| | --- Comment #2 from Darren Tucker <dtucker at dtucker.net> --- Created attachment 3660 --> https://bugzilla.mindrot.org/attachment.cgi?id=3660&action=edit Check if each arg to madvise is defined before attempting to use them If they're not defined then please try this patch. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=3537 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |3533 Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=3533 [Bug 3533] tracking bug for openssh-9.3 -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=3537 --- Comment #3 from John <xylene2016 at gmail.com> --- (In reply to Darren Tucker from comment #1)> Are MADV_FREE or MADV_WIPEONFORK declared in any header or are they > just not present on this platform?I found MADV_FREE and MADV_WIPEONFORK in /usr/include/asm-generic/mman.h , which included by /usr/include/asm/mman.h . And these 2 files are provided by kernel-headers-5.15.92-1.el7.x86_64 . -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=3537 --- Comment #4 from John <xylene2016 at gmail.com> --- Created attachment 3661 --> https://bugzilla.mindrot.org/attachment.cgi?id=3661&action=edit still failed -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=3537 --- Comment #5 from John <xylene2016 at gmail.com> --- I have tried the patch, still failed. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=3537 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #3660|ok?(djm at mindrot.org) |ok+ Flags| | --- Comment #6 from Damien Miller <djm at mindrot.org> --- Comment on attachment 3660 --> https://bugzilla.mindrot.org/attachment.cgi?id=3660 Check if each arg to madvise is defined before attempting to use them We might need to do something similar for the futex flags if people are building on older linux too -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=3537 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #3662| |ok?(dtucker at dtucker.net) Flags| | --- Comment #7 from Damien Miller <djm at mindrot.org> --- Created attachment 3662 --> https://bugzilla.mindrot.org/attachment.cgi?id=3662&action=edit compatibility for mmap flags Please try this patch in addition to Darren's -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=3537 --- Comment #8 from John <xylene2016 at gmail.com> --- Created attachment 3668 --> https://bugzilla.mindrot.org/attachment.cgi?id=3668&action=edit This patch worked. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=3537 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Miscellaneous |sshd Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #9 from Darren Tucker <dtucker at dtucker.net> --- Thanks for the report and confirming the fix. Patch applied and will be in the 9.3p1 release. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=3537 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #10 from Damien Miller <djm at mindrot.org> --- OpenSSH 9.3 has been released. Close resolved bugs -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
Seemingly Similar Threads
- [Bug 3533] New: tracking bug for openssh-9.3
- [PATCH v11 4/6] mm: function to offer a page block on the free list
- [PATCH v11 4/6] mm: function to offer a page block on the free list
- [PATCH v11 4/6] mm: function to offer a page block on the free list
- [PATCH v11 4/6] mm: function to offer a page block on the free list