Read SMACK capability only once
authorKichan Kwon <k_c.kwon@samsung.com>
Thu, 2 Jul 2020 03:35:36 +0000 (12:35 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Thu, 2 Jul 2020 03:59:35 +0000 (12:59 +0900)
commitc69d34d372e52cc23521b94f919486318a86bec1
treedae6c043b53b94481c5dd20e5bc3b79a2647e9cd
parentca7dad4348fa6ae53f760e7dcf018cd3cc5acbd3
Read SMACK capability only once

- chsmack_attr tries to read all capabilities
  though some capabilities aren't SMACK attribute
- security.capability is raw binary having NULL byte,
  so attr prints warning message
  - warning: command substitution: ignored null byte in input
- It doesn't cause the problem on making delta,
  but chsmack_attr will read only SMACK capability
  to remove meaningless message

Change-Id: Ibb06ad73cfe4d04c26d84e6669f5bdfc1559ec43
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
mk_delta/common/bin/extended_attr.sh