Johann Pascher | 3 Feb 18:40
Picon

Re: coLinux-users Digest, Vol 69, Issue 2

Hi Alexander Kriegisch (kriegaex),

I don't have any problem with it on Ubuntu 12.04 (speedlinux)
Did test with this example:
http://monkeypatch.me/blog/move-a-running-process-to-a-new-screen-shell.html
Best regards, Johann Pascher

2012/2/3  <colinux-users-request@...>:
> Send coLinux-users mailing list submissions to
>        colinux-users@...
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.sourceforge.net/lists/listinfo/colinux-users
> or, via email, send a message with subject or body 'help' to
>        colinux-users-request@...
>
> You can reach the person managing the list at
>        colinux-users-owner@...
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of coLinux-users digest..."
>
>
> Today's Topics:
>
>   1. Re: Problem with ptrace protection in Ubuntu (yin sun)
>   2. Re: Problem with ptrace protection in Ubuntu (yin sun)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 2 Feb 2012 18:28:04 -0800
> From: yin sun <sunyin51@...>
> Subject: Re: [coLinux-users] Problem with ptrace protection in Ubuntu
> To: colinux-users@...
> Message-ID:
>        <CAKPZSeDNDgjSUHZEcJDpYQ-WwYBcZV8YZZ=VzkQMFBYcrenZvA <at> mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I guess you are right, there is no yama LSM in 2.6.33.7
>
> /Yin
>
> On Tue, Jan 31, 2012 at 8:48 PM, Alexander Kriegisch
> <kriegaex@...> wrote:
>> Hi.
>>
>> I am running andLinux/coLinux:
>>
>> $ uname -a
>> Linux andLinux 2.6.33.7-co-0.7.10-r1588 #1 PREEMPT Mon Aug 8 04:13:31 UTC 2011 i686 athlon i386 GNU/Linux
>>
>> But...
>>
>> $ cat /etc/motd | head -n 1
>> Welcome to Ubuntu 11.10 (GNU/Linux 2.6.33.7-co-0.7.10-r1588 i686)
>>
>> Now the problem is so-called "ptrace protection", explained there:
>> https://wiki.edubuntu.org/SecurityTeam/Roadmap/KernelHardening#ptrace_Protection
>>
>> I tried to use tools like reptyr and injcode:
>> https://github.com/nelhage/reptyr#readme
>> https://github.com/ThomasHabets/injcode#readme
>>
>> Both of them do not work as expected. My suspicion is that this is due to my combination of coLinux kernel
(without yama) and new Ubuntu (relying on yama). I tried to run the tools as root (sudo -i) because I
expected ptrace protection to be inactive according to the description at Ubuntu, but to no avail.
>>
>> My questions are:
>> ?1) Can you confirm that my suscpcion is correct?
>> ? ?2a) If not, what else might be the reason for my problems?
>> ? ?2b) If so, is there anything I can do about it like downloading a coLinux kernel with built-in yama
support from somewhere or asking you to build in yama protection in the future?
>>
>> Disclaimer: Maybe I am not asking the right questions. Please note that I am a user, not a kernel hacker.
>>
>> Any help is appreciated. Thanks in advance.
>> --
>> Alexander Kriegisch (kriegaex)
>> http://freetz.org
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> _______________________________________________
>> coLinux-users mailing list
>> coLinux-users@...
>> https://lists.sourceforge.net/lists/listinfo/colinux-users
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 2 Feb 2012 21:47:25 -0800
> From: yin sun <sunyin51@...>
> Subject: Re: [coLinux-users] Problem with ptrace protection in Ubuntu
> To: colinux-users@...
> Message-ID:
>        <CAKPZSeB1m0XsZnoOyEcH56gmKQgWWQc7M4rseLGCAdRS1p4oYw <at> mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> OK, I tried on my debian 6.0.3 (latest colinux kernel), rettyer works.
> And I am sure the colinux doesn't have yama. whether have yama or not
> may not be your problem.
> Since it only provide protection for non root user.
> not sure what else could be wrong, sorry can't help you more.
>
> /Yin
>
>
>
> On Thu, Feb 2, 2012 at 6:28 PM, yin sun <sunyin51@...> wrote:
>> I guess you are right, there is no yama LSM in 2.6.33.7
>>
>> /Yin
>>
>> On Tue, Jan 31, 2012 at 8:48 PM, Alexander Kriegisch
>> <kriegaex@...> wrote:
>>> Hi.
>>>
>>> I am running andLinux/coLinux:
>>>
>>> $ uname -a
>>> Linux andLinux 2.6.33.7-co-0.7.10-r1588 #1 PREEMPT Mon Aug 8 04:13:31 UTC 2011 i686 athlon i386 GNU/Linux
>>>
>>> But...
>>>
>>> $ cat /etc/motd | head -n 1
>>> Welcome to Ubuntu 11.10 (GNU/Linux 2.6.33.7-co-0.7.10-r1588 i686)
>>>
>>> Now the problem is so-called "ptrace protection", explained there:
>>> https://wiki.edubuntu.org/SecurityTeam/Roadmap/KernelHardening#ptrace_Protection
>>>
>>> I tried to use tools like reptyr and injcode:
>>> https://github.com/nelhage/reptyr#readme
>>> https://github.com/ThomasHabets/injcode#readme
>>>
>>> Both of them do not work as expected. My suspicion is that this is due to my combination of coLinux kernel
(without yama) and new Ubuntu (relying on yama). I tried to run the tools as root (sudo -i) because I
expected ptrace protection to be inactive according to the description at Ubuntu, but to no avail.
>>>
>>> My questions are:
>>> ?1) Can you confirm that my suscpcion is correct?
>>> ? ?2a) If not, what else might be the reason for my problems?
>>> ? ?2b) If so, is there anything I can do about it like downloading a coLinux kernel with built-in yama
support from somewhere or asking you to build in yama protection in the future?
>>>
>>> Disclaimer: Maybe I am not asking the right questions. Please note that I am a user, not a kernel hacker.
>>>
>>> Any help is appreciated. Thanks in advance.
>>> --
>>> Alexander Kriegisch (kriegaex)
>>> http://freetz.org
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Keep Your Developer Skills Current with LearnDevNow!
>>> The most comprehensive online learning library for Microsoft developers
>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>> http://p.sf.net/sfu/learndevnow-d2d
>>> _______________________________________________
>>> coLinux-users mailing list
>>> coLinux-users@...
>>> https://lists.sourceforge.net/lists/listinfo/colinux-users
>
>
>
> ------------------------------
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
>
> ------------------------------
>
> _______________________________________________
> coLinux-users mailing list
> coLinux-users@...
> https://lists.sourceforge.net/lists/listinfo/colinux-users
>
>
> End of coLinux-users Digest, Vol 69, Issue 2
> ********************************************

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2

Gmane