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


Groups > linux.debian.user > #227558

Re: Mounting /dev/shm noexec

From Steve McIntyre <steve@einval.com>
Newsgroups linux.debian.user
Subject Re: Mounting /dev/shm noexec
Date 2020-10-03 02:30 +0200
Message-ID <AVDAZ-1Ts-1@gated-at.bofh.it> (permalink)
References <AVzxo-7Na-1@gated-at.bofh.it> <AVzxo-7Na-1@gated-at.bofh.it> <AVAa6-80P-1@gated-at.bofh.it>
Organization Invalid Argument

Show all headers | View raw


Andy Smith wrote:

...

>Though note that it seems systemd once did use "noexec" for /dev/shm
>but stopped 10 years ago because it broke some uses of mmap:
>
>    https://github.com/systemd/systemd/commit/501c875bffaef3263ad42c32485c7fde41027175

libffi also has a habit of using /dev/shm for writing temporary
trampolines for cross-language calls, and they need to be executable.

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"You can't barbecue lettuce!" -- Ellie Crane

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Mounting /dev/shm noexec Valter Jaakkola <valter.jaakkola@elisanet.fi> - 2020-10-02 22:10 +0200
  Re: Mounting /dev/shm noexec deloptes <deloptes@gmail.com> - 2020-10-02 22:40 +0200
  Re: Mounting /dev/shm noexec Andy Smith <andy@strugglers.net> - 2020-10-02 22:50 +0200
    Re: Mounting /dev/shm noexec Steve McIntyre <steve@einval.com> - 2020-10-03 02:30 +0200
      Re: Mounting /dev/shm noexec Valter Jaakkola <valter.jaakkola@elisanet.fi> - 2020-10-04 23:10 +0200
      Re: Re: Mounting /dev/shm noexec Michael Biebl <biebl@debian.org> - 2020-10-05 14:00 +0200
  Re: Mounting /dev/shm noexec Sven Joachim <svenjoac@gmx.de> - 2020-10-02 22:50 +0200

csiph-web