commit | 9d14874db18e0d5b87bb4af748e96bda474a4417 | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Mon Nov 12 10:25:12 2018 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Nov 13 19:06:05 2018 -0500 |
tree | 35663bdacc1cc378f7e2bcface072c97d74b1f5e | |
parent | f805343941e492d753f1a31a39a388ae55b63d24 [diff] |
kernel: expose device_get_binding() to user mode User mode may need to use this API to get a handle on devices by name, expose as a system call. We impose a maximum name length as the system call handler needs to make a copy of the string passed in from user mode. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>