<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>8142</bug_id>
          
          <creation_ts>2005-10-05 18:03:03 +0400</creation_ts>
          <short_desc>cap_[gs]et_file missing (breaks zsh/cap.so)</short_desc>
          <delta_ts>2005-10-07 00:05:34 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libcap</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="at@altlinux.org">at</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>31411</commentid>
    <comment_count>0</comment_count>
    <who name="at@altlinux.org">at</who>
    <bug_when>2005-10-05 18:03:03 +0400</bug_when>
    <thetext>* Mon Aug 15 2005 Dmitry V. Levin &lt;ldv@altlinux&gt; 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);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31419</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-10-05 23:45:48 +0400</bug_when>
    <thetext>I think this bug report is wrong, because cap_file.c was not included to the
library, and these files was not exported.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31427</commentid>
    <comment_count>2</comment_count>
    <who name="at@altlinux.org">at</who>
    <bug_when>2005-10-06 10:41:47 +0400</bug_when>
    <thetext>Yep, I see now it has nothing to do with restricted export, &apos;cause
cap_get_file() wasn&apos;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.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31441</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-10-06 15:36:03 +0400</bug_when>
    <thetext>OK, prototypes of these functions will be removed from sys/capability.h</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31473</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-10-07 00:05:34 +0400</bug_when>
    <thetext>Removed these prototypes in 1.10-alt14.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>