sysusers: add a generic specifier table for common cases
This moves the definition of the specifier table consisting only of system and /tmp specifiers into generic code so that we can share it. This patch only adds one user of it for now. Follow-up patches will add more.
This commit is contained in:
@@ -364,3 +364,9 @@ int specifier_escape_strv(char **l, char ***ret) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
const Specifier system_and_tmp_specifier_table[] = {
|
||||
COMMON_SYSTEM_SPECIFIERS,
|
||||
COMMON_TMP_SPECIFIERS,
|
||||
{}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user