diff options
author | 2017-10-11 20:57:12 -0400 | |
---|---|---|
committer | 2017-10-20 15:22:45 +1100 | |
commit | c0d1adefe0a3775cc16374dc9ebdfd8504afa14b (patch) | |
tree | 36d750f04d341a6e41f6eaccfe3307a29768cd81 /net/unix/af_unix.c | |
parent | capabilities: remove a layer of conditional logic (diff) | |
download | wireguard-linux-c0d1adefe0a3775cc16374dc9ebdfd8504afa14b.tar.xz wireguard-linux-c0d1adefe0a3775cc16374dc9ebdfd8504afa14b.zip |
capabilities: invert logic for clarity
The way the logic was presented, it was awkward to read and verify.
Invert the logic using DeMorgan's Law to be more easily able to read and
understand.
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Reviewed-by: Serge Hallyn <serge@hallyn.com>
Acked-by: James Morris <james.l.morris@oracle.com>
Acked-by: Kees Cook <keescook@chromium.org>
Okay-ished-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions