Page MenuHomeFreeBSD

tests/libc: use an allowlist for sbrk in NetBSD-derived tests
ClosedPublic

Authored by zhaoxiaoqiang007_gmail.com on Mon, Oct 5, 4:21 AM.
Tags
None
Referenced Files
F175402356: D60358.diff
Sat, Oct 10, 2:51 PM
F175399728: D60358.id188686.diff
Sat, Oct 10, 2:16 PM
Unknown Object (File)
Fri, Oct 9, 9:58 AM
Unknown Object (File)
Thu, Oct 8, 10:33 PM
Unknown Object (File)
Wed, Oct 7, 5:00 PM
Unknown Object (File)
Wed, Oct 7, 4:59 PM
Unknown Object (File)
Wed, Oct 7, 4:55 PM
Unknown Object (File)
Wed, Oct 7, 8:16 AM
Subscribers

Details

Summary

sbrk is obsolete and libc only provides it on amd64, arm, i386 and
powerpc. Replace the growing exclusion lists in t_dir.c and t_mlock.c
with a single positive HAVE_SBRK definition per file, so architectures
without sbrk need not be enumerated as they are added.

Signed-off-by: Xiaoqiang Zhao <zhaoxiaoqiang007@gmail.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77710
Build 74593: arc lint + arc unit

Event Timeline

The aarch64 and riscv portions of the diff are unannotated FreeBSD modifications -- this is ok, but this really should be cleaned up in a future revision:

  1. https://github.com/ngie-eign/freebsd-src.project-tracking/issues/1
  2. https://github.com/ngie-eign/freebsd-src.project-tracking/issues/2
This revision is now accepted and ready to land.Sat, Oct 10, 5:38 PM
ngie edited the summary of this revision. (Show Details)
This revision was not accepted when it landed; it landed in state Needs Review.Sat, Oct 10, 5:43 PM
This revision was automatically updated to reflect the committed changes.