Fix a bug in the userspace AVC that broke per-domain permissive mode.

Failure to copy the entire av_decision structure, including the
flags field, would prevent preservation of the SELINUX_AVD_FLAGS_PERMISSIVE
flag and thus cause per-domain permissive to not be honored for userspace
permission checks.

Also ensure that we clear the entire structure.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Coding style fix for sizeof operator.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
libselinux 2.2.2 - userspace AVC per-domain permissive handling fix.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Merge branch 'master' into next