kernel: lantiq: ltq-vmmc: introduce user group for vmmc
authorDaniel Golle <daniel@makrotopia.org>
Sun, 3 Mar 2024 15:22:54 +0000 (15:22 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 3 Mar 2024 15:44:52 +0000 (15:44 +0000)
commit37bbed6f95856a507d727ffc863b20f8a8b35332
tree96aa9ca82671dd11f98714c59cdf825d1b005593
parent336a531c15e7fa5f8a42a7b9f2662c249aafce89
kernel: lantiq: ltq-vmmc: introduce user group for vmmc

asterisk-chan-lantiq is by now the only user of the VMMC interface.
And asterisk runs as user 'asterisk' which doesn't give it permission
to open the /dev/vmmc* devices.
Introduce a new user group 'vmmc' and give permission to access the
/dev/vmmc* devices to that group.
Another commit for asterisk-chan-lantiq will add the 'asterisk' user
to that group.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/kernel/lantiq/ltq-vmmc/Makefile
package/kernel/lantiq/ltq-vmmc/files/vmmc.init