25 #include "oscap_platforms.h"
27 #include <sys/types.h>
41 #include "probe-common.h"
43 #include "common/util.h"
44 #include "common/compat_pthread_barrier.h"
48 #define OSCAP_PROBE_MEMORY_USAGE_RATIO_DEFAULT 0.33
53 #define OSCAP_PROBE_COLLECT_UNLIMITED 0
56 pthread_rwlock_t rwlock;
81 int supported_offline_mode;
82 int selected_offline_mode;
96 size_t collected_items;
97 size_t max_collected_items;
102 PROBE_OFFLINE_NONE = 0x00,
103 PROBE_OFFLINE_CHROOT = 0x01,
104 PROBE_OFFLINE_OWN = 0x04,
105 PROBE_OFFLINE_ALL = 0x0f
106 } probe_offline_flags;
108 extern pthread_barrier_t OSCAP_GSYM(th_barrier);
oval_subtype_t
Unknown subtypes.
Definition: oval_types.h:127
Definition: _seap-types.h:51
Definition: sexp-types.h:82
probe_icache_t * icache
item cache
Definition: probe.h:93
SEXP_t * probe_in
S-exp representation of the input object.
Definition: probe.h:90
SEXP_t * probe_out
collected object
Definition: probe.h:91
SEXP_t * filters
object filters (OVAL 5.8 and higher)
Definition: probe.h:92
Element name cache structure.
Definition: ncache.h:36
Probe cache structure.
Definition: rcache.h:32
probe_rcache_t * rcache
probe result cache
Definition: probe.h:74
probe_icache_t * icache
probe item cache
Definition: probe.h:76
probe_ncache_t * ncache
probe name cache
Definition: probe.h:75
size_t optcnt
number of defined options
Definition: probe.h:79
SEAP_CTX_t * SEAP_ctx
SEAP context.
Definition: probe.h:64
probe_option_t * option
probe option handlers
Definition: probe.h:78
int sd
SEAP descriptor.
Definition: probe.h:65
Definition: rbt_common.h:129