On 4/11/20 4:38 AM, Kevin Kofler wrote:
Steve Grubb wrote:
readelf -s $f 2>/dev/null | grep FUNC | egrep 'seccomp_rule_add|seccomp'

Since seccomp is a substring of seccomp_rule_add, it is pointless to grep
for both.

Yes, the output is the same.  But the documentation is not as explicit.
A comment might be helpful:
    ...  |  grep seccomp  # also covers seccomp_rule_add
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to