All of lore.kernel.org
 help / color / mirror / Atom feed
* Creating executable device nodes in /dev?
@ 2020-11-19 16:17 ` Andy Lutomirski
  0 siblings, 0 replies; 60+ messages in thread
From: Andy Lutomirski @ 2020-11-19 16:17 UTC (permalink / raw)
  To: linux-hotplug, systemd Mailing List, Jarkko Sakkinen,
	Jethro Beekman, Topi Miettinen, Casey Schaufler, linux-sgx,
	Svahn, Kai, Schlobohm, Bruce, Stephen Smalley, Haitao Huang,
	Ben Hutchings

Hi udev people-

The upcoming Linux SGX driver has a device node /dev/sgx.  User code
opens it, does various setup things, mmaps it, and needs to be able to
create PROT_EXEC mappings.  This gets quite awkward if /dev is mounted
noexec.

Can udev arrange to make a device node executable on distros that make
/dev noexec?  This could be done by bind-mounting from an exec tmpfs.
Alternatively, the kernel could probably learn to ignore noexec on
/dev/sgx, but that seems a little bit evil.

Thanks,
Andy

^ permalink raw reply	[flat|nested] 60+ messages in thread

end of thread, other threads:[~2020-12-22 22:15 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 16:17 Creating executable device nodes in /dev? Andy Lutomirski
2020-11-19 16:17 ` Andy Lutomirski
2020-11-19 16:32 ` Zbigniew Jędrzejewski-Szmek
2020-11-19 18:05   ` Topi Miettinen
2020-11-19 18:05     ` Topi Miettinen
2020-12-08 18:07     ` Andy Lutomirski
2020-12-08 18:07       ` Andy Lutomirski
2020-12-08 20:45       ` Topi Miettinen
2020-12-08 20:45         ` Topi Miettinen
2020-12-08 21:30         ` Andy Lutomirski
2020-12-08 21:30           ` Andy Lutomirski
2020-12-08 23:15           ` Topi Miettinen
2020-12-08 23:15             ` Topi Miettinen
2020-12-09  0:15             ` Jarkko Sakkinen
2020-12-09  0:15               ` Jarkko Sakkinen
2020-12-09  0:42               ` Jarkko Sakkinen
2020-12-09  0:42                 ` Jarkko Sakkinen
2020-12-09  8:58                 ` Topi Miettinen
2020-12-09  8:58                   ` Topi Miettinen
2020-12-09  9:07                   ` Jethro Beekman
2020-12-09  9:07                     ` Jethro Beekman
2020-12-09 15:14                   ` Andy Lutomirski
2020-12-09 15:14                     ` Andy Lutomirski
2020-12-09 19:22                     ` Topi Miettinen
2020-12-09 19:22                       ` Topi Miettinen
2020-12-09 19:32                       ` Andy Lutomirski
2020-12-09 19:32                         ` Andy Lutomirski
2020-12-09 21:58                     ` Ben Hutchings
2020-12-09 21:58                       ` Ben Hutchings
2020-12-11 11:36                       ` Zbigniew Jędrzejewski-Szmek
2020-12-09  7:58               ` Antw: [EXT] Re: [systemd-devel] " Ulrich Windl
2020-12-09  7:58                 ` Ulrich Windl
2020-12-11 10:40                 ` Jarkko Sakkinen
2020-12-11 10:40                   ` Jarkko Sakkinen
2020-12-09  8:35               ` Topi Miettinen
2020-12-09  8:35                 ` Topi Miettinen
2020-12-11 10:46                 ` Jarkko Sakkinen
2020-12-11 10:46                   ` Jarkko Sakkinen
2020-12-11 11:29                   ` Greg KH
2020-12-11 11:29                     ` Greg KH
2020-12-12 11:51                     ` [systemd-devel] " Christian Brauner
2020-12-12 11:51                       ` Christian Brauner
2020-12-12 12:32                     ` Christian Brauner
2020-12-12 12:32                       ` Christian Brauner
2020-12-11 11:46                   ` Topi Miettinen
2020-12-11 11:46                     ` Topi Miettinen
2020-12-14  7:25                     ` Antw: [EXT] Re: [systemd-devel] " Ulrich Windl
2020-12-14  7:25                       ` Ulrich Windl
2020-12-15  4:19                       ` Jarkko Sakkinen
2020-12-15  4:19                         ` Jarkko Sakkinen
2020-12-15  4:27                         ` Jarkko Sakkinen
2020-12-15  4:27                           ` Jarkko Sakkinen
2020-12-16 10:03                         ` Ulrich Windl
2020-12-16 10:03                           ` Ulrich Windl
2020-12-16 13:05                           ` Topi Miettinen
2020-12-16 13:05                             ` Topi Miettinen
2020-12-22 22:14                             ` Jarkko Sakkinen
2020-12-22 22:14                               ` Jarkko Sakkinen
2020-12-09  0:03       ` Jarkko Sakkinen
2020-12-09  0:03         ` Jarkko Sakkinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.