Re: non-critical security bug fix

From: Serge Aleynikov
Date: Thu Oct 12 2006 - 17:12:02 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/