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

--- Comment #7 from Andriy Gapon <a...@freebsd.org> ---
(In reply to Gleb Popov from comment #6)
The descriptor is not closed, it's revoked.
I used fstat -p and procstat -f to check for that (I prefer native tools).

I am running the patched ConsoleKit right now, so the output is good (from both
tools):

USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
root     console-kit-daemon  3974   10 /dev        124 crw-------   ttyv0  r

  PID COMM                FD T V FLAGS    REF  OFFSET PRO NAME
 3974 console-kit-daemon    10 v c r-------  12       0 -   /dev/ttyv0

Previously it looked like this:

USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
root     console-kit-daemon  3974   10

  PID COMM                FD T V FLAGS    REF  OFFSET PRO NAME
 3974 console-kit-daemon    10 v x r-------  -       0 -   -

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

Reply via email to