File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -238,8 +238,8 @@ def test_no_new_privs(self):
238238
239239 @require ('pac_reset_keys' )
240240 def test_pac_reset_keys (self ):
241- if self .arch == 'arm64' :
242- # FIXME untested
241+ if self .arch in ( 'arm64' , 'aarch64' ) :
242+ # FIXME untested on arm64
243243 self .assertEqual (prctl .pac_reset_keys (prctl .PAC_APIAKEY ), None )
244244 self .assertRaises (ValueError , prctl .pac_reset_keys , 0xff )
245245 else :
@@ -370,7 +370,7 @@ def test_timing(self):
370370 @require ('set_tsc' )
371371 def test_tsc (self ):
372372 """Test manipulation of the timestamp counter flag"""
373- if re .match ('i.86|x86_64' , self .arch ):
373+ if re .match ('i.86|x86_64' , self .arch ) or self . arch == 'aarch64' :
374374 prctl .set_tsc (prctl .TSC_SIGSEGV )
375375 self .assertEqual (prctl .get_tsc (), prctl .TSC_SIGSEGV )
376376 prctl .set_tsc (prctl .TSC_ENABLE )
You can’t perform that action at this time.
0 commit comments