Re: capable()-function

From: Tony Glader (Tony.Glader@blueberrysolutions.com)
Date: Wed Oct 09 2002 - 15:16:44 EST


On Wed, 9 Oct 2002, Chris Wright wrote:

> You could dump something like this before the capable() call:
>
> printk(KERN_DEBUG "%s:(%d) eff: 0x%x\n", current->comm, current->pid,
> cap_t(current->cap_effective));

Ok. I got following result:

ÿÿ:(12290) eff: 0x0

Is the eff-value current capabilities? Why it is zero? The task who called
it (cardmgr) was owned by root.

-- 
* Tony Glader 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:33 EST