]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set p_osrel to __FreeBSD_version on process startup.
authorEd Schouten <ed@FreeBSD.org>
Mon, 3 Aug 2015 07:29:57 +0000 (07:29 +0000)
committerEd Schouten <ed@FreeBSD.org>
Mon, 3 Aug 2015 07:29:57 +0000 (07:29 +0000)
commit75c9f223942e627c310cb01884fd0c92ee386402
tree99e19d23b02d562989193cf9ae8636ab497d8011
parent5e52b667a7884fb58303192da59a55d939ef2c3a
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
sys/amd64/cloudabi64/cloudabi64_sysvec.c