-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unit-file: tighten unit file discovery checks
Only accept DT_REG/DT_LNK/DT_DIR entries, ignore all others. Only accpet DT_REG/DT_LNK for file names that are valid unit file names. Only accept DT_DIR for filenames that are valid unit file names which are suffixed by .d, .wants, .requires This doesn't really fix any bugs, but tightens what we insert into the lookup tables.
- Loading branch information
1 parent
f813515
commit 787fdd8
Showing
1 changed file
with
40 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters