summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/Makefile.inc
diff options
context:
space:
mode:
authormillert <>2024-01-19 19:45:02 +0000
committermillert <>2024-01-19 19:45:02 +0000
commitbe8f1fea763f42a1109f6b1eb3f56ae521cfdec3 (patch)
tree469de603d2d83787131e234cccbf7802f902cf67 /src/lib/libc/stdlib/Makefile.inc
parent1d17a25a597033d38c420a0a3add7e5e82dd4c02 (diff)
downloadopenbsd-be8f1fea763f42a1109f6b1eb3f56ae521cfdec3.tar.gz
openbsd-be8f1fea763f42a1109f6b1eb3f56ae521cfdec3.tar.bz2
openbsd-be8f1fea763f42a1109f6b1eb3f56ae521cfdec3.zip
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@
Diffstat (limited to 'src/lib/libc/stdlib/Makefile.inc')
-rw-r--r--src/lib/libc/stdlib/Makefile.inc8
1 files changed, 4 insertions, 4 deletions
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 @@
1# $OpenBSD: Makefile.inc,v 1.65 2024/01/19 16:30:28 millert Exp $ 1# $OpenBSD: Makefile.inc,v 1.66 2024/01/19 19:45:02 millert Exp $
2 2
3# stdlib sources 3# stdlib sources
4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/stdlib ${LIBCSRCDIR}/stdlib 4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/stdlib ${LIBCSRCDIR}/stdlib
@@ -6,9 +6,9 @@
6SRCS+= a64l.c abort.c atexit.c atoi.c atof.c atol.c atoll.c bsearch.c \ 6SRCS+= a64l.c abort.c atexit.c atoi.c atof.c atol.c atoll.c bsearch.c \
7 exit.c ecvt.c gcvt.c getenv.c getopt_long.c \ 7 exit.c ecvt.c gcvt.c getenv.c getopt_long.c \
8 getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c insque.c \ 8 getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c insque.c \
9 l64a.c llabs.c lldiv.c lsearch.c malloc.c mktemp.c reallocarray.c \ 9 l64a.c llabs.c lldiv.c lsearch.c malloc.c __mktemp4.c mkdtemp.c \
10 merge.c posix_pty.c qsort.c radixsort.c rand.c random.c \ 10 mkstemp.c mktemp.c reallocarray.c merge.c posix_pty.c qsort.c \
11 realpath.c remque.c setenv.c strtoimax.c \ 11 radixsort.c rand.c random.c realpath.c remque.c setenv.c strtoimax.c \
12 strtol.c strtoll.c strtonum.c strtoul.c strtoull.c strtoumax.c \ 12 strtol.c strtoll.c strtonum.c strtoul.c strtoull.c strtoumax.c \
13 system.c \ 13 system.c \
14 tfind.c thread_atexit.c tsearch.c \ 14 tfind.c thread_atexit.c tsearch.c \