10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey guys,
Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries.
However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies
2. Linux
Hi everyone,
I am trying to prevent the ehci_hcd kernel module to load at boot time.
Here's what I've tried so far:
1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here):
2) Blacklisted the module by adding the following string to
3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies
3. Ubuntu
Hello Friends,
I am using Ubundu.
I want to know how to run kernel functions in a separate core?
I know about Taskset and it supports only for the application.
Do anybody know any command (or) have any idea about how to do it?
Please help me
Thank you (3 Replies)
Discussion started by: reksss
3 Replies
4. Programming
can a linux kernel module call libc functions, such as printf(), strcpy(), etc...? (9 Replies)
Discussion started by: vistastar
9 Replies
5. IP Networking
Hi All,
I need to develop a kernel module which changes the IP address of a package according to its mac address. It would be a sort of L2 Nat.
Somebody know if I can do this using netfilter??
Thanks. (2 Replies)
Discussion started by: lagigliaivan
2 Replies
6. Linux
Hi all,
I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/.
I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies
7. UNIX for Advanced & Expert Users
Hello All,
I'm new to linux programming and this is my first post.I am porting ethernet driver from Linux2.4 to Linux2.6 for Xscale, after modifications I am able to install the driver.
Now when i assign the address to my device using ifconfig, kenerl is going to panic. Stack trace is showing... (0 Replies)
Discussion started by: vineykr
0 Replies
8. Linux
Hello All,
I'm new to linux programming and this is my first post.I am porting ethernet driver from Linux2.4 to Linux2.6 for Xscale, after modifications I am able to install the driver.
Now when i assign the address to my device using ifconfig, kenerl is going to panic. Stack trace is showing... (0 Replies)
Discussion started by: vineykr
0 Replies
9. SuSE
Hi All,
Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff.
Cheers,
Brendan (4 Replies)
Discussion started by: Brendan Kennedy
4 Replies
10. Programming
hi
i have ten program in C, and there are functions what are in all the programs.
so, i want to make a directory to store all the functions what are in all the programs, and call them from the C programs. (sending variables and values)
is that possible?¿? how ca i do that?¿?
any idea,... (1 Reply)
Discussion started by: DebianJ
1 Replies
moduload(2) System Calls Manual moduload(2)
NAME
moduload - unload a kernel module on demand
SYNOPSIS
DESCRIPTION
allows processes with appropriate privilege to demand unload one or all unloadable modules from the running kernel. A module is considered
unloadable if it is not currently in use, if no module depending on it is currently loaded, and if the module is not being loaded or
unloaded from the kernel. If module_id is set to 0 (zero), attempts to unload all unloadable modules, otherwise attempts to unload the
module specified by module_id.
Notes
is currently implemented as a macro.
Security Restrictions
is restricted to superuser processes or privileged processes. A privileged process requires the privilege to execute the system call.
See privileges(5), for more information about the privilege.
RETURN VALUE
On success, returns 0, otherwise it returns -1 and sets to indicate the error.
ERRORS
fails if one or more of the following are true:
module_id does not correspond to any valid currently loaded kernel module.
The caller is not a superuser process or a privileged process.
There are outstanding references to the module, or modules that depend
on this module are currently loaded, or profiling is enabled, or the module is in the process of being loaded or
unloaded from the kernel.
The Dynamically Loadable Kernel Module feature is not initialized.
SEE ALSO
kcmodule(1M), modload(2), privileges(5).
moduload(2)