mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-12-14 06:58:44 +00:00
setfiles: Musl compatibility for GLOB_BRACE and GLOB_TILDE
musl doesn't implement GLOB_BRACE and GLOB_TILDE, so simply don't use them there. This only affects "setfiles -f", which I don't expect many people use, and it's undocumented anyway that it expands globs. Signed-off-by: Luis Ressel <aranea@aixah.de> Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
parent
ab0e27003e
commit
310470235a
@ -6,6 +6,14 @@
|
||||
#include "restore.h"
|
||||
#include <glob.h>
|
||||
|
||||
#ifndef GLOB_BRACE
|
||||
#define GLOB_BRACE 0
|
||||
#endif
|
||||
|
||||
#ifndef GLOB_TILDE
|
||||
#define GLOB_TILDE 0
|
||||
#endif
|
||||
|
||||
char **exclude_list;
|
||||
int exclude_count;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user