selinux: Improve size determinations in four functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 14 Jan 2017 10:22:12 +0000 (11:22 +0100)
committerPaul Moore <paul@paul-moore.com>
Thu, 23 Mar 2017 20:29:02 +0000 (16:29 -0400)
commitfb13a312daa11005b0230695a1d6a0b4e2b27069
tree6bfca9322e133504ecd97e9d55c8ac833b739dc6
parente34cfef901badc0e17c2b296a535e7412ef038f3
selinux: Improve size determinations in four functions

Replace the specification of data structures by pointer dereferences
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/conditional.c