Skip to content

Add show op for /proc/pid/mem#2646

Open
jhapradip wants to merge 1 commit intoish-app:masterfrom
jhapradip:mem-show
Open

Add show op for /proc/pid/mem#2646
jhapradip wants to merge 1 commit intoish-app:masterfrom
jhapradip:mem-show

Conversation

@jhapradip
Copy link
Copy Markdown

lseek on /proc/pid/mem calls the 'show' op to set up metadata for the file. Currently, this API is not defined for this file and this leads to a crash when gdb launches any program. I have added a default implementation as no special handling is required. Other sequences such as (p)read/(p)write work as expected.

lseek on /proc/pid/mem calls the 'show' op to set up metadata for the
file. Currently, this API is not defined for this file and this leads to
a crash when gdb launches any program. I have added a default
implementation as no special handling is required. Other sequences such
as (p)read/(p)write work as expected.
@mohommedifthi1-bot
Copy link
Copy Markdown

` total used free shared buff/cache available
Mem: 0 0 0 0 0 0
-/+ buffers/cache: 0 0
Swap: 0 0 0
localhost:~#

Copy link
Copy Markdown

@ztfzxxcm28-ux ztfzxxcm28-ux left a comment

Choose a reason for hiding this comment

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

ڤ

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.

3 participants