Kyle Evans
320ef1bef0
auxv: partially revert r366207, cast buflen to unsigned int as needed
...
The warning generated pre-r366207 is actually a sign comparison warning:
error: comparison of integers of different signs: 'unsigned long' and 'int'
if (strlcpy(buf, execpath, buflen) >= buflen)
Revert parts that affected other lines and just cast this to unsigned int.
The buflen < 0 -> EINVAL has been kept despite no longer serving any
purposes w.r.t. sign-extension because I do believe it's the right thing to
do: "The provided buffer was not the right size for the requested item."
The original warning is confirmed to still be gone with an:
env WARNS=6 make WITHOUT_TESTS=yes.
Reviewed by: asomers, kib
X-MFC-With: r366207
Differential Revision: https://reviews.freebsd.org/D26631
2020-10-01 19:56:38 +00:00
..
2017-11-25 17:12:48 +00:00
2018-07-03 17:31:45 +00:00
2017-11-25 17:12:48 +00:00
2019-06-23 10:50:26 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2020-04-13 08:42:13 +00:00
2018-08-19 17:40:50 +00:00
2020-04-13 08:42:13 +00:00
2020-04-13 08:42:13 +00:00
2020-08-25 13:23:31 +00:00
2018-07-03 17:31:45 +00:00
2019-11-17 14:11:08 +00:00
2020-10-01 19:56:38 +00:00
2020-09-27 22:26:41 +00:00
2017-05-23 06:53:31 +00:00
2020-06-16 16:48:52 +00:00
2020-06-16 16:48:52 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2020-09-27 22:26:41 +00:00
2017-02-28 23:42:47 +00:00
2017-11-25 17:12:48 +00:00
2019-08-01 18:51:06 +00:00
2018-07-03 17:31:45 +00:00
2017-05-23 09:29:05 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2020-08-04 08:46:28 +00:00
2017-11-25 17:12:48 +00:00
2020-09-27 22:26:41 +00:00
2017-05-23 06:56:57 +00:00
2018-07-03 17:31:45 +00:00
2020-08-20 15:19:09 +00:00
2020-05-22 17:52:09 +00:00
2020-05-15 11:58:01 +00:00
2017-11-25 17:12:48 +00:00
2020-09-02 20:43:08 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2019-01-17 06:35:45 +00:00
2017-11-25 17:12:48 +00:00
2020-03-24 19:33:21 +00:00
2020-06-10 01:32:13 +00:00
2018-04-12 18:23:14 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2017-11-25 17:12:48 +00:00
2017-02-28 23:42:47 +00:00
2017-11-25 17:12:48 +00:00
2018-07-03 17:31:45 +00:00
2018-08-07 15:24:19 +00:00
2019-03-26 19:35:41 +00:00
2017-05-23 09:29:05 +00:00
2020-09-27 22:26:41 +00:00
2017-11-20 19:49:47 +00:00
2017-02-28 23:42:47 +00:00
2019-03-26 19:35:41 +00:00
2020-09-27 22:26:41 +00:00
2020-03-12 18:28:23 +00:00
2017-05-23 09:29:05 +00:00
2019-06-30 11:49:58 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2017-06-12 00:43:14 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2020-03-23 17:38:20 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2018-03-21 01:15:45 +00:00
2020-09-27 22:26:41 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2020-09-19 19:08:27 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2020-07-13 15:17:29 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2020-09-09 18:07:13 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2018-06-13 18:34:49 +00:00
2018-07-03 17:31:45 +00:00
2017-04-26 14:28:27 +00:00
2018-07-03 17:31:45 +00:00
2017-11-25 17:12:48 +00:00
2017-02-28 23:42:47 +00:00
2017-02-04 00:37:25 +00:00
2020-08-03 22:13:02 +00:00
2017-02-28 23:42:47 +00:00
2020-09-19 19:08:27 +00:00
2018-02-27 10:55:33 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2017-11-25 17:12:48 +00:00
2018-08-16 18:40:16 +00:00
2019-07-17 19:41:44 +00:00
2018-07-03 17:31:45 +00:00
2017-05-23 09:29:05 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2018-07-03 17:31:45 +00:00
2017-12-31 00:46:41 +00:00
2017-11-25 17:12:48 +00:00
2019-11-02 16:59:53 +00:00
2017-02-28 23:42:47 +00:00
2019-06-23 10:45:50 +00:00
2017-11-25 17:12:48 +00:00
2020-03-23 17:38:20 +00:00
2020-10-01 16:37:49 +00:00
2020-05-14 21:12:08 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2020-03-30 20:15:19 +00:00
2020-03-30 21:25:00 +00:00
2020-01-29 01:52:27 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2018-02-27 04:41:14 +00:00
2020-06-12 18:13:32 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2017-11-25 17:12:48 +00:00
2018-07-26 18:34:38 +00:00
2018-07-26 18:34:38 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2018-07-03 17:31:45 +00:00
2018-07-03 17:31:45 +00:00
2019-02-13 04:52:01 +00:00
2018-07-03 17:31:45 +00:00
2020-08-17 19:14:09 +00:00
2017-02-28 23:42:47 +00:00
2020-08-31 21:55:25 +00:00
2018-07-03 17:31:45 +00:00
2017-11-25 17:12:48 +00:00
2017-05-24 17:50:34 +00:00
2017-11-25 17:12:48 +00:00
2018-03-02 22:32:53 +00:00
2018-07-03 17:31:45 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2019-07-18 21:33:55 +00:00
2020-08-03 18:08:04 +00:00
2018-07-04 13:31:16 +00:00
2020-04-15 20:28:20 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2018-07-03 17:31:45 +00:00
2017-12-01 22:48:20 +00:00
2018-07-03 17:31:45 +00:00
2019-12-12 01:41:55 +00:00
2019-12-12 01:41:55 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2020-09-09 18:07:13 +00:00
2017-02-28 23:42:47 +00:00
2018-11-19 18:23:17 +00:00
2020-04-12 14:30:00 +00:00
2018-07-03 17:31:45 +00:00
2019-12-29 17:19:57 +00:00
2019-09-18 16:13:10 +00:00
2018-12-06 18:03:18 +00:00
2020-08-14 00:18:18 +00:00
2017-02-28 23:42:47 +00:00
2017-05-23 06:58:08 +00:00
2020-07-15 17:05:37 +00:00
2017-02-28 23:42:47 +00:00
2019-06-23 10:47:07 +00:00
2017-12-06 22:06:48 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2018-08-10 15:16:41 +00:00
2018-08-10 15:16:36 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2020-02-26 18:55:09 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2020-01-21 16:31:08 +00:00
2020-03-23 17:38:20 +00:00
2017-11-25 17:12:48 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2017-11-25 17:12:48 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-02-28 23:42:47 +00:00
2018-07-03 17:31:45 +00:00
2018-07-03 17:31:45 +00:00
2018-07-03 17:31:45 +00:00
2017-11-25 17:12:48 +00:00
2018-07-03 17:31:45 +00:00
2017-11-25 17:12:48 +00:00