Re: [RFC PATCH 00/28] Linux Kernel Library
From: Octavian Purdila
Date: Sat Nov 07 2015 - 23:36:50 EST
On Sat, Nov 7, 2015 at 2:35 AM, Richard Weinberger <richard@xxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/