summarylogtreecommitdiffstats
path: root/selinux-alpm-hook
AgeCommit message (Collapse)Author
2022-06-19selinux-alpm-hook 0.1-4 update: add -T0 optionNicolas Iooss
Since SELinux userspace 3.4 release, restorecon supports a -T option to run multi-threaded. Use it to speed the ALPM hook up. Closes: https://github.com/archlinuxhardened/selinux/issues/101
2017-08-14selinux-alpm-hook 0.1-3 updateNicolas Iooss
Call restorecon in batches in order to improve performance. It it not possible to pipe the list of package files into "| xargs restorecon -F" because restorecon could fail sometimes (for example when there is an invalid file on the filesystem which makes calls to getxattr() fail). Implement a simple filter as a while loop which sanitizes the list of packages files before running restorecon on it, in batches handled by xargs.
2017-08-11selinux-alpm-hook 0.1-2 updateNicolas Iooss
2017-04-18Initial versionNicolas Iooss