Page MenuHomeFreeBSD

sysctlbyname(2): Remove temporary compatibility layer
ClosedPublic

Authored by kaktus on Dec 29 2019, 3:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 10, 8:17 AM
Unknown Object (File)
Dec 31 2023, 8:23 AM
Unknown Object (File)
Dec 20 2023, 6:24 AM
Unknown Object (File)
Sep 9 2023, 8:14 PM
Unknown Object (File)
Sep 2 2023, 6:34 PM
Unknown Object (File)
Aug 28 2023, 12:53 AM
Unknown Object (File)
Aug 28 2023, 12:53 AM
Unknown Object (File)
Aug 28 2023, 12:51 AM
Subscribers

Details

Summary

Remove temporary compatibility layer introduced in r351729. More that 3 months should be enough for everybody who runs HEAD to upgrade to the new kernel already.

Approved-by:
Reviewed-by:

Diff Detail

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

Event Timeline

Remove the now unneeded include of libc_private.h too.

This revision is now accepted and ready to land.Dec 29 2019, 3:25 PM
imp requested changes to this revision.Dec 29 2019, 3:40 PM

Will this break stable/12 binaries on cuurent?

This revision now requires changes to proceed.Dec 29 2019, 3:40 PM

No. This was only in place to make sure people can rollback to older kernel without libc exploding.

mjg requested changes to this revision.Dec 29 2019, 3:55 PM
mjg accepted this revision.
% file 12.1/bin/df
12.1/bin/df: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 12.1, FreeBSD-style, stripped

% truss -o /dev/stdout ./12.1/bin/df -l | grep sysctlby
__sysctlbyname("vfs.conflist",12,0x0,0x7fffffffcdf8,0x0,0) = 0 (0x0)
__sysctlbyname("vfs.conflist",12,0x8006eb000,0x7fffffffcdf8,0x0,0) = 0 (0x0)

Ok. In that case we are good.

This revision is now accepted and ready to land.Dec 29 2019, 4:52 PM