From be8f1fea763f42a1109f6b1eb3f56ae521cfdec3 Mon Sep 17 00:00:00 2001 From: millert <> Date: Fri, 19 Jan 2024 19:45:02 +0000 Subject: Make our mktemp(3) callback-driven and split into multiple files. Previously, calling any of the mktemp(3) family would pull in lstat(2), open(2) and mkdir(2). Now, only the necessary system calls will be reachable from the binary. OK deraadt@ guenther@ --- src/lib/libc/stdlib/Makefile.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/libc/stdlib/Makefile.inc') diff --git a/src/lib/libc/stdlib/Makefile.inc b/src/lib/libc/stdlib/Makefile.inc index fa4836f42b..f5e9a9fe4e 100644 --- a/src/lib/libc/stdlib/Makefile.inc +++ b/src/lib/libc/stdlib/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.65 2024/01/19 16:30:28 millert Exp $ +# $OpenBSD: Makefile.inc,v 1.66 2024/01/19 19:45:02 millert Exp $ # stdlib sources .PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/stdlib ${LIBCSRCDIR}/stdlib @@ -6,9 +6,9 @@ SRCS+= a64l.c abort.c atexit.c atoi.c atof.c atol.c atoll.c bsearch.c \ exit.c ecvt.c gcvt.c getenv.c getopt_long.c \ getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c insque.c \ - l64a.c llabs.c lldiv.c lsearch.c malloc.c mktemp.c reallocarray.c \ - merge.c posix_pty.c qsort.c radixsort.c rand.c random.c \ - realpath.c remque.c setenv.c strtoimax.c \ + l64a.c llabs.c lldiv.c lsearch.c malloc.c __mktemp4.c mkdtemp.c \ + mkstemp.c mktemp.c reallocarray.c merge.c posix_pty.c qsort.c \ + radixsort.c rand.c random.c realpath.c remque.c setenv.c strtoimax.c \ strtol.c strtoll.c strtonum.c strtoul.c strtoull.c strtoumax.c \ system.c \ tfind.c thread_atexit.c tsearch.c \ -- cgit v1.2.3-55-g6feb