pkgsrc/net/freeradius/patches
manu 81071de953 Fix startup crash when running outside of gdb on BSD systems
On BSD systems, ptrace(PT_DETACH) uses a third argument for
resume address, with the magic value (void *)1 to resume where
process stopped. Specifying NULL there leads to a crash because
process resumes at address 0.

We introduce an OS-dependent _PTRACE_DETACH macro to specify
third argument as NULL on Linux and (void *)1 on other systems.
Always using (void *)1 could be another solution, since basic
tests suggests passing (void *)1 as third argument on Linux
does not cause harm.

From upstream 1f8cd27b78
2018-12-19 22:52:32 +00:00
..
patch-ai freeradius: Updated to 3.0.16 2018-04-12 01:21:07 +00:00
patch-configure.ac freeradius: Updated to 3.0.16 2018-04-12 01:21:07 +00:00
patch-main_command.c
patch-main_util.c
patch-src_lib_debug.c Fix startup crash when running outside of gdb on BSD systems 2018-12-19 22:52:32 +00:00
patch-src_lib_udpfromto.c freeradius*: Update to 3.0.17. 2018-09-25 12:16:36 +00:00