diff options
| author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2017-04-30 16:21:15 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-18 16:55:28 +0200 |
| commit | a1a7ea6bd6d55b6620c9c0a43bf684d6c427172a (patch) | |
| tree | 53b1da2e829dc82b4e771653a3c5f72d4332a03b /include/linux/debugobjects.h | |
| parent | 6113e3d28149dee33f10e92df6a16efb2b9cf473 (diff) | |
| download | cachepc-linux-a1a7ea6bd6d55b6620c9c0a43bf684d6c427172a.tar.gz cachepc-linux-a1a7ea6bd6d55b6620c9c0a43bf684d6c427172a.zip | |
tools: hv: properly handle long paths
Paths can be up to PATH_MAX long and PATH_MAX is usually greater than 256.
While on it, simplify path reconstruction to a simple snprintf(), define
and reuse KVP_NET_DIR.
Suggested-by: Tomas Hozza <thozza@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
