Open SCAP Library
|
runlevel probe
2010/06/13 dkope This probe is able to process a runlevel_object as defined in OVAL 5.4 and 5.5. cek@ redha t.co m
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <limits.h>
#include <seap.h>
#include <probe-api.h>
#include <probe/probe.h>
#include <probe/entcmp.h>
#include <probe/option.h>
#include <alloc.h>
#include "common/debug_priv.h"
Data Structures | |
struct | runlevel_req |
struct | runlevel_rep |
Macros | |
#define | _BSD_SOURCE |
#define | _DEFAULT_SOURCE |
#define | RELEASENAME_MAX_SIZE 256 |
#define | RELEASENAME_PATTERN "CPE_NAME=\"%255s\"" |
Functions | |
int | probe_offline_mode_supported () |
In this function can be set supported type of offline mode. | |
int | probe_main (probe_ctx *ctx, void *arg) |