HomeFreeBSD

MFC r279154,r279397:

Description

MFC r279154,r279397:

r279154 (by jilles):

nice(): Correct return value and [EPERM] error.

PR: 189821
Obtained from: NetBSD
Relnotes: yes

r279397 (by jilles):

nice(): Put back old return value, keeping [EPERM] error.

Commit r279154 changed the API and ABI significantly, and {NZERO} is still
wrong.

Also, preserve errno on success instead of setting it to 0.

PR: 189821
Relnotes: yes

Details

Provenance
ngieAuthored on
Parents
rS313478: MFC r305483,r306030,r306031,r306033,r306036:
Branches
Unknown
Tags
Unknown