dnsmasq: run as dedicated UID/GID
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 26 Apr 2016 11:44:10 +0000 (11:44 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 26 Apr 2016 11:44:10 +0000 (11:44 +0000)
commit9a074f344b5b4d9f0ed50a6c5e8c197469e9e31e
tree17f36c9e29a1891ddb5f7f16ec2bf50ac664a573
parentf650c74ddff8e8db6eaec159be90e2025f3f0f6d
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