Files
i2som-imx-linux/crypto
Milan Broz b446ad534a crypto: af_alg - properly label AF_ALG socket
commit 4c63f83c2c upstream.

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).

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2014-09-13 23:41:41 +01:00
..
2011-10-21 14:24:03 +02:00
2011-08-06 18:32:45 -07:00
2011-10-21 14:28:58 +02:00
2011-10-21 14:28:58 +02:00
2011-03-31 11:26:23 -03:00