All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Leblond <eleblond@inl.fr>
To: Peter.Muller@gmx.at
Cc: netfilter@lists.netfilter.org
Subject: Re: ipq_read error
Date: Thu, 27 Oct 2005 13:58:50 +0200	[thread overview]
Message-ID: <1130414330.14426.73.camel@localhost.localdomain> (raw)
In-Reply-To: <12274.1130407731@www36.gmx.net>

[-- Attachment #1: Type: text/plain, Size: 651 bytes --]

Hi,

Le jeudi 27 octobre 2005 à 12:08 +0200, Peter.Muller@gmx.at 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@inl.fr
Téléphone : 01 44 89 46 40, Fax : 01 44 89 45 01
INL, http://www.inl.fr

[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-10-27 11:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-27 10:08 ipq_read error Peter.Muller
2005-10-27 11:58 ` Eric Leblond [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-11-20 14:15 ipq_read() error Sylvie Colin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1130414330.14426.73.camel@localhost.localdomain \
    --to=eleblond@inl.fr \
    --cc=Peter.Muller@gmx.at \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.