Optimize performance with Google Chrome image mounted
This commit is contained in:
parent
1304d66783
commit
c2c29a1a52
|
@ -36,7 +36,7 @@ FROM
|
||||||
WHERE
|
WHERE
|
||||||
file.path IN (
|
file.path IN (
|
||||||
SELECT
|
SELECT
|
||||||
file.path
|
DISTINCT file.path
|
||||||
FROM
|
FROM
|
||||||
block_devices
|
block_devices
|
||||||
JOIN mounts ON mounts.device = block_devices.name
|
JOIN mounts ON mounts.device = block_devices.name
|
||||||
|
@ -52,6 +52,11 @@ WHERE
|
||||||
AND mounts.path LIKE "/Volumes/%"
|
AND mounts.path LIKE "/Volumes/%"
|
||||||
-- osquery will traverse symlinks, this prevents following symlinks to /Applications (poorly)
|
-- osquery will traverse symlinks, this prevents following symlinks to /Applications (poorly)
|
||||||
AND file.path NOT LIKE "/Volumes/%/Applications/%"
|
AND file.path NOT LIKE "/Volumes/%/Applications/%"
|
||||||
|
AND file.path NOT LIKE "/Volumes/%/ /%"
|
||||||
|
AND NOT (
|
||||||
|
file.type != "regular"
|
||||||
|
AND file.directory LIKE '%/Contents/Resources/'
|
||||||
|
)
|
||||||
)
|
)
|
||||||
AND (
|
AND (
|
||||||
-- Rule 0. App binaries that are hidden, like WnBJLaF/1302.app/Contents/MacOS/1302 (1302.app)
|
-- Rule 0. App binaries that are hidden, like WnBJLaF/1302.app/Contents/MacOS/1302 (1302.app)
|
||||||
|
|
Loading…
Reference in New Issue