wolfssh/src
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
..
agent.c agent: exchange whole messages when signing 2026-10-16 11:15:32 -05:00
certman.c Build cleanly with a C++ compiler 2026-10-22 21:30:18 -05:00
include.am
…
internal.c Fix the cppcheck 2.13 findings 2026-11-01 23:51:19 -06:00
io.c io.c: use the zsock names on Zephyr 4.1 and newer 2026-09-18 17:12:05 -05:00
keygen.c Build cleanly with a C++ compiler 2026-10-22 21:30:18 -05:00
log.c
…
misc.c
…
ossh.c internal, ossh: sign RSA user auth through ssh-agent 2026-10-08 11:28:25 -07:00
port.c scp: receive through a per-session dirfd 2026-10-15 17:14:34 -05:00
ssh.c Wipe consumed and compacted buffer plaintext 2026-10-27 11:13:03 -05:00
wolfscp.c Leave the server SCP code out of client builds 2026-10-16 13:37:01 -05:00
wolfsftp.c sftp: refuse dir REMOVE and replacing RENAME 2026-11-02 13:40:06 -06:00
wolfterm.c
…