uutils/findutils

Implement `-context`

Open

#375 创建于 2024年5月11日

在 GitHub 查看
 (3 评论) (2 反应) (1 负责人)Rust (80 fork)user submission
good first issue

仓库指标

Star
 (577 star)
PR 合并指标
 (平均合并 26天 6小时) (30 天内合并 46 个 PR)

描述

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.

贡献者指南