MCPcopy Create free account
hub / github.com/F-Stack/f-stack / pf_match_uid

Function pf_match_uid

freebsd/netpfil/pf/pf.c:2888–2894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2886}
2887
2888static int
2889pf_match_uid(u_int8_t op, uid_t a1, uid_t a2, uid_t u)
2890{
2891 if (u == UID_MAX && op != PF_OP_EQ && op != PF_OP_NE)
2892 return (0);
2893 return (pf_match(op, a1, a2, u));
2894}
2895
2896static int
2897pf_match_gid(u_int8_t op, gid_t a1, gid_t a2, gid_t g)

Callers 1

pf_test_ruleFunction · 0.85

Calls 1

pf_matchFunction · 0.85

Tested by

no test coverage detected