fix kill(-1, signo) fail on FreeBSD

In freebsd, if there is no other processes for current user kill(-1, signo) will fail with error "permission denied"