HomeFreeBSD

shm_alloc(): cleanup

Description

shm_alloc(): cleanup

Consistently use the shorter name 'obj' for the new object.
Set OBJ_POSIXSHM flag outside if, it is set on both pathes.

Suggested by: alc
Reviewed by: alc, markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D47018

Details

Provenance
kibAuthored on Tue, Oct 8, 5:43 PM
Reviewer
alc
Differential Revision
D47018: shm_alloc(): cleanup
Parents
rG38518fda66cd: capsicum-test: rights are propagated on sctp_peeloff(2)
Branches
Unknown
Tags
Unknown