On 09/02/2017 02:22, Jamie Strandboge wrote: > I confirmed this works fine under confinement (return code checking omitted > for > clarity): > > char *name = "/dev/shm/sem.snap.foo.bar"; > open(name, O_CREAT | O_EXCL | O_RDRW, S_IRUSR | S_IWUSR); > sem_open("snap.foo.bar", 0); > > As such, sem_open() can work under confinement, but the application needs to > be > written to work within it.
Thanks Jamie, this is helpful! > Sergio put together snapcraft-preload: > https://github.com/sergiusens/snapcraft-preload > > It doesn't seem to have sem_open() support yet, but it certainly could. Cool, I didn't know about this project. I submitted https://github.com/sergiusens/snapcraft-preload/issues/2 Ciao, Alberto
signature.asc
Description: OpenPGP digital signature
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft