From nobody Mon Jan 24 18:48:04 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C2CD2198488E for ; Mon, 24 Jan 2022 18:48:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JjJs03b8Kz50LP for ; Mon, 24 Jan 2022 18:48:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5BAC91AFDA for ; Mon, 24 Jan 2022 18:48:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20OIm4Pa028783 for ; Mon, 24 Jan 2022 18:48:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20OIm4Ma028782 for bugs@FreeBSD.org; Mon, 24 Jan 2022 18:48:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261438] mktemp(1): better unique file names Date: Mon, 24 Jan 2022 18:48:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: wosch@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643050084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=R/4aI8zdD6+0lLmGgZ03AdBNA91Y5vC4QWgk5vsSUzs=; b=DFNQ+7FGpLIuW/e55zZNTALMj9qw47HqqKiJCmrIwuV71d1PKLGm4LP/6hVxPTVFWnvj6e NL20C6QOlw0315qe9IxqS+pKbbnKfblll6ycxnHp/nwzMFHPXpQvq2PxZkbXydCsI2g32z eUfY67QYaRynaHsJ6Cj8+LMeZbxIJ874unltjdBW8Gmc0405jk2Jkfkr6oMunSrXk5l+tB lLxvLWMJqoM6QURLG/gwd1Poh541mvhcqmTtp9F7arfpMWfPw2EkwvBaQRF4YKCCyavr/U CkGtS5T3AogDfnVTO5cYRG+iPRMT8tlOdTZKPaTRN0rtG8Vpa9SdqA57LOA+ZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643050084; a=rsa-sha256; cv=none; b=n8Fhec79Jmml7Ofig9ln4CvyK2K44byjo7qflGoenWyg8NKtvLmONvBGXa8LNjXWlY8F9p iE5QjFlCSkeHIo13N0jwxTsLKH7FBgKhzhoXrxG491vbEmuHxCm3f7HkWJjYY5oA8exiVa Yiv6t7koyujZb2ZEoK2t0+4Pz5CDDIAPbdXxZk+KGMiCJ9rRRqEIJrNgo8+B9HzAWuFXt8 gRR3rJd+gj/ivQYUF6PdxvMxOaHyjnbYhTJaWcEiXyh5wBQLN9FKplviGQ9C3WUn+/pPNZ vn6b8thNbsl7nRc9oUShRIqE7P9HpoAeMvmzIWIqjKabJqrLfjx2PXmvt128Xg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261438 Bug ID: 261438 Summary: mktemp(1): better unique file names Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: wosch@FreeBSD.org Our mktemp(1) implementation uses 8-X for a temp file by default. That's ok, but we should increase the value from 8 to 10 as many other OS already did. git grep '\.XXXXXXXX' mktemp.c: asprintf(&name, "%s%s.XXXXXXXX", _PATH_TMP, prefix); mktemp.c: asprintf(&name, "%s/%s.XXXXXXXX", tmpdir, prefix); --=20 You are receiving this mail because: You are the assignee for the bug.=