[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <452EAF8D.9040405@hq.idt.net>
Date: Thu, 12 Oct 2006 17:11:41 -0400
From: Serge Aleynikov <serge@...idt.net>
To: "Serge E. Hallyn" <serue@...ibm.com>
CC: linux-kernel@...r.kernel.org, Linus Torvalds <torvalds@...l.org>,
Alan Cox <alan@...hat.com>
Subject: Re: non-critical security bug fix
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists