smeso / saractl

saractl is the userspace counterpart of the S.A.R.A. LSM.
GNU General Public License v3.0
3 stars 1 forks source link

Add support for wildcard '*' inside path in config #7

Open Mdyrl7777777 opened 6 years ago

Mdyrl7777777 commented 6 years ago

Currently only trailing wildcards are supported in saractl config. It would be nice to have support for wildcard inside path also like: /bin/*/local/xyz.

For example ubuntu snaps put binaries under /snap/<name>/<revision>/usr/bin/<binary> where revision number changes on every update which make it hard to manage with saractl

smeso commented 6 years ago

This would be a nice addition, but I won't have time to work on it any time soon. Thank you for your proposal. :)

Mdyrl7777777 commented 5 years ago

Perhaps it would be best to implement full glob support: https://linux.die.net/man/7/glob