security hardening: ensure suid programs have valid stdin/out/err
[musl] / arch / x86_64 / atomic.h
index 3235db1..0d3da6f 100644 (file)
@@ -118,5 +118,10 @@ static inline void a_spin()
        __asm__ __volatile__( "pause" : : : "memory" );
 }
 
+static inline void a_crash()
+{
+       __asm__ __volatile__( "hlt" : : : "memory" );
+}
+
 
 #endif