mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lucas Correia Villa Real <lucasvr@gobolinux.org>
To: sumit_uconn@lycos.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: Null Pointer Error
Date: Sun, 15 Jun 2003 20:36:20 -0300	[thread overview]
Message-ID: <200306152036.20882.lucasvr@gobolinux.org> (raw)
In-Reply-To: <NAOFEAJEJJGBLFAA@mailcity.com>

Hi Sumit,

A few days ago a similar question arrived to this list (as usual, this is a 
frequently asked question), and Richard B. Johnson replyied with a very good 
explanation of why operations such as these should be done in userland 
instead.
You can read it here: 
http://marc.theaimsgroup.com/?l=linux-kernel&m=105551176615876&w=2

Regards,
Lucas


On Sunday 15 June 2003 20:09, Sumit Narayan wrote:
> Hi,
>
> I am trying to write to a function in the kernel which could create a file
> and add data to it. I am unable to do it, as I am getting Null Pointer
> Error. I am using threads for this. I dont know if I am going right. Could
> someone help me with this. How do I write a function in the kernel which
> could create a file, and write data to it. Somehow, sys_open and sys_read
> are not working. I think I am doing some mistake somewhere. Please help me.
> Thanks in advance.
>
> Sumit
>
>
> ____________________________________________________________
> Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
> http://login.mail.lycos.com/r/referral?aid=27005
> -
> 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/


      reply	other threads:[~2003-06-15 23:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-15 23:09 Sumit Narayan
2003-06-15 23:36 ` Lucas Correia Villa Real [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200306152036.20882.lucasvr@gobolinux.org \
    --to=lucasvr@gobolinux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sumit_uconn@lycos.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®