bpf: Refactor code that inserts instructions into BPF state
bpf: Refactor code that inserts instructions into BPF state

This commit adds a function - _gen_bpf_insert() - that
inserts an instruction block into the BPF state and
creates the linked list connections for that newly-inserted
block.

Signed-off-by: Tom Hromatka <96b9c1f2c09b98d7a09b4688fc637f1494d8e182@oracle.com>
Signed-off-by: Paul Moore <a027184a55211cd23e3f3094f1fdc728df5e0500@paul-moore.com>

seccomp/libseccomp,seccomp/libseccomp,seccomp/libseccomp