commit | 47031c8c880a43bff494fcdd1094499f538a8839 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Mon Dec 07 13:33:46 2020 -0800 |
committer | Tom Cherry <tomcherry@google.com> | Mon Dec 07 14:58:19 2020 -0800 |
tree | 0816ea273d86584e53b9bbe73f72b9950d079349 | |
parent | 77692aeea28a0781c0c918673ece565c28f15643 [diff] |
ueventd: add no_fnm_pathname option If a `*` appears within (but not at the end) of a /dev or /sys path in a ueventd.rc file, then that path is matched with fnmatch() using the FNM_PATHNAME, which means `*` will not match `/`. That is not always the intended behavior and this change creates the no_fnm_pathname option, which will not use the FNM_PATHNAME flag and will have `*` match `/`. Bug: 172880724 Test: these unit tests Change-Id: I85b813d89237dbf3af47564e5cbf6806df5d412f