Skip to content

audit: fix syscall rules for aarch64 and FSS audit path#1806

Merged
brianmcgillion merged 1 commit intotiiuae:mainfrom
everton-dematos:pr_audit_nvidia
Mar 6, 2026
Merged

audit: fix syscall rules for aarch64 and FSS audit path#1806
brianmcgillion merged 1 commit intotiiuae:mainfrom
everton-dematos:pr_audit_nvidia

Conversation

@everton-dematos
Copy link
Copy Markdown
Contributor

Description of Changes

This PR fixes issues in the Ghaf audit configuration (https://jira.tii.ae/browse/SSRCSP-8066).

  • Architecture-specific audit rules: Some syscall rules included syscalls not available on aarch64. The rules are now generated conditionally to ensure compatibility across architectures.
  • FSS audit path fix: The audit rule now monitors the shared FSS base directory instead of the VM-specific key directory. This avoids failures during early boot when the VM-specific path may not yet exist.
  • Tested on Nvidia AGX and Lenovo X1.

Type of Change

  • New Feature
  • Bug Fix
  • Improvement / Refactor

Related Issues / Tickets

https://jira.tii.ae/browse/SSRCSP-8066

Checklist

  • Clear summary in PR description
  • Detailed and meaningful commit message(s)
  • Commits are logically organized and squashed if appropriate
  • Contribution guidelines followed
  • Ghaf documentation updated with the commit - https://tiiuae.github.io/ghaf/
  • Author has run make-checks and it passes
  • All automatic GitHub Action checks pass - see actions
  • Author has added reviewers and removed PR draft status

Testing Instructions

Applicable Targets

  • Orin AGX aarch64
  • Orin NX aarch64
  • Lenovo X1 x86_64
  • Dell Latitude x86_64
  • System 76 x86_64

Installation Method

  • Requires full re-installation
  • Can be updated with nixos-rebuild ... switch
  • Other:

Test Steps To Verify:

  1. Check systemctl status in admin-vm and net-vm
  2. Expected output:
image

Signed-off-by: Everton de Matos <everton.dematos@tii.ae>
Copy link
Copy Markdown
Collaborator

@brianmcgillion brianmcgillion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice one

@brianmcgillion brianmcgillion merged commit bb5aa2f into tiiuae:main Mar 6, 2026
32 checks passed
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.

2 participants