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:
parent
194e73dd15
commit
5cd3bcab86
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue