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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 10 Jul 2010 22:15:26 -0400
From:	Jeff Dike <jdike@...toit.com>
To:	Philip Wernersbach <philip.wernersbach@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Calling system call from User-mode Linux?

On Sat, Jul 10, 2010 at 05:55:48PM -0400, Philip Wernersbach wrote:
> I'm trying to add some functionality to User-mode Linux that requires
> the UML kernel to call a custom syscall I've added to the host kernel.
> This should be technically possible since UML runs in the userspace,
> but I can't figure out how to call the syscall, as the syscall()
> function isn't defined in UML. Are there other ways I can accomplish
> this?

Add a function in the userspace side of UML (arch/um/os-Linux) which
invokes your new system call through syscall(), and then call that
from wherever you need to.

				Jeff
--
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