Page MenuHomeFreeBSD

Do not include system call wrappers in libc for old FreeBSD system calls.
ClosedPublic

Authored by jhb on Mar 9 2016, 7:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 28 2024, 9:55 PM
Unknown Object (File)
Dec 20 2023, 1:19 AM
Unknown Object (File)
Sep 7 2023, 9:03 AM
Unknown Object (File)
Sep 7 2023, 9:00 AM
Unknown Object (File)
Sep 7 2023, 9:00 AM
Unknown Object (File)
Sep 1 2023, 8:44 PM
Unknown Object (File)
Aug 11 2023, 4:46 AM
Unknown Object (File)
Jun 29 2023, 11:25 AM
Subscribers

Details

Summary

Do not include system call wrappers in libc for old FreeBSD system calls.

The base system libc is only used to run binaries built on FreeBSD 7.0 and
later. It does not need to include system call wrappers for system calls
only used by FreeBSD binaries built on versions older than 7.0. This was
already true for "COMPAT" system calls, but now wrappers for system calls
used on FreeBSD 4 and 6 are excluded as well.

Test Plan
  • Still need to do a tinderbox build.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb retitled this revision from to Do not include system call wrappers in libc for old FreeBSD system calls..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: kib.
kib edited edge metadata.

From what I see, the compat{,4,6} syscalls were not exported from libc. Am I right ?

I am fine with the patch, assuming that the generated files would be regenerated in separate commit.

This revision is now accepted and ready to land.Mar 10 2016, 9:58 AM
In D5597#119463, @kib wrote:

From what I see, the compat{,4,6} syscalls were not exported from libc. Am I right ?

I am fine with the patch, assuming that the generated files would be regenerated in separate commit.

They were not exported from libc.so. They do show up as valid symbols in libc.a, but all symbols do.

This revision was automatically updated to reflect the committed changes.