Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/systrace_args.c
Show First 20 Lines • Show All 284 Lines • ▼ Show 20 Lines | systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) | ||||
} | } | ||||
/* dup */ | /* dup */ | ||||
case 41: { | case 41: { | ||||
struct dup_args *p = params; | struct dup_args *p = params; | ||||
uarg[0] = p->fd; /* u_int */ | uarg[0] = p->fd; /* u_int */ | ||||
*n_args = 1; | *n_args = 1; | ||||
break; | break; | ||||
} | } | ||||
/* pipe */ | |||||
case 42: { | |||||
*n_args = 0; | |||||
break; | |||||
} | |||||
/* getegid */ | /* getegid */ | ||||
case 43: { | case 43: { | ||||
*n_args = 0; | *n_args = 0; | ||||
break; | break; | ||||
} | } | ||||
/* profil */ | /* profil */ | ||||
case 44: { | case 44: { | ||||
struct profil_args *p = params; | struct profil_args *p = params; | ||||
▲ Show 20 Lines • Show All 3,464 Lines • ▼ Show 20 Lines | case 41: | ||||
switch(ndx) { | switch(ndx) { | ||||
case 0: | case 0: | ||||
p = "u_int"; | p = "u_int"; | ||||
break; | break; | ||||
default: | default: | ||||
break; | break; | ||||
}; | }; | ||||
break; | break; | ||||
/* pipe */ | |||||
case 42: | |||||
break; | |||||
/* getegid */ | /* getegid */ | ||||
case 43: | case 43: | ||||
break; | break; | ||||
/* profil */ | /* profil */ | ||||
case 44: | case 44: | ||||
switch(ndx) { | switch(ndx) { | ||||
case 0: | case 0: | ||||
p = "caddr_t"; | p = "caddr_t"; | ||||
▲ Show 20 Lines • Show All 5,246 Lines • ▼ Show 20 Lines | case 37: | ||||
break; | break; | ||||
/* getppid */ | /* getppid */ | ||||
case 39: | case 39: | ||||
/* dup */ | /* dup */ | ||||
case 41: | case 41: | ||||
if (ndx == 0 || ndx == 1) | if (ndx == 0 || ndx == 1) | ||||
p = "int"; | p = "int"; | ||||
break; | break; | ||||
/* pipe */ | |||||
case 42: | |||||
/* getegid */ | /* getegid */ | ||||
case 43: | case 43: | ||||
/* profil */ | /* profil */ | ||||
case 44: | case 44: | ||||
if (ndx == 0 || ndx == 1) | if (ndx == 0 || ndx == 1) | ||||
p = "int"; | p = "int"; | ||||
break; | break; | ||||
/* ktrace */ | /* ktrace */ | ||||
▲ Show 20 Lines • Show All 1,744 Lines • Show Last 20 Lines |