uutils/findutils

Implement `-context`

Open

#375 opened on May 11, 2024

View on GitHub
 (3 comments) (2 reactions) (1 assignee)Rust (80 forks)user submission
good first issue

Repository metrics

Stars
 (577 stars)
PR merge metrics
 (Avg merge 26d 6h) (46 merged PRs in 30d)

Description

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.

Contributor guide