Re: sudo and changes in packaging guidelines

2012-04-14 Thread Rex Dieter
Mattia Verga wrote: > Greetings, > I saw the changes in packaging guidelines related to PIE: > > /If your package meets the following criteria you *MUST* enable the PIE > compiler flags: / > > * /Your package is long running. This means it's likely to be started > and keep running until th

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Toshio Kuratomi
On Fri, Apr 13, 2012 at 02:40:11PM -0400, Adam Jackson wrote: > On 4/13/12 2:37 PM, Frank Ch. Eigler wrote: > > > >>[...] > >>If your package meets the following criteria you MUST enable the PIE > >>compiler > >>flags: > >>[...] > >> * Your package runs as root. > >>[...] > > > >If this is meant

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Richard W.M. Jones
On Fri, Apr 13, 2012 at 04:36:07PM -0400, Adam Jackson wrote: > On 4/13/12 3:19 PM, Richard W.M. Jones wrote: > >On Fri, Apr 13, 2012 at 10:47:00AM -0700, Toshio Kuratomi wrote: > >>Although (since I know Rich works on OCaml stuff) since OCaml is compiled to > >>C before being compiled to object co

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Adam Jackson
On 4/13/12 3:19 PM, Richard W.M. Jones wrote: On Fri, Apr 13, 2012 at 10:47:00AM -0700, Toshio Kuratomi wrote: Although (since I know Rich works on OCaml stuff) since OCaml is compiled to C before being compiled to object code, this section might still apply. OCaml isn't compiled to C, it's co

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Chris Adams
Once upon a time, Horst H. von Brand said: > Chris Adams wrote: > > Once upon a time, Adam Jackson said: > > > On 4/13/12 2:37 PM, Frank Ch. Eigler wrote: > > > > > > > >>[...] > > > >>If your package meets the following criteria you MUST enable the PIE > > > >>compiler > > > >>flags: > > > >>[

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Jon Ciesla
On Fri, Apr 13, 2012 at 2:16 PM, Frank Ch. Eigler wrote: > > ajax wrote: > >> [...] >>> If this is meant to cover administrative binaries that have no >>> privilege escalation pieces of their own, merely run by root, then >>> what makes them different from any other /bin/* program that a root >>>

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Richard W.M. Jones
On Fri, Apr 13, 2012 at 10:47:00AM -0700, Toshio Kuratomi wrote: > Although (since I know Rich works on OCaml stuff) since OCaml is compiled to > C before being compiled to object code, this section might still apply. OCaml isn't compiled to C, it's compiled direct to machine code. The OCaml nati

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Frank Ch. Eigler
ajax wrote: > [...] >> If this is meant to cover administrative binaries that have no >> privilege escalation pieces of their own, merely run by root, then >> what makes them different from any other /bin/* program that a root >> process might invoke? > > It's not meant to cover that. That phras

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Horst H. von Brand
Chris Adams wrote: > Once upon a time, Adam Jackson said: > > On 4/13/12 2:37 PM, Frank Ch. Eigler wrote: > > > > > >>[...] > > >>If your package meets the following criteria you MUST enable the PIE > > >>compiler > > >>flags: > > >>[...] > > >> * Your package runs as root. > > >>[...] > > > >

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Horst H. von Brand
Toshio Kuratomi wrote: > On Fri, Apr 13, 2012 at 06:39:14PM +0100, Richard W.M. Jones wrote: > > On Fri, Apr 13, 2012 at 12:36:36PM -0500, Jon Ciesla wrote: > > > > > > > > - Is the above an 'AND' or an 'OR' set of requirements? > > > > > > OR. > > > > Thanks. That wasn't clear to me at all --

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Horst H. von Brand
Jon Ciesla wrote: > On Fri, Apr 13, 2012 at 12:32 PM, Richard W.M. Jones > wrote: [...] > > - What happens if the program isn't written in C? > If it's not C, C++, etc, it's not applicable. I don't believe it > applies to other compiled languages. Why not? I can't think of a SUID binary wr

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Chris Adams
Once upon a time, Adam Jackson said: > On 4/13/12 2:37 PM, Frank Ch. Eigler wrote: > > > >>[...] > >>If your package meets the following criteria you MUST enable the PIE > >>compiler > >>flags: > >>[...] > >> * Your package runs as root. > >>[...] > > > >If this is meant to cover administrative

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Adam Jackson
On 4/13/12 2:37 PM, Frank Ch. Eigler wrote: [...] If your package meets the following criteria you MUST enable the PIE compiler flags: [...] * Your package runs as root. [...] If this is meant to cover administrative binaries that have no privilege escalation pieces of their own, merely ru

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Frank Ch. Eigler
> [...] > If your package meets the following criteria you MUST enable the PIE compiler > flags: > [...] > * Your package runs as root. > [...] If this is meant to cover administrative binaries that have no privilege escalation pieces of their own, merely run by root, then what makes them diffe

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Toshio Kuratomi
On Fri, Apr 13, 2012 at 06:39:14PM +0100, Richard W.M. Jones wrote: > On Fri, Apr 13, 2012 at 12:36:36PM -0500, Jon Ciesla wrote: > > > > > > - Is the above an 'AND' or an 'OR' set of requirements? > > > > OR. > > Thanks. That wasn't clear to me at all -- when I first read it, I > assumed it mus

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Toshio Kuratomi
On Fri, Apr 13, 2012 at 12:36:36PM -0500, Jon Ciesla wrote: > On Fri, Apr 13, 2012 at 12:32 PM, Richard W.M. Jones > wrote: > > On Fri, Apr 13, 2012 at 05:37:12PM +0200, Mattia Verga wrote: > >> Greetings, > >> I saw the changes in packaging guidelines related to PIE: > >> > >> /If your package m

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Richard W.M. Jones
On Fri, Apr 13, 2012 at 12:36:36PM -0500, Jon Ciesla wrote: > On Fri, Apr 13, 2012 at 12:32 PM, Richard W.M. Jones > wrote: > > On Fri, Apr 13, 2012 at 05:37:12PM +0200, Mattia Verga wrote: > >> Greetings, > >> I saw the changes in packaging guidelines related to PIE: > >> > >> /If your package m

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Jon Ciesla
On Fri, Apr 13, 2012 at 12:32 PM, Richard W.M. Jones wrote: > On Fri, Apr 13, 2012 at 05:37:12PM +0200, Mattia Verga wrote: >> Greetings, >> I saw the changes in packaging guidelines related to PIE: >> >> /If your package meets the following criteria you *MUST* enable the >> PIE compiler flags: /

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Richard W.M. Jones
On Fri, Apr 13, 2012 at 05:37:12PM +0200, Mattia Verga wrote: > Greetings, > I saw the changes in packaging guidelines related to PIE: > > /If your package meets the following criteria you *MUST* enable the > PIE compiler flags: / > > * /Your package is long running. This means it's likely to be

Re: sudo and changes in packaging guidelines

2012-04-13 Thread Jon Ciesla
On Fri, Apr 13, 2012 at 10:37 AM, Mattia Verga wrote: > Greetings, > I saw the changes in packaging guidelines related to PIE: > > If your package meets the following criteria you MUST enable the PIE > compiler flags: > > Your package is long running. This means it's likely to be started and keep

sudo and changes in packaging guidelines

2012-04-13 Thread Mattia Verga
Greetings, I saw the changes in packaging guidelines related to PIE: /If your package meets the following criteria you *MUST* enable the PIE compiler flags: / * /Your package is long running. This means it's likely to be started and keep running until the machine is rebooted, not start on