Bug 249467

Summary: [linuxlator] linux_memfd_create() not implemented
Product: Base System Reporter: Yuri Victorovich <yuri>
Component: kernAssignee: Kyle Evans <kevans>
Status: Closed FIXED    
Severity: Affects Only Me CC: dchagin, emaste, emulation, freebsd, iwtcex, kevans, trasz
Priority: ---    
Version: 12.1-STABLE   
Hardware: Any   
OS: Any   

Description Yuri Victorovich freebsd_committer freebsd_triage 2020-09-19 22:51:53 UTC
The current PulseAudio master requires memfd_create(2), see https://man7.org/linux/man-pages/man2/memfd_create.2.html

>  12638 zoom     CALL  linux_memfd_create(0x8f4259b99,0x2)
>  12638 zoom     RET   linux_memfd_create -1 errno -38 Function not implemented

12.2-STABLE r365688
Comment 1 Alex S 2020-09-20 01:02:23 UTC
linux_memfd_create was commited in https://reviews.freebsd.org/rS362769. Not sure why it wasn't backported.


(In reply to Yuri Victorovich from comment #0)

> PulseAudio master requires memfd_create(2)

There is the `enable-memfd` configuration parameter, it doesn't look deprecated to me.
Comment 2 Kyle Evans freebsd_committer freebsd_triage 2020-09-20 01:26:51 UTC
> Not sure why it wasn't backported.

I was unsure of the feasibility of backporting some parts of the file sealing due to possible KPI changes, so neither that nor shm_open2 have been backported.
Comment 3 Martin Filla 2020-09-22 20:34:20 UTC
(In reply to Kyle Evans from comment #2)
Thank you for implementation first syscall but 
sometimes i have issue with frezed application
kernel: linux: pid 41254 (gio): syscall inotify_init1 not implemented
kernel: linux: pid 41254 (gio): syscall inotify_init not implemented
Comment 4 Dmitry Chagin freebsd_committer freebsd_triage 2023-02-21 10:34:37 UTC
(In reply to Kyle Evans from comment #2)
I think it could be closed now, we do not MFC of Linuxulator to the stable/12 branch an so one. ok?
For inotify we have another PR.