uCdot
search uCdot:
 
Embedded Linux and uClinux Developer Forum
 
uCdot
- FAQ
- Dev Boards
- Submit Story
- Submit FAQ
- Submit Dev Board
- Topics
- Authors
- About

- Preferences
- Older Stuff
- Past Polls
- Discussions
- Journals
- Messages

Embedded Linux
Mailing Lists
uClinux-dev (search)
Coldfire (search)
MTD
Microblaze (search)
ELUG
BDM-devel
Blackfin

Embedded Linux
Sites
uClinux.org
uClinux-Dist
uClibc
uClinux Directory
LinuxDevices
ARMulator
uClinux-elf-tools
Colilo
Kernel Archives
H8-uClinux
TLDP
Microblaze uClinux
BDM Tools
SkyEye (emulator)
LOM
SETR live CD
Blackfin uClinux

Embedded Linux
Companies
SecureComputing
SDCS
CodePoet
Arcturus
Cadenux
ARMtwister
uClinux.net
Xiptech
senTec
embedded^cl
Cwlinux
emlix
TimeSys
eSpark Infotech
SSV Embedded Systems
Embedded Minds
PeerSec Networks
Vortech Consulting
swissEmbedded
Synertronixx
Mbedthis Software
.vantronix
Aday
GraceLabs
Pengutronix
metux ITS
Codito Technologies
Firmix Software
PetaLogix
NuDesign
Merritt Technologies
WindRiver
OpenGear
Rubico
Analog Devices
Artila Electronics
Vyatta
Embest Info&Tech
Katalix Systems
WorkWare Systems
Kdev
Intellimetrix
Virtual Cogs
SYSGO
coresystems
ExactCODE
KOAN

 
What's wrong with calling do_execve ?
Question Platini writes "So, I wanna write out the starting processes name's. For this I wrote a module. (it's important to be a module) The below code is my shortest version of this function. When I want to load my module I get the famous "Unknown symbol in module" message, but without loading do_execve works fine, what is the problem? I have the 2.6.24.18 version, and I could not write this function. with very old kernels I have examples but with this version, I can not find any. Has somebody wrote a function like this? (I also have problems with the sys_call_table but is another story),
thanks in advance."
asmlinkage int new_sys_execve(const char *filename, char *const argv[],char *const envp[])
{	
	int result;
	struct pt_regs *regs = task_pt_regs(current);
	printk(KERN_INFO "platini callback\n");	
        printk(KERN_INFO "platini callback filename: s\n",filename);		
??????  return do_execve(filename, argv, envp, regs); 
}

New embedded linux mailing list | uClinux-dist-test-20080612 released  >

 

 
uCdot Login
Nickname:

Password:

[ Create a new account ]

Related Links
  • Platini
  • More on Question
  • Also by davidm
  • This discussion has been archived. No new comments can be posted.
    What's wrong with calling do_execve ? | Login/Create an Account | Top | Search Discussion
    Threshold:
    The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.

    The Embedded Linux and uClinux Developer Forum is hosted by: SnapGear The road to Hades is easy to travel. -- Bion

    [ home | contribute story | older articles | past polls | faq | authors | preferences ]