Skip to contentSkip to conversation

memfd: Add memfd.h to uapi headers

PATCH In review Marcel Holtmann 2 participants 3 messages Sep 6, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 memfd: Add memfd.h to uapi headers

It seems like a good idea to actually expose include/uapi/linux/memfd.h so that it gets installed and can be used by userspace.

---
 include/uapi/linux/Kbuild | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/Kbuild +1 -0
index 24e9033f8b3f..939df6973102 100644
@@ -240,6 +240,7 @@ header-y += matroxfb.h
 header-y += mdio.h
 header-y += media.h
 header-y += mei.h
+header-y += memfd.h
 header-y += mempolicy.h
 header-y += meye.h
 header-y += mic_common.h
Signature · 1 line
1.9.3
#1 lore raw

Hi

Quoted 4 lines · Marcel Holtmann

It seems like a good idea to actually expose include/uapi/linux/memfd.h so that it gets installed and can be used by userspace.

Already in -mmots, will probably be pulled by Linus next week:

http://ozlabs.org/~akpm/mmots/broken-out/shm-add-memfdh-to-uapi-export-list.patch

Thanks
David

Quoted 19 lines
---
 include/uapi/linux/Kbuild | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/Kbuild +1 -1
index 24e9033f8b3f..939df6973102 100644
@@ -240,6 +240,7 @@ header-y += matroxfb.h
 header-y += mdio.h
 header-y += media.h
 header-y += mei.h
+header-y += memfd.h
 header-y += mempolicy.h
 header-y += meye.h
 header-y += mic_common.h
--

1.9.3

#2 lore raw

Hi David,

Quoted 8 lines
Quoted 4 lines

It seems like a good idea to actually expose include/uapi/linux/memfd.h so that it gets installed and can be used by userspace.

Already in -mmots, will probably be pulled by Linus next week:

http://ozlabs.org/~akpm/mmots/broken-out/shm-add-memfdh-to-uapi-export-list.patch

might be a good idea to get it in before 3.17-rc4 and not have it dangling around for another week. Just an idea ;)

Regards

Marcel