config: add exe client criteria
This commit is contained in:
parent
cc734a135c
commit
a6257910bb
13 changed files with 85 additions and 2 deletions
|
|
@ -87,6 +87,10 @@ pub enum ClientCriterion<'a> {
|
|||
Comm(&'a str),
|
||||
/// Matches the `/proc/pid/comm` of the client with a regular expression.
|
||||
CommRegex(&'a str),
|
||||
/// Matches the `/proc/pid/exe` of the client verbatim.
|
||||
Exe(&'a str),
|
||||
/// Matches the `/proc/pid/exe` of the client with a regular expression.
|
||||
ExeRegex(&'a str),
|
||||
}
|
||||
|
||||
impl ClientCriterion<'_> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue