Bug#620887: Please add a shm_mkstemp() function

2018-05-18 Thread Florian Weimer
On 05/16/2018 10:25 PM, Jakub Wilk wrote: * Goswin von Brederlow , 2011-04-04, 23:33: int shm_mkstemp(char *template); FWIW, this function is available on OpenBSD: https://man.openbsd.org/shm_mkstemp.3 We have memfd_create nowadays. It's not exactly identical because it creates an unnamed

Bug#620887: Please add a shm_mkstemp() function

2018-05-16 Thread Jakub Wilk
* Goswin von Brederlow , 2011-04-04, 23:33: int shm_mkstemp(char *template); FWIW, this function is available on OpenBSD: https://man.openbsd.org/shm_mkstemp.3 -- Jakub Wilk

Bug#620887: Please add a shm_mkstemp() function

2011-04-04 Thread Goswin von Brederlow
Package: libc6 Version: 2.11.2-13 Severity: wishlist File: /lib/librt.so.1 Hi, creating a POSIX shared memory object raises the same sorts of security issues as opening a tempfile, like name collisions. For templates there is the mkstemp(char *template) function that handles all those issues in