secpolicy_basic_exec
if ((error = secpolicy_basic_exec(CRED(), vp)) != 0) {
int secpolicy_basic_exec(const cred_t *, vnode_t *);