All of lore.kernel.org
 help / color / mirror / Atom feed
From: Serge Aleynikov <serge@hq.idt.net>
To: "Serge E. Hallyn" <serue@us.ibm.com>
Cc: linux-kernel@vger.kernel.org, Linus Torvalds <torvalds@osdl.org>,
	Alan Cox <alan@redhat.com>
Subject: Re: non-critical security bug fix
Date: Thu, 12 Oct 2006 17:11:41 -0400	[thread overview]
Message-ID: <452EAF8D.9040405@hq.idt.net> (raw)
In-Reply-To: <20061012202926.GA5690@sergelap.austin.ibm.com>

Serge E. Hallyn wrote:
> Are you able to modify the source of the application you bought?  If so,
> you can trivially fix it to do what you need by doing a cap_set_proc
> after the suid as I described before, i.e.
> 
> 	ret = setuid();
> 	caps = cap_from_text("cap_net_raw=e");
> 	ret = cap_set_proc(caps);
> 
> Is that an option?

Unfortunately that product doesn't come with sources.  :-(

-- 
Serge Aleynikov
Routing R&D, IDT Telecom
Tel: +1 (973) 438-3436
Fax: +1 (973) 438-1464

      reply	other threads:[~2006-10-12 21:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-11 18:58 non-critical security bug fix Serge Aleynikov
2006-10-12 19:06 ` Serge E. Hallyn
2006-10-12 19:25   ` Serge Aleynikov
2006-10-12 20:29     ` Serge E. Hallyn
2006-10-12 21:11       ` Serge Aleynikov [this message]

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=452EAF8D.9040405@hq.idt.net \
    --to=serge@hq.idt.net \
    --cc=alan@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=serue@us.ibm.com \
    --cc=torvalds@osdl.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.