diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-06-06 12:51:52 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-07 10:41:01 +0200 |
| commit | 948dd3af445f31e056db6116c09f095933baed5f (patch) | |
| tree | f0d35359cfcdfe25bb9932bf2f750bc855c3b62f /sys/linux | |
| parent | 3f04838a10346e60b9dd81f0adb47c2518486d28 (diff) | |
prog: remove target.StringDictionary
The linux string dictionary comes from extremely old times
when we did not have proper descriptions for almost anything,
and the dictionary was a quick hack to guess at least some
special strings.
Now we have way better descriptions and the dictionary
become both unnecessary and probably even harmful.
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/init.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/linux/init.go b/sys/linux/init.go index f4f000cfa..6310078d1 100644 --- a/sys/linux/init.go +++ b/sys/linux/init.go @@ -66,15 +66,6 @@ func InitTarget(target *prog.Target) { "usb_device_descriptor_hid": arch.generateUsbHidDeviceDescriptor, } - // TODO(dvyukov): get rid of this, this must be in descriptions. - target.StringDictionary = []string{ - "user", "keyring", "trusted", "system", "security", "selinux", - "posix_acl_access", "mime_type", "md5sum", "nodev", "self", - "bdev", "proc", "cgroup", "cpuset", - "lo", "eth0", "eth1", "em0", "em1", "wlan0", "wlan1", "ppp0", "ppp1", - "vboxnet0", "vboxnet1", "vmnet0", "vmnet1", "GPL", - } - target.AuxResources = map[string]bool{ "uid": true, "pid": true, |
