commit | e5636a3fcea9ee5e34f839aa72be5c507f6c93fa | [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 | fc2a8b2bd605e4639db0feaab49c516c0ae90180 [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>