diff options
author | Tom Cherry <tomcherry@google.com> | 2020-12-07 13:33:46 -0800 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2020-12-07 14:58:19 -0800 |
commit | 47031c8c880a43bff494fcdd1094499f538a8839 (patch) | |
tree | 0816ea273d86584e53b9bbe73f72b9950d079349 /trusty/coverage/coverage_test.cpp | |
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
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions