dtms
annotate README.md @ 4:db4bb4b5905a
security fixes:
- refuse to run as root
- drop privileges without an explicit -u argument when running setuid-root
fixed argument parsing
fixed mem leak
added install and uninstall rules (Makefile)
author | Eleni Maria Stea <eleni@mutantstargoat.com> |
---|---|
date | Sun, 15 May 2016 00:15:45 +0300 |
parents | 49df14292d38 |
children |
rev | line source |
---|---|
elene@1 | 1 ------------- |
elene@1 | 2 Options: |
elene@1 | 3 ------------- |
elene@1 | 4 -h, for help |
elene@1 | 5 -d, path to the device file |
elene@1 | 6 -p, path to the mp3 player |
elene@1 | 7 -u. username of the user that runs the program |
elene@1 | 8 -------------- |
elene@1 | 9 Example usage: |
elene@1 | 10 -------------- |
eleni@2 | 11 ./dtms -d /dev/usb/hiddev0 -u eleni -p /usr/bin/mpv |