Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linprocfs: Continue on error when reading process limits #1592

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ricardobranco777
Copy link
Contributor

Continue on error when reading process limits.

Fixes https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283726

Most text utilities with capsicum(4) enabled fail when reading /compat/linux/proc/*/limits because both LINUX_RLIMIT_SIGPENDING & LINUX_RLIMIT_MSGQUEUE call kernel_sysctlbyname.

The alternative would be to make the variables accessed by the kern.sigqueue.max_pending_per_proc & kern.ipc.msgmnb sysctl's public. This was done for reading /proc/cpuinfo in d74a742

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.

1 participant