Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #58135

Re: memory managment and (its) protection under Linux

From candycanearter07 <candycanearter07@candycanearter07.nomail.afraid>
Newsgroups comp.os.linux.misc
Subject Re: memory managment and (its) protection under Linux
Date 2024-08-22 20:10 +0000
Organization the-candyden-of-code
Message-ID <slrnvcf68t.td1s.candycanearter07@candydeb.host.invalid> (permalink)
References <va24hg$3cdd8$1@dont-email.me> <va2n6n$3fs69$1@dont-email.me> <1SGdnStv4NVv9Vj7nZ2dnZfqn_udnZ2d@earthlink.com> <va4dkl$3qlqh$1@dont-email.me>

Show all headers | View raw


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

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

memory managment and (its) protection under Linux MarioCCCP <NoliMihiFrangereMentulam@libero.it> - 2024-08-20 15:09 +0200
  Re: memory managment and (its) protection under Linux The Natural Philosopher <tnp@invalid.invalid> - 2024-08-20 19:27 +0100
    Re: memory managment and (its) protection under Linux "186282@ud0s4.net" <186283@ud0s4.net> - 2024-08-21 00:11 -0400
      Re: memory managment and (its) protection under Linux The Natural Philosopher <tnp@invalid.invalid> - 2024-08-21 10:56 +0100
        Re: memory managment and (its) protection under Linux candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-08-22 20:10 +0000
          Re: memory managment and (its) protection under Linux The Natural Philosopher <tnp@invalid.invalid> - 2024-08-23 10:11 +0100
            Re: memory managment and (its) protection under Linux MarioCCCP <NoliMihiFrangereMentulam@libero.it> - 2024-08-23 19:27 +0200
              Re: memory managment and (its) protection under Linux Rich <rich@example.invalid> - 2024-08-23 21:35 +0000
                Re: memory managment and (its) protection under Linux MarioCCCP <NoliMihiFrangereMentulam@libero.it> - 2024-08-24 01:24 +0200
              Re: memory managment and (its) protection under Linux Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-23 22:59 +0000
            Re: memory managment and (its) protection under Linux Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-23 22:58 +0000
        Re: memory managment and (its) protection under Linux David De La Harpe Golden <david@harpegolden.net> - 2024-08-23 14:42 +0100
  Re: memory managment and (its) protection under Linux Richard Kettlewell <invalid@invalid.invalid> - 2024-08-20 21:53 +0100
    Re: memory managment and (its) protection under Linux MarioCCCP <NoliMihiFrangereMentulam@libero.it> - 2024-08-22 03:11 +0200
  Re: memory managment and (its) protection under Linux Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-21 01:28 +0000
    Re: memory managment and (its) protection under Linux "186282@ud0s4.net" <186283@ud0s4.net> - 2024-08-20 23:46 -0400
      Re: memory managment and (its) protection under Linux Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-21 05:17 +0000
        Re: memory managment and (its) protection under Linux "186282@ud0s4.net" <186283@ud0s4.net> - 2024-08-21 01:46 -0400
          Re: memory managment and (its) protection under Linux Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-21 06:48 +0000
            Re: memory managment and (its) protection under Linux MarioCCCP <NoliMihiFrangereMentulam@libero.it> - 2024-08-22 03:15 +0200
              Re: memory managment and (its) protection under Linux Bobbie Sellers <blissInSanFrancisco@mouse-potato.com> - 2024-08-21 20:31 -0700
              Re: memory managment and (its) protection under Linux Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-22 04:39 +0000
              Re: memory managment and (its) protection under Linux "186282@ud0s4.net" <186283@ud0s4.net> - 2024-08-22 03:19 -0400
                Re: memory managment and (its) protection under Linux MarioCCCP <NoliMihiFrangereMentulam@libero.it> - 2024-08-23 19:35 +0200
                Re: memory managment and (its) protection under Linux Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-23 23:00 +0000
                Re: memory managment and (its) protection under Linux MarioCCCP <NoliMihiFrangereMentulam@libero.it> - 2024-08-24 01:26 +0200
                Re: memory managment and (its) protection under Linux Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-24 02:23 +0000
                Re: memory managment and (its) protection under Linux Rich <rich@example.invalid> - 2024-08-24 16:03 +0000
                Re: memory managment and (its) protection under Linux "186282@ud0s4.net" <186283@ud0s4.net> - 2024-08-24 20:53 -0400
                Re: memory managment and (its) protection under Linux Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-25 02:40 +0000
                Re: memory managment and (its) protection under Linux Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2024-08-25 03:58 +0000
                Re: memory managment and (its) protection under Linux Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-25 04:29 +0000
                Re: memory managment and (its) protection under Linux "186282@ud0s4.net" <186283@ud0s4.net> - 2024-08-25 01:42 -0400
                Re: memory managment and (its) protection under Linux MarioCCCP <NoliMihiFrangereMentulam@libero.it> - 2024-08-25 14:21 +0200
                Re: memory managment and (its) protection under Linux Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-25 23:39 +0000
                Re: memory managment and (its) protection under Linux MarioCCCP <NoliMihiFrangereMentulam@libero.it> - 2024-08-26 18:42 +0200
                Re: memory managment and (its) protection under Linux Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-26 21:36 +0000
                Re: memory managment and (its) protection under Linux MarioCCCP <NoliMihiFrangereMentulam@libero.it> - 2024-08-27 02:38 +0200
                Re: memory managment and (its) protection under Linux "186282@ud0s4.net" <186283@ud0s4.net> - 2024-08-24 01:05 -0400
  Re: memory managment and (its) protection under Linux Richard Kettlewell <invalid@invalid.invalid> - 2024-08-21 19:00 +0100
    Re: memory managment and (its) protection under Linux MarioCCCP <NoliMihiFrangereMentulam@libero.it> - 2024-08-22 03:16 +0200
  Re: memory managment and (its) protection under Linux Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2024-08-22 11:16 +0300
    Re: memory managment and (its) protection under Linux MarioCCCP <NoliMihiFrangereMentulam@libero.it> - 2024-08-23 19:38 +0200

csiph-web