diff options
| author | Jeremy Fitzhardinge <[email protected]> | 2007-07-17 18:37:02 -0700 |
|---|---|---|
| committer | Jeremy Fitzhardinge <[email protected]> | 2007-07-18 08:47:40 -0700 |
| commit | 0ab4dc92278a0f3816e486d6350c6652a72e06c8 (patch) | |
| tree | 84bc321c94ca86a3b5eafa308c8dba9af85a725c /include/linux/debugobjects.h | |
| parent | d84d1cc7647c7e4f77d517e2d87b4a106a0420d9 (diff) | |
usermodehelper: split setup from execution
Rather than having hundreds of variations of call_usermodehelper for
various pieces of usermode state which could be set up, split the
info allocation and initialization from the actual process execution.
This means the general pattern becomes:
info = call_usermodehelper_setup(path, argv, envp); /* basic state */
call_usermodehelper_<SET EXTRA STATE>(info, stuff...); /* extra state */
call_usermodehelper_exec(info, wait); /* run process and free info */
This patch introduces wrappers for all the existing calling styles for
call_usermodehelper_*, but folds their implementations into one.
Signed-off-by: Jeremy Fitzhardinge <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: David Howells <[email protected]>
Cc: Bj?rn Steinbrink <[email protected]>
Cc: Randy Dunlap <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions