HomeFreeBSD

Set p_osrel to __FreeBSD_version on process startup.

Description

Set p_osrel to __FreeBSD_version on process startup.

Certain system calls have quirks applied to make them work as if called
on an older version of FreeBSD. As CloudABI executables don't have the
FreeBSD OS release number in the ELF header, this value is set to zero,
making the system calls fall back to typically historic, non-standard
behaviour.

Reviewed by: kib

Details

Provenance
edAuthored on
Reviewer
kib
Parents
rS286220: MFC r284542:
Branches
Unknown
Tags
Unknown