Version 2 of the genhomedircon patches. These fix a few issues that Nicolas Iooss found. Changes from v1: - Changed the fallback for the username to "[^/]+" instead of "[^/]*" or ".*" - Made args const in write_replacements() - Combined the %{USERNAME} and %{USERID} replacements into one method so they both get called together. This means that fcontexts like "%{USERNAME}-%{USERID}" become eg "root-0" as expected. - I left the gid param in the struct for now. genhomedircon does not generate things for eg "%wheel" which I will look into later. -- Jason _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.