Displaying 2 results from an estimated 2 matches for "ssh2_fxp_attrs".
2016 Jun 02
2
[PATCH] Link count attribute extension
Hello,
This patch adds client and server support for transmitting the st_nlink field
across SSH2_FXP_NAME and SSH2_FXP_ATTRS responses.
Please let me know if there anything I can do to improve this patch. I am
not subscribed to list so please CC me.
Index: sftp-common.c
===================================================================
RCS file: /cvs/src/usr.bin/ssh/sftp-common.c,v
retrieving revision 1.28
diff -u -r1...
2016 Jun 02
1
[Bug 2579] New: Link count support
...Assignee: unassigned-bugs at mindrot.org
Reporter: rian at 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 at openssh.com") + sizeof(uint32_t) +
sizeof(uint64_t)
i.e. 47 bytes.
If this overhead is not acceptable, perhaps this extension can only b...