RE: loading a module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

If you want your system call to be present all the time, then why do you
want the module concept? Just add your entry in "entry.S" file and also in
"asm/unistd.h" file so that your system call becomes a permanent addition
in the OS. But think twice before doing this, since the goal you want to
achieve
can be accomplished through other means like a driver.

Warm regards,
Mouli.

---------------------------------------------------
"If you want a thing well done, do it yourself."
 -- Charles Haddon Spurgeon
---------------------------------------------------




-----Original Message-----
From: owner-kernelnewbies@nl.linux.org
[mailto:owner-kernelnewbies@nl.linux.org]On Behalf Of C.Mohanasundaram
Sent: Thursday, 4 October 2001 11:14 AM
To: kernelnewbies@nl.linux.org
Subject: loading a module


Hi all,

I wrote a system call and loaded the module using insmod from my user land C
program and called the system call. Everything worked fine.I tried all these
as a root.But if i want to try this as some other user i know i wont be able
to load the module.Is there a way to overcome this.The main idea is all the
users should be able to use the new system call.Is there a way like loading
the module at the boot time or something so that it will be available all
the
time and when the machine is shutdown it should be unloaded.

thanks and regards,
mohan.

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux