Skip to content

Conversation

@jfernandez
Copy link

The /proc/pressure/* files (memory, cpu, io) are read-only system monitoring files that only expose PSI (Pressure Stall Information) metrics. These files are safe to read and commonly used for system monitoring and performance analysis.

Previously, these files required --allow-all permission which was overly restrictive. This change allows them to be read with just --allow-read permission while maintaining security for other potentially dangerous /proc files.

Closes: #30779

The /proc/pressure/* files (memory, cpu, io) are read-only system
monitoring files that only expose PSI (Pressure Stall Information)
metrics. These files are safe to read and commonly used for system
monitoring and performance analysis.

Previously, these files required --allow-all permission which
was overly restrictive. This change allows them to be read with
just --allow-read permission while maintaining security for other
potentially dangerous /proc files.

Closes: denoland#30779

Signed-off-by: Jose Fernandez <me@jrfernandez.com>
@CLAassistant
Copy link

CLAassistant commented Sep 19, 2025

CLA assistant check
All committers have signed the CLA.

@bartlomieju bartlomieju added this to the 2.6.0 milestone Sep 24, 2025
Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow /proc/pressure/* files with --allow-read permission

4 participants