1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef __SB2_H
#define __SB2_H
#include <syscall.h>
#include <stdio.h>
#define DBGOUT(fmt...) fprintf(stderr, fmt)
int sb_next_execve(const char *filename, char *const argv [], char *const envp[]);
int do_exec(const char *file, char *const *argv, char *const *envp);
int ld_so_run_app(char *file, char **argv, char *const *envp);
int run_app(char *file, char **argv, char *const *envp);
int run_cputransparency(char *file, char **argv, char *const *envp);
int run_sbrsh(char *sbrsh_bin, char *target_root, char *file, char **argv, char *const *envp);
int run_qemu(char *qemu_bin, char *target_root, char *file, char **argv, char *const *envp);
time_t get_sb2_timestamp(void);
#endif
|