freebsd-skq/libexec/dma
Baptiste Daroussin 2382c29e5f Import Dragonfly Mail Agent snapshort from 20160806 aka v0.11+
Most important change being:
dma - Fix security hole (#46)

Affecting DragonFly 4.6 and earlier, Matt Dillon fixed this in base after
finding out from BSDNow Episode 152. Comments following were from his commit
which explains better than I. Just taking his change and putting it here as well.

* dma makes an age-old mistake of not properly checking whether a file
owned by a user is a symlink or not, a bug which the original mail.local
also had.

* Add O_NOFOLLOW to disallow symlinks.

Thanks-to: BSDNow Episode 152, made me dive dma to check when they talked
about the mail.local bug.

MFC After:	2 days
2016-08-20 16:36:05 +00:00
..
dma-mbox-create Add Makefile.depend 2015-10-27 01:24:57 +00:00
dmagent Revert r301137 and r301163, and implement a correct fix 2016-06-01 20:44:28 +00:00
Makefile Rename the dma directory into dmagent to avoid collision on unclean oject 2015-10-09 23:19:29 +00:00
Makefile.inc Import Dragonfly Mail Agent snapshort from 20160806 aka v0.11+ 2016-08-20 16:36:05 +00:00