fsconfig: Use defined macro for masking

Mask opeation with CAP_ prefixed name can be wrapped with
CAP_MASK_LONG macro.

Change-Id: Ide31ad62fac0d28e7a02e45059fe6d2461da7e27
This commit is contained in:
doheon1.lee 2017-04-03 15:17:06 +09:00
parent 194e73dd15
commit 5cd3bcab86
1 changed files with 1 additions and 1 deletions

View File

@ -709,7 +709,7 @@ class FSConfigFileParser(object):
int(cap, 0)
tmp.append('(' + cap + ')')
except ValueError:
tmp.append('(1ULL << CAP_' + cap.upper() + ')')
tmp.append('CAP_MASK_LONG(CAP_' + cap.upper() + ')')
caps = tmp