Skip to content
  • Shawn Webb's avatar
    Fix SMAP violation · 730801e0
    Shawn Webb authored
    
    
    Under the right conditions, secadm may cause a kernel panic due to an
    SMAP violation:
    
    1. kldload secadm
    2. secadm add integriforce
    3. secadm show
    4. secadm flush
    5. secadm add integriforce
    6. secadm show <- panic here
    
    Signed-off-by: default avatarShawn Webb <shawn.webb@hardenedbsd.org>
    Reported-by:	Airbus CyberSecurity SAS
    Submitted-by:	Airbus CyberSecurity SAS
    730801e0