Make some functions static and clean up a bit. Add missing dpath-related code.
Make some functions static and clean up a bit.
Add missing dpath-related code.

gnoack/seccomp-scopes,gnoack/seccomp-scopes,gnoack/seccomp-scopes