apparmor/common
Tyler Hicks ae9d172f7e parser: Allow AF_UNSPEC family in network rules
https://launchpad.net/bugs/1546455

Don't filter out AF_UNSPEC from the list of valid protocol families so
that the parser will accept rules such as 'network unspec,'.

There are certain syscalls, such as socket(2), where the LSM hooks are
called before the protocol family is validated. In these cases, AppArmor
was emitting denials even though socket(2) will eventually fail. There
may be cases where AF_UNSPEC sockets are accepted and we need to make
sure that we're mediating those appropriately.

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Suggested-by: Steve Beattie <steve@nxnw.org>
Acked-by: John Johansen <john.johansen@canonical.com>
2016-02-18 12:33:20 -06:00
..
apparmor.css Subject: Move make targets from docs/ to common/Make.rules 2007-04-03 18:51:56 +00:00
Make-po.rules This patch makes it possible to override the default set of language 2011-05-20 13:34:29 -07:00
Make.rules parser: Allow AF_UNSPEC family in network rules 2016-02-18 12:33:20 -06:00
Version common/Version: prepare for a 2.9.3 release 2015-04-23 22:26:32 -07:00