All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Cornelis <Frank.Cornelis@elis.ugent.be>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Frank Cornelis <Frank.Cornelis@elis.ugent.be>
Subject: [PATCH] get/put_task_struct
Date: 04 Aug 2003 14:54:13 +0200	[thread overview]
Message-ID: <1060001653.1271.5.camel@tom> (raw)

Hi,

In order to be able to safely manipulate a task_struct from within a
module one should use get/put_task_struct. This is currently not
possible because __put_task_struct is not exported. Next patch solves
this issue.

Frank.

--- linux-2.6.0-test2.orig/kernel/ksyms.c	2003-07-29 10:04:45.000000000 +0200
+++ linux-2.6.0-test2/kernel/ksyms.c	2003-07-29 14:11:40.000000000 +0200
@@ -495,6 +495,7 @@
 #if !defined(__ia64__)
 EXPORT_SYMBOL(loops_per_jiffy);
 #endif
+EXPORT_SYMBOL(__put_task_struct);
 

 /* misc */



             reply	other threads:[~2003-08-04 12:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-04 12:54 Frank Cornelis [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-08-11  9:44 [PATCH] get/put_task_struct Frank Cornelis

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=1060001653.1271.5.camel@tom \
    --to=frank.cornelis@elis.ugent.be \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.