All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Hedrick <andre@linux-ide.org>
To: Erik Andersen <andersen@codepoet.org>
Cc: linux-kernel@vger.kernel.org
Subject: freed_symbols [Re: People, not GPL  [was: Re: Driver Model]]
Date: Sat, 13 Sep 2003 21:58:41 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.10.10309132152510.16744-100000@master.linux-ide.org> (raw)
In-Reply-To: <20030914043716.GA19223@codepoet.org>


Pretty Boy,

It is coming and the intent is to return all the stolen symbols.
It is free for anyone to use and enjoy the usage of Linux once again.
So everyone get in line and SUE ME for GPL'ed drivers.


/*
 * Original copyright notice:
 *
 * linux/kernel/freed_symbols.c
 *
 * Copyright (C) 2001-2003              Linux ATA Development
 *                                      Andre Hedrick <andre@linux-ide.org>
 *
 * GPL v2 and only version 2.
 */

/*
 * kernel/signal.c:EXPORT_SYMBOL_GPL(dequeue_signal);
 * returned to kernel API
 */
int freed_dequeue_signal(sigset_t *mask, siginfo_t *info)
{
        return dequeue_signal(mask, info);
}

EXPORT_SYMBOL(freed_dequeue_signal);

/*
 * was kernel/context.c
 *
 * kernel/workqueue.c:EXPORT_SYMBOL_GPL(create_workqueue);
 * kernel/workqueue.c:EXPORT_SYMBOL_GPL(queue_work);
 * kernel/workqueue.c:EXPORT_SYMBOL_GPL(queue_delayed_work);
 * kernel/workqueue.c:EXPORT_SYMBOL_GPL(flush_workqueue);
 * kernel/workqueue.c:EXPORT_SYMBOL_GPL(destroy_workqueue);
 * returned to kernel API
 */

struct workqueue_struct *freed_create_workqueue(const char *name)
{
        return create_workqueue(name);
}

int freed_queue_work(struct workqueue_struct *wq, struct work_struct *work)
{
        return queue_work(wq, work);
}

int freed_queue_delayed_work(struct workqueue_struct *wq,
                struct work_struct *work, unsigned long delay)
{
        return queue_delayed_work(wq, work, delay);
}

void freed_flush_workqueue(struct workqueue_struct *wq)
{
        flush_workqueue(wq);
}

void freed_destroy_workqueue(struct workqueue_struct *wq)
{
        destroy_workqueue(wq);
}

EXPORT_SYMBOL(freed_create_workqueue);
EXPORT_SYMBOL(freed_queue_work);
EXPORT_SYMBOL(freed_queue_delayed_work);
EXPORT_SYMBOL(freed_flush_workqueue);
EXPORT_SYMBOL(freed_destroy_workqueue);


static int freed_symbols_ioctl (struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
{
        if (!capable(CAP_SYS_ADMIN))
                return -EACCES;

        switch (cmd) {
                default:
                        return -EINVAL;
        }
        return 0;
}

static int freed_symbols_open (struct inode *inode, struct file *file)
{
        return 0;
}

static int freed_symbols_release (struct inode *inode, struct file *file)
{
        return 0;
}

static struct file_operations freed_symbols_fops = {
        owner:          THIS_MODULE,
        ioctl:          freed_symbols_ioctl,
        open:           freed_symbols_open,
        release:        freed_symbols_release,
};

static struct miscdevice freed_symbols_dev = {  FREED_SYMBOLS_MINOR,
                                                "freed_symbols",
                                                &freed_symbols_fops };

static void __exit freed_symbols_exit (void)
{
        printk(KERN_INFO "freed_symbols_module: unloaded.\n");
//      remove_proc_entry("driver/freed_symbols", NULL);
        misc_deregister(&freed_symbols);
}

int __init freed_symbols_init (void)
{
        printk(KERN_INFO "freed_symbols_module: loaded.\n");
        misc_register(&freed_symbols_dev);
//      create_proc_read_entry("driver/freed_symbols", 0, 0, freed_symbols_read_proc, NULL);
        return 0;
}

MODULE_LICENSE("GPL");
module_init(freed_symbols_init);
module_exit(freed_symbols_exit);


-------------------------------------------

Cheers,

Andre Hedrick
LAD Storage Consulting Group



  reply	other threads:[~2003-09-14  5:16 UTC|newest]

Thread overview: 124+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <uess.1w0.9@gated-at.bofh.it>
     [not found] ` <ujV3.1uP.13@gated-at.bofh.it>
2003-09-10 21:52   ` People, not GPL [was: Re: Driver Model] Pascal Schmidt
2003-09-10 22:26     ` David Schwartz
2003-09-10 22:34       ` Pascal Schmidt
2003-09-11  1:35         ` David Schwartz
2003-09-11 13:30           ` Eric W. Biederman
2003-09-11 18:39             ` David Schwartz
2003-09-11 18:45               ` Mike Fedyk
2003-09-13 17:52                 ` Andre Hedrick
2003-09-13 23:54                   ` Erik Andersen
2003-09-13 17:34             ` Andre Hedrick
2003-09-14 10:55               ` Sean Estabrooks
2003-09-11 14:36           ` Alan Cox
2003-09-13 17:42             ` Andre Hedrick
2003-09-12 20:58           ` Timothy Miller
2003-09-12 21:47             ` Matt D. Robinson
2003-09-12 22:31               ` Alan Cox
2003-09-12 23:26                 ` David Schwartz
2003-09-13  0:29                   ` Matt D. Robinson
2003-09-13 17:42                     ` Alan Cox
2003-09-13  5:38                   ` jw schultz
2003-09-13 17:44                   ` Alan Cox
2003-09-13 18:19             ` Andre Hedrick
2003-09-13 20:01               ` Andre Hedrick
2003-09-13 23:17                 ` Andre Hedrick
2003-09-14  1:57             ` Erik Andersen
2003-09-14  2:40               ` Andre Hedrick
2003-09-14  3:42                 ` Erik Andersen
2003-09-14  3:36                   ` Andre Hedrick
2003-09-14  4:37                     ` Erik Andersen
2003-09-14  4:58                       ` Andre Hedrick [this message]
2003-09-14  5:39                         ` freed_symbols [Re: People, not GPL [was: Re: Driver Model]] Erik Andersen
2003-09-14  5:32                           ` Andre Hedrick
2003-09-14  6:41                             ` Erik Andersen
2003-09-14  6:50                               ` Andre Hedrick
2003-09-14  7:10                               ` Andre Hedrick
2003-09-14  8:08                                 ` Erik Andersen
2003-09-15  0:17                                   ` Henning P. Schmiedehausen
2003-09-15  5:57                                     ` Erik Andersen
2003-09-15  6:14                                       ` Nick Piggin
2003-10-05  0:52                                       ` Rob Landley
2003-10-05  1:05                                         ` Larry McVoy
2003-10-05  2:34                                           ` viro
2003-10-05  3:45                                             ` Larry McVoy
2003-10-05 10:24                                               ` David Woodhouse
2003-10-05 13:56                                                 ` Larry McVoy
2003-10-05 14:14                                                   ` David Woodhouse
2003-10-05 10:23                                           ` David Woodhouse
2003-10-05 11:32                                             ` David Lang
2003-10-05 13:37                                               ` David Woodhouse
2003-10-05  6:40                                         ` Andre Hedrick
2003-10-05  7:39                                           ` viro
2003-10-05 18:27                                           ` David Woodhouse
2003-10-05 19:21                                             ` Andre Hedrick
2003-10-05 20:03                                               ` David Woodhouse
2003-10-05 20:14                                                 ` Andre Hedrick
2003-10-05 20:34                                                   ` David Woodhouse
2003-10-05 20:43                                                     ` Andre Hedrick
2003-10-06  1:22                                                     ` Larry McVoy
2003-10-06  1:37                                                       ` David Lang
2003-10-06  1:51                                                         ` Larry McVoy
2003-10-05 19:32                                             ` Maciej Zenczykowski
2003-10-05 19:47                                               ` Andre Hedrick
2003-10-05 20:38                                                 ` David Woodhouse
2003-10-05 20:46                                                   ` Andre Hedrick
2003-10-05 19:54                                               ` Arjan van de Ven
2003-09-14  8:45                                 ` Valdis.Kletnieks
2003-09-15  0:16                         ` Henning P. Schmiedehausen
2003-09-15  0:27                           ` Justin Cormack
2003-09-14 21:40                       ` People, not GPL [was: Re: Driver Model] David Schwartz
2003-09-15  8:06                 ` David S. Miller
2003-09-14  2:51               ` Andre Hedrick
2003-09-14  3:05               ` GPL == DMCA [Re: People, not GPL [was: Re: Driver Model]] Andre Hedrick
2003-10-29 22:42             ` People, not GPL [was: Re: Driver Model] David Schwartz
2003-10-29 23:11               ` David S. Miller
2003-10-30  0:10               ` David Schwartz
2003-09-11  1:39         ` David Schwartz
2003-09-13 17:11         ` Andre Hedrick
2003-09-13 21:11           ` Pascal Schmidt
2003-09-13 21:19             ` David Schwartz
2003-09-13 21:12               ` Andre Hedrick
2003-09-13 22:09               ` Alan Cox
2003-09-13 22:30                 ` David Schwartz
2003-09-14  1:16                   ` Andrew Pimlott
2003-09-15 15:26                   ` Martin Schlemmer
2003-09-13 23:00                 ` Andre Hedrick
2003-09-12 21:04       ` Timothy Miller
2003-09-12 21:17         ` David Schwartz
2003-09-15 18:24           ` Timothy Miller
2003-09-15 20:17             ` David Schwartz
2003-09-13 18:09         ` Andre Hedrick
     [not found] <vyRY.6te.13@gated-at.bofh.it>
     [not found] ` <vzkY.7cC.7@gated-at.bofh.it>
2003-09-14  9:16   ` freed_symbols [Re: People, not GPL [was: Re: Driver Model]] Pascal Schmidt
2003-09-14 17:09     ` Stan Bubrouski
     [not found] <fa.grj6i7d.lmorqn@ifi.uio.no>
     [not found] ` <fa.n320lec.1p4i0gc@ifi.uio.no>
2003-10-05 16:44   ` walt
     [not found] <Dnwo.1ew.15@gated-at.bofh.it>
     [not found] ` <DnPL.3XB.11@gated-at.bofh.it>
     [not found]   ` <DsvX.3yN.1@gated-at.bofh.it>
2003-10-06 18:28     ` Pascal Schmidt
2003-10-06 18:38       ` Larry McVoy
2003-10-06 21:29         ` Olivier Galibert
2003-10-07  0:56           ` Larry McVoy
2003-10-07  8:40         ` David Woodhouse
2003-10-07  8:56           ` Andre Hedrick
2003-10-07 10:13             ` Roman Zippel
2003-10-07 10:33               ` Andre Hedrick
2003-10-07 10:44                 ` Roman Zippel
2003-10-07 11:25                   ` Andre Hedrick
2003-10-07 14:03                     ` Roman Zippel
2003-10-07 19:09                       ` David S. Miller
2003-10-07  8:58           ` David S. Miller
2003-10-07 14:16           ` Larry McVoy
2003-10-07 14:48             ` Valdis.Kletnieks
2003-10-07  8:28       ` David Woodhouse
     [not found] <DIre.Cy.15@gated-at.bofh.it>
     [not found] ` <DIre.Cy.17@gated-at.bofh.it>
     [not found]   ` <DIre.Cy.19@gated-at.bofh.it>
     [not found]     ` <DIre.Cy.13@gated-at.bofh.it>
     [not found]       ` <DIAQ.2Hh.5@gated-at.bofh.it>
2003-10-06 18:56         ` Pascal Schmidt
2003-10-06 19:09           ` David Lang
2003-10-06 20:08           ` Richard B. Johnson
2003-10-07 10:49             ` Pavel Machek
2003-10-10 12:14               ` Richard B. Johnson
2003-10-10 12:48                 ` David S. Miller
2003-10-10 13:27                 ` Jamie Lokier
2003-10-10 12:55               ` Jamie Lokier
2003-10-10 13:07                 ` David S. Miller
2003-10-10 13:28                   ` Jamie Lokier
2003-10-06 22:46           ` Andre Hedrick
2003-10-06 23:01             ` Jamie Lokier
2003-10-07  0:20             ` Pascal Schmidt
2003-10-07  2:31               ` Andre Hedrick
2003-10-07 10:03 Pascal Schmidt

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=Pine.LNX.4.10.10309132152510.16744-100000@master.linux-ide.org \
    --to=andre@linux-ide.org \
    --cc=andersen@codepoet.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 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.