Xen Test Framework
Macros | Functions | Variables
main.c File Reference

Live Patch Privilege Check More...

#include <xtf.h>
+ Include dependency graph for main.c:

Go to the source code of this file.

Macros

#define TEST_NAME   "foo"
 
#define NR_PAYLOADS   8
 

Functions

static void check_ret (const char *test, int rc)
 
static void test_upload (void)
 
static void test_list (void)
 
static void test_get (void)
 
static void test_action (uint32_t action)
 
void test_main (void)
 To be implemented by each test, as its entry point. More...
 

Variables

const char test_title [] = "Live Patch Privilege Check"
 The title of the test. More...
 
static int sysctl_interface_version
 

Detailed Description

Live Patch Privilege Check

Definition in file main.c.

Macro Definition Documentation

◆ TEST_NAME

#define TEST_NAME   "foo"

Definition at line 36 of file main.c.

◆ NR_PAYLOADS

#define NR_PAYLOADS   8

Definition at line 61 of file main.c.

Function Documentation

◆ check_ret()

static void check_ret ( const char *  test,
int  rc 
)
static

Definition at line 18 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ test_upload()

static void test_upload ( void  )
static

Definition at line 38 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ test_list()

static void test_list ( void  )
static

Definition at line 63 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ test_get()

static void test_get ( void  )
static

Definition at line 86 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ test_action()

static void test_action ( uint32_t  action)
static

Definition at line 106 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ test_main()

void test_main ( void  )

To be implemented by each test, as its entry point.

Definition at line 128 of file main.c.

+ Here is the call graph for this function:

Variable Documentation

◆ test_title

const char test_title[] = "Live Patch Privilege Check"

The title of the test.

Definition at line 14 of file main.c.

◆ sysctl_interface_version

int sysctl_interface_version
static

Definition at line 16 of file main.c.