Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2015 21:04:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-usb@FreeBSD.org
Subject:   [Bug 203252] usbhidaction does not save the right PID in daemon mode
Message-ID:  <bug-203252-17@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203252

            Bug ID: 203252
           Summary: usbhidaction does not save the right PID in daemon
                    mode
           Product: Base System
           Version: 10.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: usb
          Assignee: freebsd-usb@FreeBSD.org
          Reporter: btik-fbsd@scoubidou.com

Created attachment 161254
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161254&action=edit
usbhidaction.c diff

When launched in daemon mode, usbhidaction saves its PID before calling
daemon().

The proposed patch corrects this, still failing before daemon() is called, when
the PID file cannot be opened.

-- 
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-203252-17>