Bug 8142 - cap_[gs]et_file missing (breaks zsh/cap.so)
Summary: cap_[gs]et_file missing (breaks zsh/cap.so)
Alias: None
Product: Sisyphus
Classification: Development
Component: libcap (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Mikhail Efremov
QA Contact: qa-sisyphus
Depends on:
Reported: 2005-10-05 18:03 MSD by at@altlinux.org
Modified: 2005-10-07 00:05 MSD (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description at@altlinux.org 2005-10-05 18:03:03 MSD
* Mon Aug 15 2005 Dmitry V. Levin <ldv@altlinux> 1:1.10-alt13
- Restricted list of global symbols exported by the library.

zsh     /usr/lib/zsh/cap.so     U       cap_get_file
zsh     /usr/lib/zsh/cap.so     U       cap_set_file

/usr/include/sys/capability.h:cap_t   cap_get_file(const char *);
/usr/include/sys/capability.h:int     cap_set_file(const char *, cap_t);
Comment 1 Dmitry V. Levin 2005-10-05 23:45:48 MSD
I think this bug report is wrong, because cap_file.c was not included to the
library, and these files was not exported.
Comment 2 at@altlinux.org 2005-10-06 10:41:47 MSD
Yep, I see now it has nothing to do with restricted export, 'cause
cap_get_file() wasn't there anyway.  So I change the description as follows:

sys/capability.h exposes cap_get_file() and cap_set_file() as part of public
API, while as libcap.so.1 fails to provide corresponding text symbols.
Comment 3 Dmitry V. Levin 2005-10-06 15:36:03 MSD
OK, prototypes of these functions will be removed from sys/capability.h
Comment 4 Dmitry V. Levin 2005-10-07 00:05:34 MSD
Removed these prototypes in 1.10-alt14.