summaryrefslogtreecommitdiffstats
path: root/tools/regression
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-04-13 16:09:40 +0000
committerrwatson <rwatson@FreeBSD.org>2001-04-13 16:09:40 +0000
commitd0cc80f44534a7ff717cfdbbd1cfed79016f9118 (patch)
treed49cc5ef016cc3026e40f53b4e67579b9ce5da33 /tools/regression
parent9ddf0bb57d7f7c069b16f8928d69206353417f01 (diff)
downloadFreeBSD-src-d0cc80f44534a7ff717cfdbbd1cfed79016f9118.zip
FreeBSD-src-d0cc80f44534a7ff717cfdbbd1cfed79016f9118.tar.gz
o s/debug/ptrace/ since shortly there will be tests involving other
forms of debugging. Obtained from: TrustedBSD Project
Diffstat (limited to 'tools/regression')
-rw-r--r--tools/regression/security/proc_to_proc/scenario.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/regression/security/proc_to_proc/scenario.c b/tools/regression/security/proc_to_proc/scenario.c
index 048c83a..242764d 100644
--- a/tools/regression/security/proc_to_proc/scenario.c
+++ b/tools/regression/security/proc_to_proc/scenario.c
@@ -53,7 +53,7 @@ struct cred {
*/
struct scenario {
struct cred *sc_cred1, *sc_cred2; /* credentials of p1 and p2 */
- int sc_candebug_errno; /* desired ptrace failure */
+ int sc_canptrace_errno; /* desired ptrace failure */
int sc_cansighup_errno; /* desired SIGHUP failure */
int sc_cansigsegv_errno; /* desired SIGSEGV failure */
int sc_cansee_errno; /* desired getprio failure */
@@ -86,7 +86,7 @@ static struct cred creds[] = {
* Table of scenarios.
*/
static const struct scenario scenarios[] = {
-/* cred1 cred2 debug sighup sigsegv see sched name */
+/* cred1 cred2 ptrace sighup sigsegv see sched name */
{ &creds[0], &creds[0], 0, 0, 0, 0, 0, "0. priv on priv"},
{ &creds[0], &creds[1], 0, 0, 0, 0, 0, "1. priv on priv"},
{ &creds[1], &creds[0], 0, 0, 0, 0, 0, "2. priv on priv"},
@@ -329,7 +329,7 @@ enact_scenario(int scenario)
error = errno;
name = "ptrace";
desirederror =
- scenarios[scenario].sc_candebug_errno;
+ scenarios[scenario].sc_canptrace_errno;
break;
case LOOP_SIGHUP:
error = kill(pid1, SIGHUP);
OpenPOWER on IntegriCloud