mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 11:43:20 +00:00
* fix(verify): recognize the ownership ps inventory from the process owner's arguments * fix(verify): match the recorded-crash ps inventory against REA's fixed ps locations
12 lines
394 B
TypeScript
12 lines
394 B
TypeScript
/** The fixed Linux `ps` locations REA selects for ownership inventory. */
|
|
export const ownershipPsExecutables: ReadonlySet<string>;
|
|
|
|
/**
|
|
* Whether an strace `execve` line is REA's process-ownership `ps` inventory
|
|
* run from one of `executables` (default: `ownershipPsExecutables`).
|
|
*/
|
|
export function isOwnershipPsExecution(
|
|
line: string,
|
|
executables?: ReadonlySet<string>,
|
|
): boolean;
|