angler-fishThe Vulnerability History Project

tmpfiles: support globbing for w option

      Break out the write logic into a separate function and simply use it as
a callback to glob_item.

This allows users to consolidate writes to sysfs with multiple similar
pathnames, e.g.

  w /sys/class/block/sd[a-z]/queue/read_ahead_kb - - - - 1024
    
commit d4e9eb91ea12e11bff7d8c6265b067a20ccf37b8
+1 -1
+64 -71
expand_less