]> sourceware.org Git - valgrind.git/commitdiff
Some more auxv extensions for FreeBSD 14
authorPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 13 Apr 2022 22:01:49 +0000 (00:01 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 13 Apr 2022 22:01:49 +0000 (00:01 +0200)
New entries added to testcase and documented in initimg.
May need more work

coregrind/m_initimg/initimg-freebsd.c
none/tests/freebsd/auxv.c

index 10d034eab66968dec68d357dab8072e8740834c2..bfa19077699705c70198a1f6365513c4781d8d99 100644 (file)
@@ -690,12 +690,17 @@ Addr setup_client_stack( void*  init_sp,
       case AT_ARGC:
       // case AT_ARGV:
       case AT_ENVC:
-         // case AT_ENVV:
-         // case AT_PS_STRINGS:
+      // case AT_ENVV:
+      // case AT_PS_STRINGS:
 #endif
 
 #if (FREEBSD_VERS >= FREEBSD_14)
-         // case AT_FXRNG:
+      // I think that this is a pointer to a "fenestrasX" structture
+      // lots of stuff that I don't understand
+      // arc4random, passing through VDSO page ...
+      // case AT_FXRNG:
+      // Again a pointer, to the VDSO base for use by rtld
+      // case AT_KPRELOAD:
 #endif
 
       case AT_PHDR:
index 689fb3d113e07277c157145d02dc124c663e45cb..ce13b6e131ae5a49c2df1bcc1e02f3af80abca85 100644 (file)
@@ -50,7 +50,9 @@ Elf_AuxStr aux_map[AT_COUNT] = {
 #endif
 #if (FREEBSD_VERS >= FREEBSD_14)
         {"AT_FXRNG", 33},
-//        {"AT_COUNT", 34},
+        {"AT_KPRELOAD", 34},
+
+//        {"AT_COUNT", 35},
 #endif
 };
 
This page took 1.498785 seconds and 5 git commands to generate.