selinux: Improve another size determination in sens_read()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 14 Jan 2017 20:52:55 +0000 (21:52 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 29 Mar 2017 14:51:09 +0000 (10:51 -0400)
commitb5921191005d050d55cf4f3b10f60110f7ed2c24
tree4871a42b7cfd14c30f81c79ed526c7d949db8ffe
parent3c354d7d7bd5e788c3d94969e4a85648d29d9d12
selinux: Improve another size determination in sens_read()

Replace the specification of a data type by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.

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