Bug 8142 - cap_[gs]et_file missing (breaks zsh/cap.so)
: cap_[gs]et_file missing (breaks zsh/cap.so)
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/libcap)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2005-10-05 18:03 by
Modified: 2005-10-07 00:05 (History)


Attachments


Note

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


Description From 2005-10-05 18:03:03
* 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 From 2005-10-05 23:45:48 -------
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 From 2005-10-06 10:41:47 -------
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 From 2005-10-06 15:36:03 -------
OK, prototypes of these functions will be removed from sys/capability.h
------- Comment #4 From 2005-10-07 00:05:34 -------
Removed these prototypes in 1.10-alt14.