summaryrefslogtreecommitdiff
path: root/security/integrity/integrity.h
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.vnet.ibm.com>2018-01-17 21:27:11 +0300
committerMimi Zohar <zohar@linux.vnet.ibm.com>2018-01-19 00:52:49 +0300
commit36447456e1cca853188505f2a964dbbeacfc7a7a (patch)
tree8adc810107a7f9b6943aff2d693fd15e54ddc96f /security/integrity/integrity.h
parenta2a2c3c8580a9158bca61221648fd6d5c98c443a (diff)
downloadlinux-36447456e1cca853188505f2a964dbbeacfc7a7a.tar.xz
ima/policy: fix parsing of fsuuid
The switch to uuid_t invereted the logic of verfication that &entry->fsuuid is zero during parsing of "fsuuid=" rule. Instead of making sure the &entry->fsuuid field is not attempted to be overwritten, we bail out for perfectly correct rule. Fixes: 787d8c530af7 ("ima/policy: switch to use uuid_t") Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Cc: stable@vger.kernel.org Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'security/integrity/integrity.h')
0 files changed, 0 insertions, 0 deletions