Create Landlock Server Status Section

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Server Security 2026-07-31
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In landlock.cpp, add a class that subclasses ServerStatusSection and implements generateSection(). Register it using a ServerStatusSectionBuilder for both shard & router (similar to this line in mongod_main.cpp).

      The serverStatus output should have a landlock section, and under that, there should be a boolean field enabled reflecting the value of the security.landlock.enabled config option, and a abiVersion numeric field showing the discovered Landlock ABI version.

            Assignee:
            Karen Zhao
            Reporter:
            Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: