On 3/15/23 18:18, Eric Blake wrote:
> On Wed, Mar 15, 2023 at 12:01:56PM +0100, Laszlo Ersek wrote:
>> Add an assert() variant that we may call between fork() and exec*().
>>
>> Signed-off-by: Laszlo Ersek
>> ---
>>
>
>> +void
>> +nbd_internal_fork_safe_assert (int result, const char *file, long
On Wed, Mar 15, 2023 at 12:01:56PM +0100, Laszlo Ersek wrote:
> Add an assert() variant that we may call between fork() and exec*().
>
> Signed-off-by: Laszlo Ersek
> ---
>
> +void
> +nbd_internal_fork_safe_assert (int result, const char *file, long line,
> + const
Add an assert() variant that we may call between fork() and exec*().
Signed-off-by: Laszlo Ersek
---
Notes:
v4:
- rework with xwritel()
- do not pick up R-b tags due to the above
context:-U13
lib/internal.h | 13 +
lib/utils.c| 16