chiark / gitweb /
memfd: disallow importing memfds without sealing
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 18 Aug 2014 11:03:09 +0000 (13:03 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 18 Aug 2014 11:03:09 +0000 (13:03 +0200)
commitc7dab73a5fa6e775813765fe925caaa7c4e549fa
tree0dbff1668341b397f64baba02609c27a90cbdc8f
parent302e4b4963c471baefa60b220e3e05f93a49de45
memfd: disallow importing memfds without sealing

We use memfds for sealing. Lets not bother with memfds created without
MFD_ALLOW_SEALING for now. They're equivalent to random shmem files, so
don't bother treating them as sealable memfds.
src/shared/memfd.c