Hi guys How call user-space programs(functions) from kernel-space? Thanks
M mehdies macrumors member Original poster Jun 10, 2012 41 0 Jan 8, 2013 #1 Hi guys How call user-space programs(functions) from kernel-space? Thanks
mfram Contributor Jan 23, 2010 1,303 340 San Diego, CA USA Jan 8, 2013 #2 You don't. Can't be done as specified. Maybe you should give us more details about what you'd like to do.
You don't. Can't be done as specified. Maybe you should give us more details about what you'd like to do.
M mehdies macrumors member Original poster Jun 10, 2012 41 0 Jan 8, 2013 #3 I want to execute a program in user-space from kernel-space and get output of user-space program in kernel-space program.
I want to execute a program in user-space from kernel-space and get output of user-space program in kernel-space program.
M Mac_Max macrumors 6502 Mar 8, 2004 404 1 Jan 9, 2013 #4 This should help: https://developer.apple.com/library.../KernelProgramming/boundaries/boundaries.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.
This should help: https://developer.apple.com/library.../KernelProgramming/boundaries/boundaries.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.