[Bug 203252] usbhidaction does not save the right PID in daemon mode

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 21 21:04:15 UTC 2015


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 at FreeBSD.org
          Reporter: btik-fbsd at 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.


More information about the freebsd-usb mailing list