lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ee101c360805220904h1c69db12q3048d0347d27c461@mail.gmail.com>
Date:	Fri, 23 May 2008 00:04:35 +0800
From:	"Shuduo Sang" <sangshuduo@...il.com>
To:	"Bosko Radivojevic" <bosko.radivojevic@...il.com>
Cc:	lkml <linux-kernel@...r.kernel.org>
Subject: Re: Inserting code from userspace to kernel space

On Thu, May 22, 2008 at 8:41 PM, Bosko Radivojevic
<bosko.radivojevic@...il.com> wrote:
> Hi!
>
> I'm looking for a way to insert code from user space to the kernel
> space, but without using kernel module. Actually, we are working on a
> system that has to allow end user to change part of code (one or two
> functions) that is executed from the kernel space.
>
> For now we have two different kernel modules, one exporting a function
> which another module uses. Process of compiling kernel module is quite
> ineligible for standard end user (along with the requirement to
> support multi platform cross compiling) compared to just cross
> compiling a simple code that doesn't use any libraries than libc.
>
> I know this sounds quite weird, but maybe there is a project that can help us ;)
>

actually you can implement a parser/interpretor, whatever you name it,
in kernel space. And you can send the
function code from user space to kernel space by device driver
interface. the parser can parse that and do something
practical function in kernel.

I have worked on a similar task in a product powered by linux. It works great.

> Sincerely,
> Bosko
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ