* This version of the shm_open() interface leaves CLOEXEC behavior up to the * caller, and libc will enforce it for the traditional shm_open() call. This * allows other consumers, like memfd_create(), to opt-in for CLOEXEC. This * interface also includes a 'name' argument that is currently unused, but could * potentially be exported later via some interface for debugging purposes. * From th
| 1971 | * implementing the same function. |
| 1972 | */ |
| 1973 | int |
| 1974 | sys_shm_open2(struct thread *td, struct shm_open2_args *uap) |
| 1975 | { |
| 1976 | |
| 1977 | return (kern_shm_open2(td, uap->path, uap->flags, uap->mode, |
| 1978 | uap->shmflags, NULL, uap->name)); |
| 1979 | } |
nothing calls this directly
no test coverage detected