Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 8, 2013, 05:12 AM   #1
mehdies
macrumors member
 
Join Date: Jun 2012
kernel-space calling user-space

Hi guys

How call user-space programs(functions) from kernel-space?

Thanks
mehdies is offline   0 Reply With Quote
Old Jan 8, 2013, 10:20 AM   #2
mfram
macrumors 6502a
 
Join Date: Jan 2010
You don't. Can't be done as specified. Maybe you should give us more details about what you'd like to do.
mfram is offline   0 Reply With Quote
Old Jan 9, 2013, 12:33 AM   #3
mehdies
Thread Starter
macrumors member
 
Join Date: Jun 2012
I want to execute a program in user-space from kernel-space and get output of user-space program in kernel-space program.
mehdies is offline   0 Reply With Quote
Old Jan 9, 2013, 11:12 AM   #4
Mac_Max
macrumors 6502
 
Join Date: Mar 2004
This should help:

https://developer.apple.com/library/...oundaries.html

I'm not sure about launching a user space app from kernel space. You might need a daemon or you might need to launch the app at startup and have it check for the presence of your kernel space process.
Mac_Max is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:47 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC