Security computation within Linux kernel

2007-04-08 Thread JanuGerman
Hi every one, I have one question regarding security libraries, already shipped with Linux Kernel. That is, all PKI, RSA libraries, as provided by OpenSSL are already integrated within the linux kernel source code? OR, one have to use OpenSSL seperately in this regard. I can see,

Security computation within Linux kernel

2007-04-08 Thread JanuGerman
Hi every one, I have one question regarding security libraries, already shipped with Linux Kernel. That is, all PKI, RSA libraries, as provided by OpenSSL are already integrated within the linux kernel source code? OR, one have to use OpenSSL seperately in this regard. I can see,

Re: Two questions regarding Opening files within Kernel!

2007-04-07 Thread JanuGerman
Thanks Jan for the response. >struct dentry *fbar = lookup_one_len("/foo/bar", current->fs->root); But that gives me a dentry, where as file object is still not reachable. Question: I am currently using a function called fs.h/dentry_open which takes a "dentry", "vfsmount" object and

Two questions regarding Opening files within Kernel!

2007-04-07 Thread JanuGerman
Hi Every one, I have got two questions regarding opening files within the Linux kernel. If some body can help me, in sorting out this problem, i will be very thankful. 1) I have just a file path with me, an absolute path, but no dentry, no inode, no vfsmount object, which function i can

Two questions regarding Opening files within Kernel!

2007-04-07 Thread JanuGerman
Hi Every one, I have got two questions regarding opening files within the Linux kernel. If some body can help me, in sorting out this problem, i will be very thankful. 1) I have just a file path with me, an absolute path, but no dentry, no inode, no vfsmount object, which function i can

Re: Two questions regarding Opening files within Kernel!

2007-04-07 Thread JanuGerman
Thanks Jan for the response. struct dentry *fbar = lookup_one_len(/foo/bar, current-fs-root); But that gives me a dentry, where as file object is still not reachable. Question: I am currently using a function called fs.h/dentry_open which takes a dentry, vfsmount object and flag

LSM Stacking

2007-03-13 Thread JanuGerman
Hi All, Within the security folder in the kernel tree, the 2.6.20 linux kernel distribution is shipped with a file root_plug.c (written by Greg Kroah-Hartman), which is a classic introduction to Linux Security Modules (LSM). The folder also contains the folder of SELinux. My question is that

LSM Stacking

2007-03-13 Thread JanuGerman
Hi All, Within the security folder in the kernel tree, the 2.6.20 linux kernel distribution is shipped with a file root_plug.c (written by Greg Kroah-Hartman), which is a classic introduction to Linux Security Modules (LSM). The folder also contains the folder of SELinux. My question is that