rwatson
5eaa7f128c
Relocate permissions checking code in in_control() to before the body
...
of the implementation of ioctls. This makes the mapping of ioctls to
specific privileges more explicit, and also simplifies the
implementation by reducing the use of FALLTHROUGH handling in switch.
While this is not intended to be a functional change, it does mean
that certain privilege checks are now performed earlier, so EPERM
might be returned in preference to EADDRNOTAVAIL for management
ioctls that could have failed for both reasons.
MFC after: 3 weeks
2009-04-24 09:54:46 +00:00
..
2009-04-23 20:24:19 +00:00
2009-04-23 20:24:19 +00:00
2009-04-15 17:31:22 +00:00
2009-04-19 16:17:13 +00:00
2009-04-20 10:40:42 +00:00
2009-04-10 10:52:19 +00:00
2009-04-19 13:48:42 +00:00
2009-04-24 03:51:11 +00:00
2009-04-16 20:30:28 +00:00
2009-02-05 19:30:28 +00:00
2009-03-09 13:32:19 +00:00
2009-04-23 21:27:06 +00:00
2009-04-10 10:52:19 +00:00
2009-04-18 16:36:27 +00:00
2009-03-16 15:39:46 +00:00
2009-04-23 20:24:19 +00:00
2009-04-24 03:43:20 +00:00
2009-03-05 19:10:17 +00:00
2009-04-22 20:49:54 +00:00
2009-04-17 09:48:20 +00:00
2009-02-28 16:21:25 +00:00
2009-04-20 12:59:23 +00:00
2009-04-19 21:37:45 +00:00
2009-04-23 15:56:01 +00:00
2009-04-23 22:08:44 +00:00
2009-04-19 22:01:38 +00:00
2009-04-19 22:05:39 +00:00
2009-04-24 09:54:46 +00:00
2009-04-23 17:41:54 +00:00
2009-04-11 05:58:58 +00:00
2009-04-16 20:30:28 +00:00
2009-03-15 14:21:05 +00:00
2009-04-07 19:06:51 +00:00
2009-04-10 10:52:19 +00:00
2009-04-13 19:54:33 +00:00
2009-04-12 19:04:27 +00:00
2009-02-05 17:43:12 +00:00
2009-04-15 19:58:41 +00:00
2009-04-20 07:13:04 +00:00
2009-04-24 08:57:54 +00:00
2009-04-16 16:26:35 +00:00
2009-04-19 23:28:08 +00:00
2009-04-20 12:59:23 +00:00
2009-04-20 12:59:23 +00:00
2009-04-22 15:54:27 +00:00
2009-03-29 03:30:15 +00:00
2009-04-20 14:36:01 +00:00
2009-04-23 21:09:47 +00:00
2009-02-28 16:21:25 +00:00
2009-04-01 17:06:28 +00:00
2009-02-15 18:19:24 +00:00