Project

General

Profile

Bug #12296

unix: access_mask_check() warn: bitwise AND condition is false here

Added by Toomas Soome 8 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

/code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: ../../../common/acl/acl_common.c:879 access_mask_check() warn: bitwise AND condition is false here

the ACE_ACCESS_ALLOWED_ACE_TYPE is 0, therefore & operator makes little sense there, use == instead.

Also available in: Atom PDF