[Toybox] [PATCH] find: add -context.

enh enh at google.com
Fri Mar 8 16:17:12 PST 2019


Tested manually on an Android device with:

  adb shell find /system -context u:object_r:wait_for_keymaster_exec:s0
  adb shell find /system/bin -context '"*key*"'
  adb shell find /system/bin -context '"*tool*"'
---
 toys/posix/find.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-find-add-context.patch
Type: text/x-patch
Size: 2242 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190308/aaeba179/attachment-0002.bin>


More information about the Toybox mailing list