Skip to content

0004 kyua: add jail support#4

Closed
ihoro wants to merge 79 commits intomainfrom
0004-kyua-jail-support
Closed

0004 kyua: add jail support#4
ihoro wants to merge 79 commits intomainfrom
0004-kyua-jail-support

Conversation

@ihoro
Copy link
Copy Markdown
Owner

@ihoro ihoro commented Oct 22, 2023

No description provided.

@ihoro ihoro changed the title kyua: quick PoC of jail support 0004 kyua: quick PoC of jail support Oct 22, 2023
@ihoro ihoro changed the title 0004 kyua: quick PoC of jail support 0004 kyua: add jail support Oct 27, 2023
@ihoro ihoro force-pushed the 0004-kyua-jail-support branch from fa8236c to 8380e87 Compare October 27, 2023 18:52
@ihoro ihoro force-pushed the 0004-kyua-jail-support branch from cfd45ea to fef0d00 Compare January 8, 2024 10:58
@ihoro ihoro force-pushed the 0004-kyua-jail-support branch 3 times, most recently from 3d0082c to fe5bf1e Compare January 21, 2024 22:10
@ihoro ihoro force-pushed the 0004-kyua-jail-support branch from e0a8ff4 to c84b821 Compare January 26, 2024 18:53
@ihoro ihoro force-pushed the 0004-kyua-jail-support branch 2 times, most recently from 921d8ce to 8be0659 Compare February 26, 2024 14:49
@ihoro ihoro force-pushed the 0004-kyua-jail-support branch from 6a5fabe to b1ec83a Compare March 22, 2024 13:21
@ihoro ihoro force-pushed the 0004-kyua-jail-support branch from 9e6c223 to df4f7a7 Compare May 27, 2024 08:39
@ihoro
Copy link
Copy Markdown
Owner Author

ihoro commented Aug 15, 2024

Landed: https://reviews.freebsd.org/D45865

@ihoro ihoro added the Landed Committed to the official repo label Aug 15, 2024
@ihoro ihoro closed this Aug 15, 2024
ihoro pushed a commit that referenced this pull request Nov 15, 2024
Avoid calling _callout_stop_safe with a non-sleepable lock held when
detaching by initializing callout_init_rw() with CALLOUT_SHAREDLOCK.

It avoids the following WITNESS warning when stopping the service:

    # service ipfilter stop
    calling _callout_stop_safe with the following non-sleepable locks held:
    shared rw ipf filter load/unload mutex (ipf filter load/unload mutex) r = 0 (0xffff0000417c7530) locked @ /usr/src/sys/netpfil/ipfilter/netinet/fil.c:7926
    stack backtrace:
    #0 0xffff00000052d394 at witness_debugger+0x60
    #1 0xffff00000052e620 at witness_warn+0x404
    #2 0xffff0000004d4ffc at _callout_stop_safe+0x8c
    #3 0xffff0000f7236674 at ipfdetach+0x3c
    #4 0xffff0000f723fa4c at ipf_ipf_ioctl+0x788
    #5 0xffff0000f72367e0 at ipfioctl+0x144
    #6 0xffff00000034abd8 at devfs_ioctl+0x100
    #7 0xffff0000005c66a0 at vn_ioctl+0xbc
    #8 0xffff00000034b2cc at devfs_ioctl_f+0x24
    #9 0xffff0000005331ec at kern_ioctl+0x2e0
    #10 0xffff000000532eb4 at sys_ioctl+0x140
    #11 0xffff000000880480 at do_el0_sync+0x604
    #12 0xffff0000008579ac at handle_el0_sync+0x4c

PR:		282478
Suggested by:	markj
Reviewed by:	cy
Approved by:	emaste (mentor)
MFC after:	1 week
@ihoro ihoro added the MFC'ed label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Landed Committed to the official repo MFC'ed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant