NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/58569: make(1) unit-tests/cmdline.mk doesn't clean up temporary directory



>Number:         58569
>Category:       bin
>Synopsis:       make(1) unit-tests/cmdline.mk doesn't clean up temporary directory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 10 13:35:00 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current, ...
>Organization:
The /tmp/uid26 Foundation
>Environment:
>Description:
usr.bin/make/unit-tests/cmdline.mk creates a directory /tmp/uid$N, where $N is the caller's uid, but doesn't clean it up:

TMPBASE?=	${TMPDIR:U/tmp/uid${.MAKE.UID}}
SUB1=		a7b41170-53f8-4cc2-bc5c-e4c3dd93ec45	# just a random UUID
SUB2=		6a8899d2-d227-4b55-9b6b-f3c8eeb83fd5	# just a random UUID
>How-To-Repeat:
cd /usr/tests/usr.bin/make && atf-run | atf-report
>Fix:
Yes, please!



Home | Main Index | Thread Index | Old Index