summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-03-23 23:34:22 +0000
committerJohn Johansen <john.johansen@canonical.com>2018-03-23 17:25:25 -0700
commita61ecd329cfa951b7d36c13e9e2a07e7761c0e89 (patch)
treec92710e501d822e36598c816887a5fca2bb11c21 /ipc
parente540c3c901934e23e5eaa9adec8aba1af317220c (diff)
downloadop-kernel-dev-a61ecd329cfa951b7d36c13e9e2a07e7761c0e89.zip
op-kernel-dev-a61ecd329cfa951b7d36c13e9e2a07e7761c0e89.tar.gz
apparmor: fix error returns checks by making size a ssize_t
Currently variable size is a unsigned size_t, hence comparisons to see if it is less than zero (for error checking) will always be false. Fix this by making size a ssize_t Detected by CoverityScan, CID#1466080 ("Unsigned compared against 0") Fixes: 8e51f9087f40 ("apparmor: Add support for attaching profiles via xattr, presence and value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud