[DTrace-devel] [PATCH 3/6] Check if the BPF PROG_LOAD is either -1 or else non-negative

Nick Alcock nick.alcock at oracle.com
Tue Apr 14 21:40:08 UTC 2026


On 31 Mar 2026, eugene loh outgrape:

> From: Eugene Loh <eugene.loh at oracle.com>
>
> The return value is supposed to be -1 or non-negative.  The current
> check lumps 0 with -1.
>
> Signed-off-by: Eugene Loh <eugene.loh at oracle.com>

Reviewed-by: Nick Alcock <nick.alcock at oracle.com>

-- 
NULL && (void)



More information about the DTrace-devel mailing list