stand/module: skip is only used by veriexec
Sponsored by: Netflix
This commit is contained in:
parent
7a7a464c7e
commit
f037731345
@ -113,9 +113,8 @@ command_load(int argc, char *argv[])
|
|||||||
struct preloaded_file *fp;
|
struct preloaded_file *fp;
|
||||||
char *typestr;
|
char *typestr;
|
||||||
#ifdef LOADER_VERIEXEC
|
#ifdef LOADER_VERIEXEC
|
||||||
char *prefix;
|
char *prefix, *skip;
|
||||||
#endif
|
#endif
|
||||||
char *skip;
|
|
||||||
int dflag, dofile, dokld, ch, error;
|
int dflag, dofile, dokld, ch, error;
|
||||||
|
|
||||||
dflag = dokld = dofile = 0;
|
dflag = dokld = dofile = 0;
|
||||||
@ -128,8 +127,8 @@ command_load(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
#ifdef LOADER_VERIEXEC
|
#ifdef LOADER_VERIEXEC
|
||||||
prefix = NULL;
|
prefix = NULL;
|
||||||
#endif
|
|
||||||
skip = NULL;
|
skip = NULL;
|
||||||
|
#endif
|
||||||
while ((ch = getopt(argc, argv, "dkp:s:t:")) != -1) {
|
while ((ch = getopt(argc, argv, "dkp:s:t:")) != -1) {
|
||||||
switch(ch) {
|
switch(ch) {
|
||||||
case 'd':
|
case 'd':
|
||||||
@ -142,10 +141,10 @@ command_load(int argc, char *argv[])
|
|||||||
case 'p':
|
case 'p':
|
||||||
prefix = optarg;
|
prefix = optarg;
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
case 's':
|
case 's':
|
||||||
skip = optarg;
|
skip = optarg;
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case 't':
|
case 't':
|
||||||
typestr = optarg;
|
typestr = optarg;
|
||||||
dofile = 1;
|
dofile = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user