MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ipcperm_old2new

Function ipcperm_old2new

freebsd/kern/sysv_ipc.c:158–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156#if defined(COMPAT_FREEBSD4) || defined(COMPAT_FREEBSD5) || \
157 defined(COMPAT_FREEBSD6) || defined(COMPAT_FREEBSD7)
158void
159ipcperm_old2new(struct ipc_perm_old *old, struct ipc_perm *new)
160{
161
162 new->cuid = old->cuid;
163 new->cgid = old->cgid;
164 new->uid = old->uid;
165 new->gid = old->gid;
166 new->mode = old->mode;
167 new->seq = old->seq;
168 new->key = old->key;
169}
170
171void
172ipcperm_new2old(struct ipc_perm *new, struct ipc_perm_old *old)

Callers 3

freebsd7_shmctlFunction · 0.85
freebsd7___semctlFunction · 0.85
freebsd7_msgctlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected