mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "" <pmarques@grupopie.com>
To: Andrew Morton <akpm@osdl.org>
Cc: "" <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.6] 0/7 make kstrdup a library function
Date: Tue,  1 Feb 2005 03:28:17 +0000	[thread overview]
Message-ID: <1107228497.41fef75134306@webmail.grupopie.com> (raw)


This series of patches create a "char *kstrdup(const char *s, int gfp)" library
function, and remove all the "private" strdup implementations in the kernel
tree.

1 - create a kstrdup library function
2 - remove private strdup from drivers/md/dm-ioctl.c
3 - remove private strdup from drivers/parport/probe.c
4 - remove uml_strdup (UML architecture)
5 - remove private strdup from net/sunrpc/svcauth_unix.c
6 - remove net_sysctl_strdup (networking)
7 - remove snd_kmalloc_strdup (sound)

This is just a cleanup to allow reusing the strdup code, and to prevent bugs in
future duplications of strdup.

These patches were built against 2.6.11-rc2-bk9. Patch 1/7 is similar to a patch
sent by Rusty Russell (although not quite the same), and 2/7 is also similar to
another patch sent today by Matt Domsch. So these should go over a vanilla
kernel without any of those patches.

All the patches depend on the first patch, but are otherwise independent.

Signed-off-by: Paulo Marques <pmarques@grupopie.com>

--
Paulo Marques - www.grupopie.com
 
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke (1729 - 1797)

                 reply	other threads:[~2005-02-01  3:30 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=1107228497.41fef75134306@webmail.grupopie.com \
    --to=pmarques@grupopie.com \
    --cc=akpm@osdl.org \
    --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

Powered by JetHome