History log of /freebsd-current/contrib/netbsd-tests/lib/libc/gen/t_nice.c
Revision Date Author Comments
# de1a9339 28-Sep-2016 Ruslan Bukin <br@FreeBSD.org>

Use right piece of code for FreeBSD.

Sponsored by: DARPA, AFRL
Sponsored by: HEIF5


# c317cb51 28-Feb-2015 Jilles Tjoelker <jilles@FreeBSD.org>

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
Reported by: bde
Relnotes: yes


# e220ce08 22-Feb-2015 Jilles Tjoelker <jilles@FreeBSD.org>

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

PR: 189821
Obtained from: NetBSD
Relnotes: yes


# ff0ba872 17-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with
their #ifdef equivalents for everything changed in contrib/netbsd-tests. There
are some items from the vendor tree that use #if defined(__FreeBSD__) or
#if defined(__NetBSD__) which are being left alone

Requested by: bde, rpaulo
Sponsored by: EMC / Isilon Storage Division


# 62141a34 12-Oct-2014 Enji Cooper <ngie@FreeBSD.org>

Expect nice_err to fail on FreeBSD with unprivileged users

PR: 189821
Sponsored by: EMC / Isilon Storage Division


# 6fc3b00f 10-Oct-2014 Enji Cooper <ngie@FreeBSD.org>

Handle getting/setting niceness/priority correctly on FreeBSD vs NetBSD

This might be fallout from PR: 189821

Submitted by: pho
Sponsored by: EMC / Isilon Storage Division