tftpd: make open() check r/w permissions instead of doing it ourself.
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 18 Mar 2008 01:13:11 +0000 (01:13 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 18 Mar 2008 01:13:11 +0000 (01:13 -0000)
commitd7e6af2dda0abdd7a0411af46314724bd5f88549
treee77291fb6fcb2d93c9c6ec60e21ddfe8bea5dc64
parent78c565653005192c4587fce1ccac6c441cea7ca6
tftpd: make open() check r/w permissions instead of doing it ourself.
Add -r "prohibit upload" opt for those lazy people who run tftpd as root.
-40 bytes.
include/usage.h
networking/tftp.c