lkml.org 
[lkml]   [2008]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Add common orderly_poweroff() to 2.6.22?
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
--
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: 2008-01-24 20:13    [W:0.051 / U:1.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site