HomeFreeBSD

Switch legacy pty clone handler to use make_dev_s(9). Add

Description

Switch legacy pty clone handler to use make_dev_s(9). Add
MAKEDEV_CHECKNAME flag to the call, this is required to not panic on
race between the clone and destructing the closed master.

Reported by and discussed with: bde
Tested by: pho (as part of the larger patch)
Sponsored by: The FreeBSD Foundation
MFC after: 3 weeks

Details

Provenance
kibAuthored on
Parents
rS293824: Close ^/user/ngie/more-tests* branches
Branches
Unknown
Tags
Unknown