lkml.org 
[lkml]   [2005]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: syscall: sys_promote
Alan Cox wrote:

>On Llu, 2005-08-29 at 11:54 +0800, qiyong wrote:
>
>
>>We can ignore it safely. sys_promote is a different approach from
>>selinux. sys_promote is to let sysadmin manually manipulate a running
>>process,
>>
>>
>
>You can ignore the patch easily enough. Ignoring the locking doesn't
>work because functionality like fork process counting, exec, and setuid
>all make definite assumptions that are not safe to tamper without unless
>you fix the uid locking.
>
>

Will this be helpful?

kill -STOP $pid
promote $pid
kill -CONT $pid

>Fixing it might be useful in some obscure cases anyway - POSIX threads
>might benefit from it too, providing the functionality of changing all
>thread uids at once isnt triggered for sensible threaded app behaviour.
>
>
>
>

-
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: 2005-08-31 10:01    [W:0.051 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site