Re: memory managment and (its) protection under Linux

Liste des GroupesRevenir à col misc 
Sujet : Re: memory managment and (its) protection under Linux
De : candycanearter07 (at) *nospam* candycanearter07.nomail.afraid (candycanearter07)
Groupes : comp.os.linux.misc
Date : 22. Aug 2024, 22:10:03
Autres entêtes
Organisation : the-candyden-of-code
Message-ID : <slrnvcf68t.td1s.candycanearter07@candydeb.host.invalid>
References : 1 2 3 4
User-Agent : slrn/1.0.3 (Linux)
The Natural Philosopher <tnp@invalid.invalid> wrote at 09:56 this Wednesday (GMT):
On 21/08/2024 05:11, 186282@ud0s4.net wrote:
On 8/20/24 2:27 PM, The Natural Philosopher wrote:
On 20/08/2024 14:09, MarioCCCP wrote:
>
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 believe not.
In such cases it is usual to write a daemon to handle *all* requests.
>
  I am not speaking about disk files, but specifically in
physical memory
>
Well thereby hangs a tale. In fact i deliberately created a RAMDISK in
one application purely to handle communications between synchronous
processes.
>
One process writes it, others may read
 
   In many Linux distros now, /tmp is a de-facto
   ramdisk - all disappears on reboot. IF you have
   the space in your / partition then you need not
   specifically create a NEW ramdisk to achieve the
   effect.
 
Not /tmp oddly, but various other stuff like /run is, yes.


Even if it's not a ramdisk by default, you could still easily set it up
as one in your fstab
--
user <candycane> is generated from /dev/urandom

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