public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Tom Handal" <thandal@san.rr.com>
To: <linux-kernel@vger.kernel.org>
Subject: Wierd Problem with Current Task Struct
Date: Thu, 9 Oct 2003 13:20:28 -0700	[thread overview]
Message-ID: <007b01c38ea2$c7ea40d0$6401a8c0@alpha> (raw)

Greetings

     I am currently having a problem with the "current" task struct in the
2.4.18-4GB SUSE80 Kernel ... I am writing a kernel module that is calling
down through a system call... The system call is getting the PID and FS
pointer from the Current task struct, but the FS pointer is NULL and the PID
is 0 .... Is this normal? Should current->fs ever be NULL? I haven't noticed
anyone checking it in the Linux Kernel, so I think it is assumed to always
be a good value... Can anyone shed light on this?

Thanks in advance....
Tom


                 reply	other threads:[~2003-10-10  7:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='007b01c38ea2$c7ea40d0$6401a8c0@alpha' \
    --to=thandal@san.rr.com \
    --cc=linux-kernel@vger.kernel.org \
    /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