filter_qualify: export trace_set set
Prepare for seccomp-assisted syscall filtering, using trace_set to initialize seccomp BPF. * filter_qualify.c (trace_set): Remove static qualifier. * number_set.h (trace_set): New declaration.
This commit is contained in:
parent
150655ca3e
commit
c72ea097a9
@ -36,11 +36,11 @@
|
||||
struct number_set *read_set;
|
||||
struct number_set *write_set;
|
||||
struct number_set *signal_set;
|
||||
struct number_set *trace_set;
|
||||
|
||||
static struct number_set *abbrev_set;
|
||||
static struct number_set *inject_set;
|
||||
static struct number_set *raw_set;
|
||||
static struct number_set *trace_set;
|
||||
static struct number_set *verbose_set;
|
||||
|
||||
/* Only syscall numbers are personality-specific so far. */
|
||||
|
@ -62,5 +62,6 @@ free_number_set_array(struct number_set *, unsigned int nmemb);
|
||||
extern struct number_set *read_set;
|
||||
extern struct number_set *write_set;
|
||||
extern struct number_set *signal_set;
|
||||
extern struct number_set *trace_set;
|
||||
|
||||
#endif /* !STRACE_NUMBER_SET_H */
|
||||
|
Loading…
Reference in New Issue
Block a user