uutils/findutils

Implement `-context`

开放

#375 创建于 2024年5月11日

 (3 条评论) (2 个反应) (1 位负责人)Rust (100 个派生)user submission
good first issue

仓库指标

星标
 (640 个星标)
PR 合并指标
 (平均合并 2天 10小时) (30 天内合并 40 个 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.

贡献者指南