Re: Data Type used in kernel .

2016-12-23 Thread Pasquier, Thomas
Hello Wasim, On Fri, Dec 23, 2016 at 6:20 AM, Wasim Akram wrote: > Hi , > > I have seen "bool" data type is used in linux kernel code . Can we > get documentation on data type used in linux kernel development ? > I think this should be a good start:

Re: insmod failing to insert a simple module

2016-09-29 Thread Pasquier, Thomas
Did you verify that you are building your module against the correct headers? On Thu, Sep 29, 2016 at 5:56 AM, Madhu K wrote: > Hi All, > > While inserting a kernel module, insmod is failing with following error. > > insmod: error inserting 'page_walk.ko': Invalid module

Linux Security Module listsecurity (and security xattr hooks) only one called?

2016-09-10 Thread Pasquier, Thomas
In security/security.c (see here: https://github.com/torvalds/linux/blob/835c92d43b29eb354abdbd5475308a474d7efdfa/security/security.c ) Looking at this: int security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) { if (unlikely(IS_PRIVATE(inode))) return 0;

Linux Security Module listsecurity (and security xattr hooks) only one called?

2016-09-06 Thread Pasquier, Thomas
Hello everyone, In security/security.c (see here:https://github.com/torval ds/linux/blob/835c92d43b29eb354abdbd5475308a474d7efdfa/security/security.c) Looking at this: int security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) { if (unlikely(IS_PRIVATE(inode)))