memory managment and (its) protection under Linux

Liste des GroupesRevenir à col misc 
Sujet : memory managment and (its) protection under Linux
De : NoliMihiFrangereMentulam (at) *nospam* libero.it (MarioCCCP)
Groupes : comp.os.linux.misc
Date : 20. Aug 2024, 15:09:03
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <va24hg$3cdd8$1@dont-email.me>
User-Agent : Mozilla Thunderbird
partially OT : programming task
Scenario : Debian Bookworm, XFCE4
Very often GUI programs show their results in the form of ListBoxes, whose content is mainly textual semantically, but very often cannot be copied/pasted as text and neither is easy to export as text. I have one case in FreeFileSync, that shows lists of files upwards of 500'000 items, and other deduplicators programs.
I am having a general curiosity about this problem in linux.
Can a root user access, in read only mode, to memory associated to another (plain user mode) process ? Or the outcome is invariably a seg_fault ? Has a root user the right to inquire the memory of non root programs ? I am not speaking about disk files, but specifically in physical memory
Those gui programs must be storing long list of strings in memory somewhere.
The first question is : is it there any way to escalate read-only access to memory assigned to other programs ?
If the answer is, YES, then the problems evolves to
is it there a way to query the system (X server ? Who else ?) what is the topmost (active desktop, foreground) graphical element at given mouse coordinates ? Are list boxes standard enough to be accessed in a fairly portable way disregarding the many different graphic engines (QT, GTK or else) and DM (I have XFCE, but there are plenty of), so to locate the strings arrays ? I can guess many frameworks could implement internally listboxes in different ways and debugging would be hard ! But the first thing to be clarified is : I need some handle to memory allocated to it in read only mode. Only then I could think to attemptively elucidate the internal structure of the object. I am assuming to not have any source code of the program or of the underlying framwork.
If I had the code itself, it would be much simpler to extend it, obviously, and to add a menu item with an ExportList cmq.
Tnx for any suggestion about the memory management and protection under linux kernel.
--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Date Sujet#  Auteur
20 Aug 24 * memory managment and (its) protection under Linux42MarioCCCP
20 Aug 24 +* Re: memory managment and (its) protection under Linux11The Natural Philosopher
21 Aug 24 i`* Re: memory managment and (its) protection under Linux10186282@ud0s4.net
21 Aug 24 i `* Re: memory managment and (its) protection under Linux9The Natural Philosopher
22 Aug 24 i  +* Re: memory managment and (its) protection under Linux7candycanearter07
23 Aug 24 i  i`* Re: memory managment and (its) protection under Linux6The Natural Philosopher
23 Aug 24 i  i +* Re: memory managment and (its) protection under Linux4MarioCCCP
23 Aug 24 i  i i+* Re: memory managment and (its) protection under Linux2Rich
24 Aug 24 i  i ii`- Re: memory managment and (its) protection under Linux1MarioCCCP
24 Aug 24 i  i i`- Re: memory managment and (its) protection under Linux1Lawrence D'Oliveiro
24 Aug 24 i  i `- Re: memory managment and (its) protection under Linux1Lawrence D'Oliveiro
23 Aug 24 i  `- Re: memory managment and (its) protection under Linux1David De La Harpe Golden
20 Aug 24 +* Re: memory managment and (its) protection under Linux2Richard Kettlewell
22 Aug 24 i`- Re: memory managment and (its) protection under Linux1MarioCCCP
21 Aug 24 +* Re: memory managment and (its) protection under Linux24Lawrence D'Oliveiro
21 Aug 24 i`* Re: memory managment and (its) protection under Linux23186282@ud0s4.net
21 Aug 24 i `* Re: memory managment and (its) protection under Linux22Lawrence D'Oliveiro
21 Aug 24 i  `* Re: memory managment and (its) protection under Linux21186282@ud0s4.net
21 Aug 24 i   `* Re: memory managment and (its) protection under Linux20Lawrence D'Oliveiro
22 Aug 24 i    `* Re: memory managment and (its) protection under Linux19MarioCCCP
22 Aug 24 i     +- Re: memory managment and (its) protection under Linux1Bobbie Sellers
22 Aug 24 i     +- Re: memory managment and (its) protection under Linux1Lawrence D'Oliveiro
22 Aug 24 i     `* Re: memory managment and (its) protection under Linux16186282@ud0s4.net
23 Aug 24 i      `* Re: memory managment and (its) protection under Linux15MarioCCCP
24 Aug 24 i       +* Re: memory managment and (its) protection under Linux13Lawrence D'Oliveiro
24 Aug 24 i       i`* Re: memory managment and (its) protection under Linux12MarioCCCP
24 Aug 24 i       i +- Re: memory managment and (its) protection under Linux1Lawrence D'Oliveiro
24 Aug 24 i       i `* Re: memory managment and (its) protection under Linux10Rich
25 Aug 24 i       i  `* Re: memory managment and (its) protection under Linux9186282@ud0s4.net
25 Aug 24 i       i   +- Re: memory managment and (its) protection under Linux1Lawrence D'Oliveiro
25 Aug 24 i       i   +* Re: memory managment and (its) protection under Linux2Lawrence D'Oliveiro
25 Aug 24 i       i   i`- Re: memory managment and (its) protection under Linux1186282@ud0s4.net
25 Aug 24 i       i   `* Re: memory managment and (its) protection under Linux5MarioCCCP
26 Aug 24 i       i    `* Re: memory managment and (its) protection under Linux4Lawrence D'Oliveiro
26 Aug 24 i       i     `* Re: memory managment and (its) protection under Linux3MarioCCCP
26 Aug 24 i       i      `* Re: memory managment and (its) protection under Linux2Lawrence D'Oliveiro
27 Aug 24 i       i       `- Re: memory managment and (its) protection under Linux1MarioCCCP
24 Aug 24 i       `- Re: memory managment and (its) protection under Linux1186282@ud0s4.net
21 Aug 24 +* Re: memory managment and (its) protection under Linux2Richard Kettlewell
22 Aug 24 i`- Re: memory managment and (its) protection under Linux1MarioCCCP
22 Aug 24 `* Re: memory managment and (its) protection under Linux2Anssi Saari
23 Aug 24  `- Re: memory managment and (its) protection under Linux1MarioCCCP

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal