[Oneiric PATCH 8/8] UBUNTU: SAUCE: fsam7400: use UMH_WAIT_PROC consistently

Tetsuo Handa from-ubuntu at I-love.SAKURA.ne.jp
Mon Mar 26 02:01:03 UTC 2012


Maybe I've missed some users. Please check that all users are using UMH_*
constants. For example, linux-ubuntu-modules-2.6.24_2.6.24-31.51.tar.gz has
several hardcoded users.

# grep -Fr -A 3 _usermodehelper .
./ubuntu/wireless/fsam7400.c:    status = call_usermodehelper(argv[0], argv, envp, 1);
./ubuntu/wireless/fsam7400.c-  } else {
./ubuntu/wireless/fsam7400.c-    char *argv[] = { "/sbin/rmmod", "ipw2100", NULL };
./ubuntu/wireless/fsam7400.c-    mode = "removing";
./ubuntu/wireless/fsam7400.c:    status = call_usermodehelper(argv[0], argv, envp, 1);
--
./ubuntu/wireless/p80211/p80211netdev.c:        return call_usermodehelper(argv [0], argv, envp);
./ubuntu/wireless/p80211/p80211netdev.c-#else
./ubuntu/wireless/p80211/p80211netdev.c:        return call_usermodehelper(argv [0], argv, envp, 0);
--
./ubuntu/wireless/rtl8187-usb/rtl8187/r8187_core.c:                                call_usermodehelper(RadioPowerPath,argv,envp,1);
--
./ubuntu/block/drbd/drbd_nl.c:  return call_usermodehelper(usermode_helper,argv,envp,1);
./ubuntu/block/drbd/drbd_nl.c-}
./ubuntu/block/drbd/drbd_nl.c-
./ubuntu/block/drbd/drbd_nl.c-drbd_disks_t drbd_try_outdate_peer(drbd_dev *mdev)
--
./ubuntu/misc/ndiswrapper/loader.c:             ret = call_usermodehelper("/sbin/loadndisdriver", argv, env
./ubuntu/misc/ndiswrapper/loader.c-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
./ubuntu/misc/ndiswrapper/loader.c-                                       , 1
./ubuntu/misc/ndiswrapper/loader.c-#endif
--
./ubuntu/misc/ndiswrapper/loader.c:             ret = call_usermodehelper("/sbin/loadndisdriver", argv, env
./ubuntu/misc/ndiswrapper/loader.c-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
./ubuntu/misc/ndiswrapper/loader.c-                                       , 1
./ubuntu/misc/ndiswrapper/loader.c-#endif
--
./ubuntu/misc/ndiswrapper/loader.c:             ret = call_usermodehelper("/sbin/loadndisdriver", argv, env
./ubuntu/misc/ndiswrapper/loader.c-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
./ubuntu/misc/ndiswrapper/loader.c-                                       , 1
./ubuntu/misc/ndiswrapper/loader.c-#endif

UMH_* renumbering patch changes meaning of hardcoded "1" from UMH_WAIT_PROC to
UMH_WAIT_EXEC. If you failed to convert, you will receive regression reports
that usermode application no longer waits for completion.




More information about the kernel-team mailing list