do not accept out of bounds PRI values

further reference: CVE-2014-3634
add invld.* selector, fix problem with previous patch
Merge branch 'v5.8.6-prifix' into v5.8.13-prifix
bugfix: improper handling of invalid PRI values

references: CVE-2014-3634
Merge branch 'v3-stable-prifix' into tmp

Conflicts:
	action.c
	runtime/rsyslog.h
fix compile problems and cleanup

most importantly, we do no longer use the LOG_FAC() and LOG_PRI() macro
names, which may conflict with systems names and may act other than
expected by a user.
fix wrong patch

comment was unended, was pure accident it compiled...
Merge branch 'v3-stable-prifix' into tmp

Conflicts:
	runtime/rsyslog.h
Merge branch 'v5.8.6-prifix' into v5.8.13-prifix

Conflicts:
	plugins/imklog/imklog.c
Merge branch 'v5.8.13-prifix' into v5-stable-prifix

Conflicts:
	plugins/imklog/imklog.c
	plugins/imklog/ksym.c
	runtime/rule.c
Merge branch 'v5-stable-prifix' into v7-stable-prifix

Conflicts:
	plugins/imklog/imklog.c
	plugins/imtemplate/imtemplate.c
	plugins/imuxsock/imuxsock.c
	runtime/msg.c
	runtime/rsyslog.h
	runtime/rule.c
	runtime/syslogd-types.h
	tools/syslogd.c
prevent compiler warnings
Merge branch 'v7-stable' into tmp

Conflicts:
	runtime/syslogd-types.h
consistent handling of invalid pri value
Merge branch 'v7-stable' into v7-stable-prifix
Merge branch 'v7-stable' into v7-stable-prifix
Merge branch 'v7-stable' into v7-stable-prifix
prepare for 7.6.6 release
fix off64_t problem (kinda...)
some more adjustments