On Wednesday 09 March 2005 16:17, Bob Bennett wrote:
> Kristian SÃrensen cs.aau.dk> writes:
> > Hi all!
> >
> > I have some trouble reading a 2346 byte /proc entry from our Umbrella
> > kernel module.
> >
> > if (count != UMB_POLICY_SIZE) {
> > printk("Umbrella: Error - /proc/umbre
Kristian SÃrensen cs.aau.dk> writes:
>
> Hi all!
>
> I have some trouble reading a 2346 byte /proc entry from our Umbrella kernel
> module.
> if (count != UMB_POLICY_SIZE) {
> printk("Umbrella: Error - /proc/umbrella is of invalid size\n");
> return -EFAULT;
On Wednesday 09 March 2005 00:04, Peter Chubb wrote:
> > "Kristian" == Kristian Sørensen <[EMAIL PROTECTED]> writes:
>
> Kristian> Hi all! I have some trouble reading a 2346 byte /proc entry
> Kristian> from our Umbrella kernel module.
>
>
> Kristian> static int umb_proc_write(struct file *fil
> "Kristian" == Kristian Sørensen <[EMAIL PROTECTED]> writes:
Kristian> Hi all! I have some trouble reading a 2346 byte /proc entry
Kristian> from our Umbrella kernel module.
Kristian> static int umb_proc_write(struct file *file, const char *buffer,
Kristian> unsign
Hi all!
I have some trouble reading a 2346 byte /proc entry from our Umbrella kernel
module.
Proc file is created write-only and I am able to write text to the file, and
read it from kernel space. The function reading the entry is in short this:
static int umb_proc_write(struct file *file, con
5 matches
Mail list logo