wolfssh/tests
John Safranek d43eb01a66 sftp: refuse dir REMOVE and replacing RENAME
SSH_FXP_REMOVE does not take directories and SSH_FXP_RENAME fails on an
existing newpath (draft-ietf-secsh-filexfer-02 6.5). The non-Windows
handlers check with an lstat first, oldpath before newpath, and REMOVE
unlinks. A regular file renames by linkat() and unlink(), which refuses
an existing name atomically; anything else checks then calls rename().

- configure: probe for linkat()
- port.h: WUNLINK on POSIX, WLINK as linkat() when configure finds it
- FatFs, Nucleus: only "/" and "/." stand in for the root
- regress: test both against files, directories, symlinks and a
  read-only directory

Issue: F-15535, F-15536
2026-11-02 13:40:06 -06:00
..
api.c Hold algorithm-list names to RFC 4251 format 2026-10-25 16:17:26 -05:00
api.h
…
auth.c Build cleanly with a C++ compiler 2026-10-22 21:30:18 -05:00
auth.h tests: cover the ML-DSA host public key cache 2026-10-19 09:07:39 -07:00
include.am tests: gate the client cases in regress.c 2026-09-22 17:05:22 -05:00
kex.c
…
kex.h
…
regress.c sftp: refuse dir REMOVE and replacing RENAME 2026-11-02 13:40:06 -06:00
sftp.c tests: split the SFTP server and client argv 2026-09-22 14:35:24 -05:00
sftp.h
…
testsuite.c ssh: add a rekey-state accessor 2026-09-24 22:56:41 -07:00
testsuite.h
…
unit.c sftp: bound reply lengths before client allocs 2026-11-01 23:29:33 -06:00
unit.h
…