lkml.org 
[lkml]   [2006]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-12 23:15    [W:0.060 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site