Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dracut-functions): avoid calling grep with PCRE (-P)
Invoking grep in Perl mode requires JIT'ing the Perl regex. This can run into issues with SELinix policy which will generally try to limit use of execmem in general purpose scripts. This occurs since the JIT'd code will live in executable memory. The PCRE only '\K' command in the Perl REGEX can be replaced by a call to awk instead.
- Loading branch information