* Add common orderly_poweroff() to 2.6.22?
@ 2008-01-21 17:59 Oliver Pinter (Pintér Olivér)
2008-01-24 17:17 ` Jeremy Fitzhardinge
0 siblings, 1 reply; 7+ messages in thread
From: Oliver Pinter (Pintér Olivér) @ 2008-01-21 17:59 UTC (permalink / raw)
To: Adrian Bunk, David Miller, Greg KH, Greg KH, Linus Torvalds,
Linux Kernel, Andrew Morton, Randy Dunlap, Al Viro, Arnd Bergmann
Hi all!
commit in mainline 10a0a8d4e3f6bf2d077f94344441909abe670f5a is go in
the satble 2.6.22
the grund for this question is http://hup.hu/node/49773 .
--
Thanks,
Oliver
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Add common orderly_poweroff() to 2.6.22?
2008-01-21 17:59 Add common orderly_poweroff() to 2.6.22? Oliver Pinter (Pintér Olivér)
@ 2008-01-24 17:17 ` Jeremy Fitzhardinge
2008-01-24 18:33 ` Oliver Pinter (Pintér Olivér)
0 siblings, 1 reply; 7+ messages in thread
From: Jeremy Fitzhardinge @ 2008-01-24 17:17 UTC (permalink / raw)
To: "Oliver Pinter (Pintér Olivér)"
Cc: Adrian Bunk, David Miller, Greg KH, Greg KH, Linus Torvalds,
Linux Kernel, Andrew Morton, Randy Dunlap, Al Viro, Arnd Bergmann
Oliver Pinter (Pintér Olivér) wrote:
> Hi all!
>
> commit in mainline 10a0a8d4e3f6bf2d077f94344441909abe670f5a is go in
> the satble 2.6.22
>
> the grund for this question is http://hup.hu/node/49773 .
>
Is there a compelling reason? I added it to remove some duplicate code,
but it isn't a bugfix or anything.
J
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Add common orderly_poweroff() to 2.6.22?
2008-01-24 17:17 ` Jeremy Fitzhardinge
@ 2008-01-24 18:33 ` Oliver Pinter (Pintér Olivér)
2008-01-24 19:09 ` Jeremy Fitzhardinge
0 siblings, 1 reply; 7+ messages in thread
From: Oliver Pinter (Pintér Olivér) @ 2008-01-24 18:33 UTC (permalink / raw)
To: Jeremy Fitzhardinge
Cc: Adrian Bunk, David Miller, Greg KH, Greg KH, Linus Torvalds,
Linux Kernel, Andrew Morton, Randy Dunlap, Al Viro, Arnd Bergmann
On 1/24/08, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
> Oliver Pinter (Pintér Olivér) wrote:
> > Hi all!
> >
> > commit in mainline 10a0a8d4e3f6bf2d077f94344441909abe670f5a is go in
> > the satble 2.6.22
> >
> > the grund for this question is http://hup.hu/node/49773 .
> >
>
> Is there a compelling reason?
no, but in forum some person have the question, why the kernel call
userspace program and it is secure or not...
I added it to remove some duplicate code,
> but it isn't a bugfix or anything.
>
> J
>
>
--
Thanks,
Oliver
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Add common orderly_poweroff() to 2.6.22?
2008-01-24 18:33 ` Oliver Pinter (Pintér Olivér)
@ 2008-01-24 19:09 ` Jeremy Fitzhardinge
2008-01-24 20:28 ` Oliver Pinter (Pintér Olivér)
0 siblings, 1 reply; 7+ messages in thread
From: Jeremy Fitzhardinge @ 2008-01-24 19:09 UTC (permalink / raw)
To: "Oliver Pinter (Pintér Olivér)"
Cc: Adrian Bunk, David Miller, Greg KH, Greg KH, Linus Torvalds,
Linux Kernel, Andrew Morton, Randy Dunlap, Al Viro, Arnd Bergmann
Oliver Pinter (Pintér Olivér) wrote:
> On 1/24/08, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
>
>> Oliver Pinter (Pintér Olivér) wrote:
>>
>>> Hi all!
>>>
>>> commit in mainline 10a0a8d4e3f6bf2d077f94344441909abe670f5a is go in
>>> the satble 2.6.22
>>>
>>> the grund for this question is http://hup.hu/node/49773 .
>>>
>>>
>> Is there a compelling reason?
>>
>
> no, but in forum some person have the question, why the kernel call
> userspace program and it is secure or not...
>
Ah, my non-existent knowledge of Hungarian wasn't up to interpreting
that page ;)
It should be secure if done properly. Of course, if you set the
"poweroff" executable to something untrustworthy then you'll have a
problem, but there's no inherent security problem there. And if you
want to do an orderly shutdown, you need to have some amount of help
from the userspace side of things, and invoking a command is the normal
way to do this.
J
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Add common orderly_poweroff() to 2.6.22?
2008-01-24 19:09 ` Jeremy Fitzhardinge
@ 2008-01-24 20:28 ` Oliver Pinter (Pintér Olivér)
2008-01-24 21:12 ` Jeremy Fitzhardinge
0 siblings, 1 reply; 7+ messages in thread
From: Oliver Pinter (Pintér Olivér) @ 2008-01-24 20:28 UTC (permalink / raw)
To: Jeremy Fitzhardinge
Cc: Adrian Bunk, David Miller, Greg KH, Greg KH, Linus Torvalds,
Linux Kernel, Andrew Morton, Randy Dunlap, Al Viro, Arnd Bergmann
On 1/24/08, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
> Oliver Pinter (Pintér Olivér) wrote:
> > On 1/24/08, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
> >
> >> Oliver Pinter (Pintér Olivér) wrote:
> >>
> >>> Hi all!
> >>>
> >>> commit in mainline 10a0a8d4e3f6bf2d077f94344441909abe670f5a is go in
> >>> the satble 2.6.22
> >>>
> >>> the grund for this question is http://hup.hu/node/49773 .
> >>>
> >>>
> >> Is there a compelling reason?
> >>
> >
> > no, but in forum some person have the question, why the kernel call
> > userspace program and it is secure or not...
> >
>
> Ah, my non-existent knowledge of Hungarian wasn't up to interpreting
> that page ;)
>
> It should be secure if done properly. Of course, if you set the
> "poweroff" executable to something untrustworthy then you'll have a
> problem, but there's no inherent security problem there. And if you
> want to do an orderly shutdown, you need to have some amount of help
> from the userspace side of things, and invoking a command is the normal
> way to do this.
yes, i know this
>
> J
>
the original topic name is : why linux kernel crap ...
the substance is, when from kernel call users-pace program, then come
up more problems with security...
when the fs crash out or the userspace code is breaked, then the
system not shuting down ..
and when it is only code duplication cleanup, then is unneaded for
2.6.22, thanks and, sorry for bad spelling.
--
Thanks,
Oliver (pinyo_villany)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Add common orderly_poweroff() to 2.6.22?
2008-01-24 20:28 ` Oliver Pinter (Pintér Olivér)
@ 2008-01-24 21:12 ` Jeremy Fitzhardinge
2008-01-24 21:35 ` Oliver Pinter (Pintér Olivér)
0 siblings, 1 reply; 7+ messages in thread
From: Jeremy Fitzhardinge @ 2008-01-24 21:12 UTC (permalink / raw)
To: "Oliver Pinter (Pintér Olivér)"
Cc: Adrian Bunk, David Miller, Greg KH, Greg KH, Linus Torvalds,
Linux Kernel, Andrew Morton, Randy Dunlap, Al Viro, Arnd Bergmann
Oliver Pinter (Pintér Olivér) wrote:
> the original topic name is : why linux kernel crap ...
>
> the substance is, when from kernel call users-pace program, then come
> up more problems with security...
> when the fs crash out or the userspace code is breaked, then the
> system not shuting down ..
>
orderly_poweroff() has the option to force a hard shutdown if the exec
of the usermode command fails.
J
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Add common orderly_poweroff() to 2.6.22?
2008-01-24 21:12 ` Jeremy Fitzhardinge
@ 2008-01-24 21:35 ` Oliver Pinter (Pintér Olivér)
0 siblings, 0 replies; 7+ messages in thread
From: Oliver Pinter (Pintér Olivér) @ 2008-01-24 21:35 UTC (permalink / raw)
To: Jeremy Fitzhardinge
Cc: Adrian Bunk, David Miller, Greg KH, Greg KH, Linus Torvalds,
Linux Kernel, Andrew Morton, Randy Dunlap, Al Viro, Arnd Bergmann
thanks
On 1/24/08, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
> Oliver Pinter (Pintér Olivér) wrote:
> > the original topic name is : why linux kernel crap ...
> >
> > the substance is, when from kernel call users-pace program, then come
> > up more problems with security...
> > when the fs crash out or the userspace code is breaked, then the
> > system not shuting down ..
> >
>
> orderly_poweroff() has the option to force a hard shutdown if the exec
> of the usermode command fails.
>
> J
>
--
Thanks,
Oliver
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-01-24 21:35 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-21 17:59 Add common orderly_poweroff() to 2.6.22? Oliver Pinter (Pintér Olivér)
2008-01-24 17:17 ` Jeremy Fitzhardinge
2008-01-24 18:33 ` Oliver Pinter (Pintér Olivér)
2008-01-24 19:09 ` Jeremy Fitzhardinge
2008-01-24 20:28 ` Oliver Pinter (Pintér Olivér)
2008-01-24 21:12 ` Jeremy Fitzhardinge
2008-01-24 21:35 ` Oliver Pinter (Pintér Olivér)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox