Re: ipq_read error

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

 



Hi,

Le jeudi 27 octobre 2005 à 12:08 +0200, Peter.Muller@xxxxxx a écrit :
> Hello!
> 
> I'm using libipq's ipq_read function in a program to read packets that were
> queued to userspace by a kernel module.
> Does ipq_read really needs root privileges or are there other solutions? Any
> help on this is appreciated.

As the program is directly talking to the kernel, you need to be root to
be able to access libipq.

A standard solution is to switch to a given user as soon as you do not
need anymore root privileges.

BR,
-- 
Éric Leblond, eleblond@xxxxxx
Téléphone : 01 44 89 46 40, Fax : 01 44 89 45 01
INL, http://www.inl.fr

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux