Bug 217014 - review libcap/libpsx API for API leakage
Summary: review libcap/libpsx API for API leakage
Status: RESOLVED CODE_FIX
Alias: None
Product: Tools
Classification: Unclassified
Component: libcap (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Andrew G. Morgan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-08 15:14 UTC by Andrew G. Morgan
Modified: 2023-02-09 03:18 UTC (History)
0 users

See Also:
Kernel Version: n/a
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Andrew G. Morgan 2023-02-08 15:14:08 UTC
I've been dealing with some reports about internal library functions not being stable... That is folk calling into the library to do things not supported by the official API. I think it would be good to figure out what functions are callable like this and stop exporting them. This sort of thing showed up in:

https://bugs.debian.org/869588

https://stackoverflow.com/questions/22244428/hiding-symbol-names-in-library

offers some suggestions for how to do this.

Note You need to log in before you can comment on or make changes to this bug.