Date: Tue, 31 May 2022 19:16:45 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264376] [patch] rc.d/hostid needlessly re-cats /etc/hostid Message-ID: <bug-264376-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264376 Bug ID: 264376 Summary: [patch] rc.d/hostid needlessly re-cats /etc/hostid Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: nabijaczleweli@nabijaczleweli.xyz Created attachment 234357 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D234357&action= =3Dedit [PATCH] rc.d/hostid: remove useless cat I tried to post this to freebsd-rc@freebsd.org, but your MX really didn't l= ike mine (unrelated reasons, I'll have to call my g.d. ISP again). I'm attaching a patch that just re-uses the already-read-and-validated ID (= and avoids a TOCTTOU, technically, but meh), based on yesterday's git HEAD. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264376-227>