Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754498AbbKHEgN (ORCPT ); Sat, 7 Nov 2015 23:36:13 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:38604 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752109AbbKHEgH (ORCPT ); Sat, 7 Nov 2015 23:36:07 -0500 MIME-Version: 1.0 In-Reply-To: <563D4758.9080507@nod.at> References: <1446582059-17355-1-git-send-email-octavian.purdila@intel.com> <20151103224545.GI29330@redhat.com> <20151104135015.GN29330@redhat.com> <563D4758.9080507@nod.at> Date: Sun, 8 Nov 2015 06:36:04 +0200 Message-ID: Subject: Re: [RFC PATCH 00/28] Linux Kernel Library From: Octavian Purdila To: Richard Weinberger Cc: "Richard W.M. Jones" , Linux-Arch , LKML , Hajime Tazaki Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1472 Lines: 42 On Sat, Nov 7, 2015 at 2:35 AM, 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. > Hi Richard, I finished coding mine up yesterday :) I've just pushed it to github if you want to take a look at it (together with some small fixes). > 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. > When doing the build in tools/lkl the LKL headers are installed in include/lkl. You should find it in there: $:~/src/linux/tools/lkl$ find include/ -type f | xargs grep lkl_stat64 include/lkl/asm-generic/stat.h:struct lkl_stat64 { > And why is there no lkl_sys_openat() syscall? > Didn't get to test it hence I didn't add it to the API yet, as many other system calls. -- 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/