commit | b0f05080e2de4e49495b648b80dd9f97e1a6cdc5 | [log] [tgz] |
---|---|---|
author | Rob Herring <robh@kernel.org> | Fri May 06 12:28:48 2016 -0500 |
committer | Rob Herring <robh@kernel.org> | Wed May 11 09:20:19 2016 -0500 |
tree | 3072ce26eba6965e2a49b5ec1123031ccefd5951 | |
parent | 4a3c3ea979f8ab7a2fd38a39f98352c024140713 [diff] |
init: rework fixup_sys_perms to use perm_path_matches fixup_sys_perms does the same matching as the function perm_path_matches other than the leading '/sys'. Adjust the path and use the common matching function. Replace the fixed length C strings with std::string. Change-Id: Ic09d91aa4ac1f1096018617537d782b82ee9ef63 Signed-off-by: Rob Herring <robh@kernel.org>