Switch to toybox md5sum/sha1sum/sha256sum/sha512sum.
Test: treehugger Change-Id: Icc8c3d5765d73f191e47adfe0a9d68727d075e50
This commit is contained in:
@@ -96,7 +96,6 @@ var Configuration = map[string]PathConfig{
|
||||
"javap": Allowed,
|
||||
"lsof": Allowed,
|
||||
"m4": Allowed,
|
||||
"md5sum": Allowed,
|
||||
"openssl": Allowed,
|
||||
"patch": Allowed,
|
||||
"pgrep": Allowed,
|
||||
@@ -110,9 +109,6 @@ var Configuration = map[string]PathConfig{
|
||||
"rsync": Allowed,
|
||||
"sed": Allowed,
|
||||
"sh": Allowed,
|
||||
"sha1sum": Allowed,
|
||||
"sha256sum": Allowed,
|
||||
"sha512sum": Allowed,
|
||||
"tar": Allowed,
|
||||
"timeout": Allowed,
|
||||
"tr": Allowed,
|
||||
@@ -137,46 +133,50 @@ var Configuration = map[string]PathConfig{
|
||||
"ld.gold": Forbidden,
|
||||
"pkg-config": Forbidden,
|
||||
|
||||
// On linux we'll use the toybox version of these instead
|
||||
"basename": Toybox,
|
||||
"cat": Toybox,
|
||||
"chmod": Toybox,
|
||||
"cmp": Toybox,
|
||||
"comm": Toybox,
|
||||
"cut": Toybox,
|
||||
"dirname": Toybox,
|
||||
"du": Toybox,
|
||||
"echo": Toybox,
|
||||
"env": Toybox,
|
||||
"expr": Toybox,
|
||||
"head": Toybox,
|
||||
"getconf": Toybox,
|
||||
"id": Toybox,
|
||||
"ln": Toybox,
|
||||
"ls": Toybox,
|
||||
"mkdir": Toybox,
|
||||
"mktemp": Toybox,
|
||||
"mv": Toybox,
|
||||
"od": Toybox,
|
||||
"paste": Toybox,
|
||||
"pwd": Toybox,
|
||||
"readlink": Toybox,
|
||||
"rm": Toybox,
|
||||
"rmdir": Toybox,
|
||||
"setsid": Toybox,
|
||||
"sleep": Toybox,
|
||||
"sort": Toybox,
|
||||
"stat": Toybox,
|
||||
"tail": Toybox,
|
||||
"tee": Toybox,
|
||||
"touch": Toybox,
|
||||
"true": Toybox,
|
||||
"uname": Toybox,
|
||||
"uniq": Toybox,
|
||||
"unix2dos": Toybox,
|
||||
"whoami": Toybox,
|
||||
"xargs": Toybox,
|
||||
"xxd": Toybox,
|
||||
// On Linux we'll use the toybox versions of these instead.
|
||||
"basename": Toybox,
|
||||
"cat": Toybox,
|
||||
"chmod": Toybox,
|
||||
"cmp": Toybox,
|
||||
"comm": Toybox,
|
||||
"cut": Toybox,
|
||||
"dirname": Toybox,
|
||||
"du": Toybox,
|
||||
"echo": Toybox,
|
||||
"env": Toybox,
|
||||
"expr": Toybox,
|
||||
"head": Toybox,
|
||||
"getconf": Toybox,
|
||||
"id": Toybox,
|
||||
"ln": Toybox,
|
||||
"ls": Toybox,
|
||||
"md5sum": Toybox,
|
||||
"mkdir": Toybox,
|
||||
"mktemp": Toybox,
|
||||
"mv": Toybox,
|
||||
"od": Toybox,
|
||||
"paste": Toybox,
|
||||
"pwd": Toybox,
|
||||
"readlink": Toybox,
|
||||
"rm": Toybox,
|
||||
"rmdir": Toybox,
|
||||
"setsid": Toybox,
|
||||
"sha1sum": Toybox,
|
||||
"sha256sum": Toybox,
|
||||
"sha512sum": Toybox,
|
||||
"sleep": Toybox,
|
||||
"sort": Toybox,
|
||||
"stat": Toybox,
|
||||
"tail": Toybox,
|
||||
"tee": Toybox,
|
||||
"touch": Toybox,
|
||||
"true": Toybox,
|
||||
"uname": Toybox,
|
||||
"uniq": Toybox,
|
||||
"unix2dos": Toybox,
|
||||
"whoami": Toybox,
|
||||
"xargs": Toybox,
|
||||
"xxd": Toybox,
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
Reference in New Issue
Block a user