[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssh-bugs
Subject:    [Bug 2579] New: Link count support
From:       bugzilla-daemon () bugzilla ! mindrot ! org
Date:       2016-06-02 4:03:31
Message-ID: bug-2579-705 () https ! bugzilla ! mindrot ! org/
[Download RAW message or body]

https://bugzilla.mindrot.org/show_bug.cgi?id=2579

            Bug ID: 2579
           Summary: Link count support
           Product: Portable OpenSSH
           Version: 7.2p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sftp-server
          Assignee: unassigned-bugs@mindrot.org
          Reporter: rian@thelig.ht

Created attachment 2820
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2820&action=edit
Patch

This patch adds client and server support for transmitting the st_nlink
field
across SSH2_FXP_NAME and SSH2_FXP_ATTRS responses.

One downside is that it adds this much new overhead for those
responses:

sizeof(uint32_t) + sizeof(uint32_t) +
strlen("attr-link-count@openssh.com") + sizeof(uint32_t) +
sizeof(uint64_t)

i.e. 47 bytes.

If this overhead is not acceptable, perhaps this extension can only be
enabled if the client sends the "attr-link-count@openssh.com" extension
in the SSH2_FXP_INIT request. If this is the case, should sftp-client
advertise this extension by default or no?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic