]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - elf/tst-stackguard1.c
Update copyright dates with scripts/update-copyrights
[thirdparty/glibc.git] / elf / tst-stackguard1.c
index 6584740d6aa26f5f605e9fe8ec49e546ef95396a..7770f46640d228471b5318232d76e29e05eceeba 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (C) 2005-2021 Free Software Foundation, Inc.
+/* Copyright (C) 2005-2024 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
-   Contributed by Jakub Jelinek <jakub@redhat.com>, 2005.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -27,6 +26,8 @@
 #include <tls.h>
 #include <unistd.h>
 
+#include <support/xstdlib.h>
+
 static const char *command;
 static bool child;
 static uintptr_t stack_chk_guard_copy;
@@ -109,7 +110,8 @@ do_test (void)
          dup2 (fds[1], 2);
          close (fds[1]);
 
-         system (command);
+         xsystem (command);
+
          exit (0);
        }