dnsmasq: run as dedicated UID/GID
authorJohn Crispin <blogic@openwrt.org>
Tue, 26 Apr 2016 11:44:10 +0000 (11:44 +0000)
committerJohn Crispin <blogic@openwrt.org>
Tue, 26 Apr 2016 11:44:10 +0000 (11:44 +0000)
commit44e3067c2daedc463de418b3d95a47f76bf0602b
tree17f36c9e29a1891ddb5f7f16ec2bf50ac664a573
parentf333b562983d3c647ba0e61ff1e5b53829c6b169
dnsmasq: run as dedicated UID/GID

Running dnsmasq in a dedicated user/group allows matching its outgoing
traffic more easily using iptables' owner match.
Add UID/GID to the package metadata and append the user/group
parameters to the init script.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49252 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/files/dnsmasq.init