busybox/util-linux
Jan Klötzke d560030548 mdev: re-initialize if uevent messages were lost
If the netlink read() failed with ENOBUFS we know that we have missed at
least one message due to a socket receive buffer overrun. The only way
how to recover is to drop the old socket, open a fresh one and make a
cold-plug scan of the current system state.

Signed-off-by: Jan Klötzke <jan@kloetzke.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2020-11-22 14:33:58 +01:00
..
volume_id volume_id: improve struct layout (smaller offesets, smaller insns on x86) 2020-11-19 13:58:25 +01:00
acpid.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
blkdiscard.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
blkid.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
blockdev.c blockdev: add usage comment, no code changes 2019-06-08 08:57:11 +02:00
cal.c config: update size information 2018-12-28 03:20:17 +01:00
chrt.c chrt: support for musl C library 2020-11-15 20:26:46 +01:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
dmesg.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
eject.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
fallocate.c config: update size information 2018-12-28 03:20:17 +01:00
fatattr.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
fbset.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
fdformat.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
fdisk_aix.c fdisk_aix: fix aliasing warning, comment out unused global variables 2019-10-04 17:16:15 +02:00
fdisk_gpt.c fdisk_aix: fix aliasing warning, comment out unused global variables 2019-10-04 17:16:15 +02:00
fdisk_osf.c fdisk: avoid overflow in "mega/gigabytes" calculation, code shrink 2019-10-04 16:45:04 +02:00
fdisk_sgi.c fdisk: avoid overflow in "mega/gigabytes" calculation, code shrink 2019-10-04 16:45:04 +02:00
fdisk_sun.c fdisk: avoid overflow in "mega/gigabytes" calculation, code shrink 2019-10-04 16:45:04 +02:00
fdisk.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
findfs.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
flock.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
freeramdisk.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
fsck_minix.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
fsfreeze.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
fstrim.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
getopt.c avoid using strok - eliminates use of hidden global variable 2020-10-06 02:36:47 +02:00
hexdump_xxd.c compat: move hexdump -R functionality to xxd -r 2020-10-25 16:06:45 +01:00
hexdump.c compat: move hexdump -R functionality to xxd -r 2020-10-25 16:06:45 +01:00
hwclock.c hwclock: Fix settimeofday for glibc v2.31+ 2020-08-15 22:29:00 +02:00
ionice.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
ipcrm.c config: update size information 2018-12-28 03:20:17 +01:00
ipcs.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
Kbuild.src Convert all util-linux/* applets to "new style" applet definitions 2016-11-23 11:46:32 +01:00
last_fancy.c Sort some miscutils/ applets into coreutils or util-linux 2017-04-12 13:58:40 +02:00
last.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
losetup.c mount: support the sizelimit and offset option for loop devices 2020-10-01 00:31:11 +02:00
lspci.c libbb: shrink recursive_action() by reducing memory pressure 2020-10-01 21:52:16 +02:00
lsusb.c libbb: shrink recursive_action() by reducing memory pressure 2020-10-01 21:52:16 +02:00
mdev.c mdev: re-initialize if uevent messages were lost 2020-11-22 14:33:58 +01:00
mesg.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
minix.h
mkfs_ext2_test.sh fix more instances of ": $((a++))" in shell scripts 2017-07-15 19:20:45 +02:00
mkfs_ext2.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
mkfs_ext2.txt
mkfs_minix.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
mkfs_reiser.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
mkfs_vfat.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
mkswap.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
more.c config: update size information 2018-12-28 03:20:17 +01:00
mount.c avoid using strok - eliminates use of hidden global variable 2020-10-06 02:36:47 +02:00
mountpoint.c config: update size information 2018-12-28 03:20:17 +01:00
nologin.c nologin: make it possible to build it as single applet 2020-06-24 15:05:22 +02:00
nsenter.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
pivot_root.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
rdate.c Remove stime() function calls 2019-11-19 13:08:25 +01:00
rdev.c config: update size information 2018-12-28 03:20:17 +01:00
readprofile.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
renice.c config: update size information 2018-12-28 03:20:17 +01:00
rev.c config: update size information 2018-12-28 03:20:17 +01:00
rtcwake.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
script.c config: update size information 2018-12-28 03:20:17 +01:00
scriptreplay.c config: update size information 2018-12-28 03:20:17 +01:00
setarch.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
setpriv.c avoid using strok - eliminates use of hidden global variable 2020-10-06 02:36:47 +02:00
setsid.c config: update size information 2018-12-28 03:20:17 +01:00
swaponoff.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
switch_root.c avoid using strok - eliminates use of hidden global variable 2020-10-06 02:36:47 +02:00
taskset.c taskset: tighten the check for stride values 2019-11-09 17:32:43 +01:00
uevent.c uevent: increase netlink buffer sizes 2020-11-22 13:34:07 +01:00
umount.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
unshare.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
wall.c config: update size information 2018-12-28 03:20:17 +01:00