Konstantin Belousov
f69261f2f9
Fix fcntl(2) compat32 after r270691. The copyin and copyout of the
...
struct flock are done in the sys_fcntl(), which mean that compat32 used
direct access to userland pointers.
Move code from sys_fcntl() to new wrapper, kern_fcntl_freebsd(), which
performs neccessary userland memory accesses, and use it from both
native and compat32 fcntl syscalls.
Reported by: jhibbits
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
2014-09-25 21:07:19 +00:00
..
2014-09-23 02:56:40 +00:00
2014-01-28 01:49:49 +00:00
2014-09-04 21:31:25 +00:00
2014-08-30 03:10:55 +00:00
2013-09-09 18:11:59 +00:00
2014-09-04 21:31:25 +00:00
2014-03-22 10:26:09 +00:00
2014-03-18 21:34:11 +00:00
2013-06-30 19:08:06 +00:00
2014-04-05 16:54:47 +00:00
2013-11-26 08:46:27 +00:00
2014-06-28 03:56:17 +00:00
2013-09-20 23:06:21 +00:00
2013-10-22 10:40:26 +00:00
2014-09-22 14:27:26 +00:00
2014-06-28 03:56:17 +00:00
2014-09-16 01:21:47 +00:00
2014-09-25 21:07:19 +00:00
2014-05-29 01:42:22 +00:00
2013-11-01 10:32:33 +00:00
2014-04-02 17:34:17 +00:00
2014-09-22 16:20:47 +00:00
2014-08-13 05:44:08 +00:00
2014-09-03 06:25:34 +00:00
2014-06-28 05:41:53 +00:00
2013-06-15 10:08:34 +00:00
2014-09-17 17:33:22 +00:00
2014-09-09 16:05:33 +00:00
2013-06-15 06:45:17 +00:00
2013-08-17 17:02:43 +00:00
2014-07-02 22:13:07 +00:00
2014-06-28 03:56:17 +00:00
2014-06-28 03:56:17 +00:00
2014-08-29 09:02:01 +00:00
2014-07-08 08:10:15 +00:00
2013-11-25 07:38:45 +00:00
2014-05-14 09:03:02 +00:00
2014-09-22 05:07:22 +00:00
2014-07-11 19:40:50 +00:00
2014-06-28 03:56:17 +00:00
2014-05-02 07:57:40 +00:00
2013-11-25 07:38:45 +00:00
2014-06-28 03:56:17 +00:00
2014-06-28 03:56:17 +00:00
2013-08-29 16:41:40 +00:00
2014-06-28 03:56:17 +00:00
2014-06-02 17:54:39 +00:00
2014-06-28 03:56:17 +00:00
2014-09-04 01:21:33 +00:00
2014-08-24 09:04:09 +00:00
2013-11-26 08:46:27 +00:00
2013-08-15 20:19:17 +00:00
2013-12-13 20:54:45 +00:00
2013-11-25 07:38:45 +00:00
2014-02-05 18:13:27 +00:00
2014-02-22 01:41:45 +00:00
2013-08-22 07:39:53 +00:00
2014-07-25 23:52:53 +00:00
2014-08-24 16:37:50 +00:00
2013-11-25 07:38:45 +00:00
2014-09-08 08:44:50 +00:00
2014-07-10 21:46:57 +00:00
2014-06-28 03:56:17 +00:00
2014-09-03 08:40:16 +00:00
2014-08-07 16:49:50 +00:00
2014-06-30 04:25:51 +00:00
2014-08-22 18:42:14 +00:00
2014-02-13 22:24:36 +00:00
2013-09-09 18:11:59 +00:00
2014-07-07 00:27:09 +00:00
2014-03-14 06:29:43 +00:00
2013-12-15 23:19:42 +00:00
2014-08-23 17:31:56 +00:00
2014-09-17 17:43:32 +00:00
2013-10-27 21:39:16 +00:00
2014-09-23 02:56:40 +00:00
2013-08-07 06:21:20 +00:00
2014-06-26 13:57:44 +00:00
2014-05-01 22:28:14 +00:00
2014-02-10 19:59:46 +00:00
2014-03-24 18:13:41 +00:00
2014-04-20 13:37:22 +00:00
2014-02-14 20:54:03 +00:00
2014-06-28 03:56:17 +00:00
2014-02-05 18:13:27 +00:00
2014-07-11 13:58:48 +00:00
2014-06-28 03:56:17 +00:00
2014-06-28 03:56:17 +00:00
2014-02-10 19:59:46 +00:00
2013-05-12 04:05:01 +00:00
2014-06-28 03:56:17 +00:00
2014-07-16 22:18:19 +00:00
2014-07-28 07:20:22 +00:00
2014-08-11 15:06:07 +00:00
2014-01-13 04:41:08 +00:00
2014-06-24 15:16:55 +00:00
2014-06-28 03:56:17 +00:00
2014-03-16 10:55:57 +00:00
2014-08-07 14:32:28 +00:00
2014-08-27 10:04:10 +00:00
2014-03-21 14:25:09 +00:00
2013-11-26 08:46:27 +00:00
2013-09-16 06:25:54 +00:00
2013-08-30 07:37:45 +00:00
2014-04-16 21:39:43 +00:00
2014-08-03 05:00:43 +00:00
2014-07-23 19:33:49 +00:00
2014-06-22 01:31:55 +00:00
2014-09-22 16:20:47 +00:00
2014-09-22 16:20:47 +00:00
2014-08-07 05:47:53 +00:00
2014-09-22 16:20:47 +00:00
2014-03-18 21:34:11 +00:00
2014-03-18 21:32:03 +00:00
2014-03-18 21:34:11 +00:00
2014-06-28 03:56:17 +00:00
2014-06-28 03:56:17 +00:00
2014-08-31 17:38:41 +00:00
2014-09-22 16:20:47 +00:00
2014-07-26 15:46:41 +00:00
2014-07-26 19:27:34 +00:00
2013-09-01 23:34:53 +00:00
2014-09-04 19:27:30 +00:00
2014-09-22 16:20:47 +00:00
2014-09-22 16:20:47 +00:00
2014-09-22 16:20:47 +00:00
2014-09-22 08:27:27 +00:00
2014-09-08 09:04:22 +00:00
2014-08-11 12:59:55 +00:00
2014-08-03 22:37:21 +00:00
2014-03-16 10:55:57 +00:00
2014-03-16 10:55:57 +00:00
2014-09-04 00:10:06 +00:00
2014-08-03 07:59:19 +00:00
2013-08-27 01:31:12 +00:00
2014-09-10 12:36:41 +00:00
2014-03-16 10:55:57 +00:00
2014-08-03 03:27:54 +00:00
2014-08-24 12:51:12 +00:00
2014-08-17 09:44:42 +00:00
2014-06-11 08:14:08 +00:00
2014-08-03 03:27:54 +00:00
2014-09-25 20:42:25 +00:00
2014-09-22 16:20:47 +00:00
2014-09-10 12:36:41 +00:00