From 15410c1fb383e330324b13897f3703fcfde7969e Mon Sep 17 00:00:00 2001 From: jasper <> Date: Wed, 1 Sep 2021 09:26:32 +0000 Subject: remove manual fiddling with MALLOC_OPTIONS from libc regress tests these options should be set globally (sysctl) when running regress as opposed to having individual tests set it, barring a few specific exceptions. ok bluhm@ --- src/regress/lib/libc/env/envtest.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/regress/lib/libc/env/envtest.c') diff --git a/src/regress/lib/libc/env/envtest.c b/src/regress/lib/libc/env/envtest.c index f145ecbd14..79a5c0655f 100644 --- a/src/regress/lib/libc/env/envtest.c +++ b/src/regress/lib/libc/env/envtest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: envtest.c,v 1.2 2019/01/25 00:19:26 millert Exp $ */ +/* $OpenBSD: envtest.c,v 1.3 2021/09/01 09:26:32 jasper Exp $ */ /* * Copyright (c) 2010 Todd C. Miller @@ -63,9 +63,6 @@ main(int argc, char *argv[]) int n, failures = 0; size_t len, bufsize; - /* Enable malloc security options. */ - setenv("MALLOC_OPTIONS", "S", 0); - fake_env(); n = count_instances("USER"); if (n != 2) { -- cgit v1.2.3-55-g6feb