Skip site navigation (1)Skip section navigation (2)
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/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264376

            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=234357&action=edit
[PATCH] rc.d/hostid: remove useless cat

I tried to post this to freebsd-rc@freebsd.org, but your MX really didn't like
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264376-227>