Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751885AbbKGHTu (ORCPT ); Sat, 7 Nov 2015 02:19:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43148 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751291AbbKGHTs (ORCPT ); Sat, 7 Nov 2015 02:19:48 -0500 Date: Sat, 7 Nov 2015 07:19:46 +0000 From: "Richard W.M. Jones" To: Richard Weinberger Cc: Octavian Purdila , Linux-Arch , LKML , Hajime Tazaki Subject: Re: [RFC PATCH 00/28] Linux Kernel Library Message-ID: <20151107071946.GU29330@redhat.com> References: <1446582059-17355-1-git-send-email-octavian.purdila@intel.com> <20151103224545.GI29330@redhat.com> <20151104135015.GN29330@redhat.com> <563D4758.9080507@nod.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <563D4758.9080507@nod.at> User-Agent: Mutt/1.5.20 (2009-12-10) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1582 Lines: 46 On Sat, Nov 07, 2015 at 01:35:36AM +0100, Richard Weinberger wrote: > Am 04.11.2015 um 15:15 schrieb Octavian Purdila: > > We could redefine the syscalls/libc symbols to call lkl_sys_ functions > > in launch-lkl, e.g.: > > > > int opendir(const char *path) > > { > > return lkl_opendir(new_path) > > } > > To get a better feeling how LKL behaves I've started with a tool > to mount any Linux filesystem by FUSE. > I.e. such that we can finally automount without root and bugs in filesystem > code won't hurt that much. guestmount already does this: http://libguestfs.org/guestmount.1.html By porting a small amount of code from the daemon/ directory, it could do it using lkl too. See: http://www.gossamer-threads.com/lists/linux/kernel/2296116#2296116 Rich. > lkl_sys_fstatat64() uses the type struct lkl_stat64. Where is it defined? > git grep is unable to locate it. > At least it seems to be incompatible with my local struct stat. > > And why is there no lkl_sys_openat() syscall? > > Thanks, > //richard -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW -- 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/