diff options
author | Sebastien Marie <semarie@cvs.openbsd.org> | 2015-08-23 04:59:32 +0000 |
---|---|---|
committer | Sebastien Marie <semarie@cvs.openbsd.org> | 2015-08-23 04:59:32 +0000 |
commit | 08c94d0c78922bf06d45f8319aa7a95f91edf277 (patch) | |
tree | f9a2a6ae92612b2bb635e99bbea55696077bf112 /regress/sys/kern | |
parent | 346b23cdf894624510b279529401cebd3649256e (diff) |
convert to new tame(2) ABI/API
Diffstat (limited to 'regress/sys/kern')
-rw-r--r-- | regress/sys/kern/tame/sigabrt/sigabrt.c | 4 | ||||
-rw-r--r-- | regress/sys/kern/tame/sigkill/sigkill.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/regress/sys/kern/tame/sigabrt/sigabrt.c b/regress/sys/kern/tame/sigabrt/sigabrt.c index 8b6d501f88e..4b6ec4aba56 100644 --- a/regress/sys/kern/tame/sigabrt/sigabrt.c +++ b/regress/sys/kern/tame/sigabrt/sigabrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sigabrt.c,v 1.1 2015/07/27 18:03:36 semarie Exp $ */ +/* $OpenBSD: sigabrt.c,v 1.2 2015/08/23 04:59:31 semarie Exp $ */ /* * Copyright (c) 2015 Sebastien Marie <semarie@openbsd.org> * @@ -37,7 +37,7 @@ main(int argc, char *argv[]) printf("permitted STDIO\n"); fflush(stdout); - tame(TAME_ABORT); + tame(TAME_ABORT, NULL); /* this will triggered tame_fail() */ printf("forbidden STDIO 1\n"); diff --git a/regress/sys/kern/tame/sigkill/sigkill.c b/regress/sys/kern/tame/sigkill/sigkill.c index c423393e35a..198f056081c 100644 --- a/regress/sys/kern/tame/sigkill/sigkill.c +++ b/regress/sys/kern/tame/sigkill/sigkill.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sigkill.c,v 1.1 2015/07/27 18:03:36 semarie Exp $ */ +/* $OpenBSD: sigkill.c,v 1.2 2015/08/23 04:59:31 semarie Exp $ */ /* * Copyright (c) 2015 Sebastien Marie <semarie@openbsd.org> * @@ -38,7 +38,7 @@ main(int argc, char *argv[]) printf("permitted STDIO\n"); fflush(stdout); - tame(0); + tame(0, NULL); /* this will triggered tame_fail() */ printf("forbidden STDIO 1\n"); |