Files
Milan Broz aa3fc97937 crypto: af_alg - properly label AF_ALG socket
Th AF_ALG socket was missing a security label (e.g. SELinux)
which means that socket was in "unlabeled" state.

This was recently demonstrated in the cryptsetup package
(cryptsetup v1.6.5 and later.)
See https://bugzilla.redhat.com/show_bug.cgi?id=1115120

This patch clones the sock's label from the parent sock
and resolves the issue (similar to AF_BLUETOOTH protocol family).

Cc: stable@vger.kernel.org
Signed-off-by: Milan Broz <gmazyland@gmail.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from 4c63f83c2c2e16a13ce274ee678e28246bd33645)
BugLink: http://bugs.launchpad.net/bugs/1489327
Signed-off-by: Simon Fels <simon.fels@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2015-09-03 10:06:45 -06:00
..
2010-02-16 20:26:46 +08:00
2010-12-02 14:47:16 +08:00
2010-11-13 21:47:55 +09:00
2010-02-16 20:29:45 +08:00
2015-09-03 10:06:45 -06:00
2010-05-26 10:36:51 +10:00
2008-06-02 15:46:51 +10:00
2010-02-16 20:33:49 +08:00
2010-12-02 14:47:16 +08:00
2008-08-29 15:50:02 +10:00
2010-12-02 14:47:16 +08:00
2011-10-21 14:24:03 +02:00
2015-09-03 10:06:45 -06:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2015-09-03 10:06:45 -06:00
2011-08-06 18:32:45 -07:00
2007-10-10 16:55:38 -07:00
2015-09-03 10:06:45 -06:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:02:21 +11:00