[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getcap missing in LibC?

From: Andreas Jaeger
Subject: Re: getcap missing in LibC?
Date: 02 Dec 2000 16:07:52 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands)

>>>>> Joachim Nilsson writes:

 > Hello,
 > I am in the process of porting an application from *BSD to GNU/Linux
 > and now I think I've run into a possible missing feature in GLibC.

 > The program makes heavy use of the cget*() capability functions that
 > exist in, at least, OpenBSD. My question is this: Does there exist 
 > another way of accessing capabilities in GLibC, that I don't know 
 > about, or are these features colliding with some standards compliance?

 > Either way, I need to know how to proceed with this. Implement support
 > for getcap capabilities in GLibC or provide this functionality in a
 > separate library under Linux/GNU.

getcap is implemented in Linux but not in glibc yet since the folks
implementing it in the kernel AFAIK didn't think the interface is
mature enough for inclusion in glibc.  There should be a separate
library available.

I'd welcome the addition of getcap to glibc but only if the kernel
folks consider the interface stable enough.  I've CC'ed the Linux
capability developers.

Btw. linux/capability has:
 * See here for the libcap library ("POSIX draft" compliance):
 * ftp://linux.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.2/

 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]