misc/143962: fstat(1) doesn't work on UNIX sockets

Yuri yuri at tsoft.com
Mon Feb 15 18:10:01 UTC 2010


>Number:         143962
>Category:       misc
>Synopsis:       fstat(1) doesn't work on UNIX sockets
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 15 18:10:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Yuri
>Release:        8.0-STABLE
>Organization:
n/a
>Environment:
>Description:
fstat only shows which process opened it for regular files. For UNIX sockets it doesn't show anything. For example:
> fstat /tmp/mysql.sock
> USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W NAME

Even though there are connected clients.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list