Skip to content

fix: harden_sysctl/harden_attack_surface robustness - #27

Merged
neohiro merged 1 commit into
mainfrom
fix/hardening-robustness
Oct 9, 2026
Merged

neohiro merged 1 commit into
mainfrom
fix/hardening-robustness

Conversation

@neohiro

@neohiro neohiro commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Small correctness/robustness follow-up, no behavior change except safer guards:

  • Skip user.max_user_namespaces=0 when container runtimes are present.
  • Make sysctl metrics counting robust against grep -c exit status.
  • Back up sshd_config.d drop-ins before SSH crypto changes and revert them on failure.

Validation: bash -n clean locally; CI must pass before merge.

- Skip user.max_user_namespaces=0 when container runtimes are present.
- Make sysctl metrics counting robust against grep -c exit status.
- Back up sshd_config.d drop-ins before SSH crypto changes and revert them.
@neohiro
neohiro merged commit e4a0e6b into main Oct 9, 2026
8 checks passed
@neohiro
neohiro deleted the fix/hardening-robustness branch October 9, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant