-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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: Add support for proc/sysvipc/{msg,sem,shm} v2 #1232
linprocfs: Add support for proc/sysvipc/{msg,sem,shm} v2 #1232
Conversation
ed55d77
to
bfa0893
Compare
bfa0893
to
cb6c0e4
Compare
cb6c0e4
to
42b9685
Compare
This is dependent on kib's changes to export this data. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So you did not updated the PR to use the new functions. I want to commit my change after it is verified somehow.
42b9685
to
6896bb9
Compare
Wouldn't it be easier to test by also patching the sysctl function called by ipcs? Will test your changes and report back. |
|
6896bb9
to
a2136ca
Compare
It works for SHM. I can see the same information in 32 & 64-bits Linux chroot. It works both for /proc/sysvshm/shm &
|
a2136ca
to
cc7f87e
Compare
cc7f87e
to
3b2fdd9
Compare
…unction Using a variadic macro allows passing everything properly to printf(). Using the do { } while(0) construct ensures the macro acts like any other single statement. This shows just how long some of this has existed. Reviewed by: imp,jhb Pull Request: freebsd#1224
Rather than hard-code the function name, use __func__ instead. Apply some style and adjust indentation as appropriate. Remove the no longer required braces. Reviewed by: imp,jhb Pull Request: freebsd#1224
…b665 Not once has rman_reserve_resource_bound() ever been used. There are though several uses of RF_ALIGNMENT. In light of this remove this extra and leave the actually used portion in place. This partially reverts commit 13fb665. Reviewed by: imp,jhb Pull Request: freebsd#1224
The flsl() function makes use of hardware functionality to compute the value faster than this loop. The only deviation from flsl() is at 0. Reviewed by: imp,jhb Pull Request: freebsd#1224
The arguments are left completely unchanged by these functions. This allows passing constant pointers for verifying ownership, but not modifying the contents. Reviewed by: imp,jhb Pull Request: freebsd#1224
Reviewed by: imp,kib Pull Request: freebsd#1232
3b2fdd9
to
25a0452
Compare
Add support for proc/sysvipc/{msg,sem,shm}
Tracking in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278812
Retry of #1218