Messages in this thread | | | Date | Wed, 9 Oct 2002 23:16:44 +0300 (EEST) | From | Tony Glader <> | Subject | Re: capable()-function |
| |
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/
| |