Page MenuHomeFreeBSD

libc: Export timespec_getres(3)
Needs ReviewPublic

Authored by kfv on Sat, Oct 17, 9:17 AM.
Tags
None
Referenced Files
F176406305: D60799.diff
Sun, Oct 18, 4:03 PM
F176335804: D60799.id190098.diff
Sun, Oct 18, 12:46 AM
F176309895: D60799.id190098.diff
Sat, Oct 17, 8:02 PM
F176305184: D60799.id190098.diff
Sat, Oct 17, 7:19 PM
Unknown Object (File)
Sat, Oct 17, 5:51 PM
Unknown Object (File)
Sat, Oct 17, 5:50 PM
Unknown Object (File)
Sat, Oct 17, 5:49 PM
Unknown Object (File)
Sat, Oct 17, 5:44 PM
Subscribers

Details

Reviewers
dteske
fuz
des
Summary

timespec_getres() has been declared in <time.h> and built into libc,
but never listed in a symbol map. It is therefore local to libc.so,
and dynamically linked callers fail to link.

MFC after: 1 week

Diff Detail

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

Event Timeline

kfv requested review of this revision.Sat, Oct 17, 9:17 AM

Good catch!

Might be a good opportunity to add a companion unit test.

lib/libc/gen/Symbol.map
443

This needs to go in FBSD_1.9 in my opinion, as the symbol was only added to the interface at that point. That we had it as an unexported interface before is an accident, but does not affect the versioning.