freebsd-dev/libexec
Eugene Grosbein de8d85c908 ftpd(8): fix user context handling.
Apply authenticated user context after update of wtmp(5) at start of session,
so that ftpd process is not killed by kernel with SIGXFSZ when user has
"filesize" limit lower than size of system wtmp file. Same applies
to session finalization: revert to super-user context before update of wtmp.

If ftpd hits limit while writing a file at user request,
do not get killed with SIGXFSZ instantly but apparently ignore the signal,
process error and report it to the user, and continue with the session.

PR:		143570
Approved by:	avg (mentor), mav (mentor)
MFC after:	1 week
2017-10-06 13:46:05 +00:00
..
atf Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
atrun
blacklistd-helper
bootpd
comsat
dma DIRDEPS_BUILD: Update dependencies. 2017-05-09 01:48:23 +00:00
fingerd
ftpd ftpd(8): fix user context handling. 2017-10-06 13:46:05 +00:00
getty Add a new getty/gettytab capability to generate an initial message dynamically. 2017-09-07 00:20:17 +00:00
hyperv hyperv: Add VF bringup scripts and devd rules. 2017-07-31 07:18:15 +00:00
mail.local
makewhatis.local Deorbit catman. The tradeoff of disk for performance has long since tipped 2017-09-13 16:35:16 +00:00
mknetid
pppoed
rbootd
revnetgroup
rpc.rquotad
rpc.rstatd
rpc.rusersd
rpc.rwalld
rpc.sprayd
rtld-aout
rtld-elf Handle relocations for newer non-PIC MIPS ABI. 2017-09-12 17:46:30 +00:00
save-entropy
smrsh
talkd
tcpd
telnetd
tests
tftp-proxy
tftpd
ulog-helper
ypxfr
Makefile Remove rcmds. 2017-10-06 08:43:14 +00:00
Makefile.amd64
Makefile.i386
Makefile.inc