Move id(1) and whoami(1) to toybox.

Test: builds
Change-Id: I32347c94438c394eb31f5af9f51cee11ad0ef247
This commit is contained in:
Elliott Hughes
2018-11-11 10:56:39 -08:00
parent eeb2c4b03d
commit 9b370f5ada

View File

@@ -104,7 +104,6 @@ var Configuration = map[string]PathConfig{
"head": Allowed, "head": Allowed,
"hexdump": Allowed, "hexdump": Allowed,
"hostname": Allowed, "hostname": Allowed,
"id": Allowed,
"jar": Allowed, "jar": Allowed,
"java": Allowed, "java": Allowed,
"javap": Allowed, "javap": Allowed,
@@ -154,7 +153,6 @@ var Configuration = map[string]PathConfig{
"unzip": Allowed, "unzip": Allowed,
"wc": Allowed, "wc": Allowed,
"which": Allowed, "which": Allowed,
"whoami": Allowed,
"xargs": Allowed, "xargs": Allowed,
"xxd": Allowed, "xxd": Allowed,
"xz": Allowed, "xz": Allowed,
@@ -176,8 +174,10 @@ var Configuration = map[string]PathConfig{
"pkg-config": Forbidden, "pkg-config": Forbidden,
// On linux we'll use the toybox version of these instead // On linux we'll use the toybox version of these instead
"id": Toybox,
"true": Toybox, "true": Toybox,
"uname": Toybox, "uname": Toybox,
"whoami": Toybox,
} }
func init() { func init() {