uutils/findutils

Implement `-context`

Open

#375 opened on 2024年5月11日

GitHub で見る
 (3 comments) (2 reactions) (1 assignee)Rust (577 stars) (80 forks)user submission
good first issue

説明

refer: https://www.gnu.org/software/findutils/manual/html_node/find_html/Mode-Bits.html

Test: -context pattern
True if file’s SELinux context matches the pattern pattern. 
The pattern uses shell glob matching.

This predicate is supported only on find versions compiled with 
SELinux support and only when SELinux is enabled.

コントリビューターガイド