Re: [PATCH v2] tests: Store the correct PID in hostapd-test.pid file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 23, 2018 at 02:07:05PM +0300, Andrei Otcheretianski wrote:
> The hwsim's start.sh script spawns hostapd process using "sudo".
> Since sudo forks a child process, $! holds the pid of sudo itself.
> Fix that by storing the PID of the child process instead.
> Since in VM "sudo" is replaced with a dummy script, pass an additional
> argument to run-all.sh and start.sh scripts to indicate that they are
> running inside a VM.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux