Skip to content

Commit

Permalink
Backout synthesizing AT_BSDFLAGS auxv entry
Browse files Browse the repository at this point in the history
This was causing a crash on several FreeBSD 13.1 testcases
(but not 13.0). Probably related to "sig fastblock".
  • Loading branch information
paulfloyd authored and wlemkows committed Jan 3, 2023
1 parent a756508 commit 6bb8526
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion coregrind/m_initimg/initimg-freebsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,9 @@ Addr setup_client_stack( void* init_sp,
#endif

#if (FREEBSD_VERS >= FREEBSD_13_0)
case AT_BSDFLAGS:
/* @todo PJF BSDFLAGS causes serveral testcases to crash.
Not sure why, it seems to be used for sigfastblock */
// case AT_BSDFLAGS:
case AT_ARGC:
case AT_ENVC:
break;
Expand Down
2 changes: 1 addition & 1 deletion none/tests/freebsd/auxv.stderr.exp-freebsd13
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ val: AT_PAGESIZES int: 20 ptr: 0x........
val: AT_PAGESIZESLEN int: 21 ptr: 0x........
val: AT_IGNORE int: 01 ptr: 0x........
val: AT_STACKPROT int: 23 ptr: 0x........
val: AT_BSDFLAGS int: 27 ptr: 0x........
val: AT_IGNORE int: 01 ptr: 0x........
val: AT_ARGC int: 28 ptr: 0x........
val: AT_ARGV int: 29 ptr: 0x........
val: AT_ENVC int: 30 ptr: 0x........
Expand Down
2 changes: 1 addition & 1 deletion none/tests/freebsd/auxv.stderr.exp-freebsd131
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ val: AT_PAGESIZES int: 20 ptr: 0x........
val: AT_PAGESIZESLEN int: 21 ptr: 0x........
val: AT_IGNORE int: 01 ptr: 0x........
val: AT_STACKPROT int: 23 ptr: 0x........
val: AT_BSDFLAGS int: 27 ptr: 0x........
val: AT_IGNORE int: 01 ptr: 0x........
val: AT_ARGC int: 28 ptr: 0x........
val: AT_ARGV int: 29 ptr: 0x........
val: AT_ENVC int: 30 ptr: 0x........
Expand Down

0 comments on commit 6bb8526

Please sign in to comment.