John Ericson
9132d5b1c5
Separate auth and logic for the daemon
...
Before, processConnection wanted to know a user name and user id, and
`nix-daemon --stdio`, when it isn't proxying to an underlying daemon,
would just assume "root" and 0. But `nix-daemon --stdio` (no proxying)
shouldn't make guesses about who holds the other end of its standard
streams.
Now processConnection takes an "auth hook", so `nix-daemon` can provide
the appropriate policy and daemon.cc doesn't need to know or care what
it is.
(cherry picked from commit 8d4162ff9e )
2025-02-17 12:14:02 -05:00
..
2023-10-31 12:06:50 +02:00
2024-03-01 10:24:54 +01:00
2018-05-30 13:28:01 +02:00
2024-03-07 14:27:23 +01:00
2025-02-13 11:36:30 -05:00
2018-08-06 14:06:54 +02:00
2025-02-13 11:36:30 -05:00
2017-05-02 15:46:10 +02:00
2018-09-28 16:10:27 +02:00
2014-08-21 21:50:19 +02:00
2014-07-16 16:02:05 +02:00
2014-08-28 18:57:13 +02:00
2025-02-13 11:36:30 -05:00
2018-10-27 15:41:53 +02:00
2025-02-13 11:36:30 -05:00
2024-03-07 14:27:23 +01:00
2025-02-13 11:36:30 -05:00
2025-02-14 01:26:27 -05:00
2017-10-25 13:01:50 +02:00
2014-02-26 18:59:01 +01:00
2019-08-02 10:48:15 -04:00
2025-02-13 11:36:30 -05:00
2025-02-13 11:36:30 -05:00
2013-11-18 10:21:12 +00:00
2025-02-13 11:36:30 -05:00
2018-02-13 14:26:19 +00:00
2018-08-17 11:27:34 -04:00
2018-01-16 19:23:18 +01:00
2025-02-13 11:36:30 -05:00
2016-03-24 14:45:55 +01:00
2014-08-21 21:50:19 +02:00
2009-03-17 17:11:55 +00:00
2025-02-13 11:36:30 -05:00
2025-02-13 11:36:30 -05:00
2025-02-13 11:36:30 -05:00
2008-08-14 09:26:30 +00:00
2008-08-14 09:26:30 +00:00
2009-03-17 17:11:55 +00:00
2014-08-21 21:50:19 +02:00
2009-03-17 17:11:55 +00:00
2016-09-12 13:40:07 +02:00
2019-03-10 01:50:33 +01:00
2025-02-13 11:36:30 -05:00
2019-07-30 11:27:35 +02:00
2012-09-11 19:14:15 -04:00
2025-02-13 11:36:30 -05:00
2019-07-25 09:44:01 -04:00
2025-02-13 11:36:30 -05:00
2025-02-13 11:36:30 -05:00
2025-02-14 01:26:27 -05:00
2017-11-20 17:50:49 +01:00
2025-02-13 11:36:30 -05:00
2012-09-11 19:14:15 -04:00
2025-02-13 11:36:30 -05:00
2017-11-14 13:27:40 +01:00
2025-02-13 11:36:30 -05:00
2017-11-24 18:08:35 +01:00
2025-02-13 11:36:30 -05:00
2021-06-22 11:03:51 +02:00
2019-06-15 16:36:33 +02:00
2019-10-10 00:00:54 +02:00
2019-06-15 16:36:33 +02:00
2025-02-13 11:36:30 -05:00
2014-02-06 13:51:57 +01:00
2009-03-23 15:16:36 +00:00
2013-11-25 18:47:03 +01:00
2015-02-17 16:42:54 +01:00
2019-06-15 16:36:33 +02:00
2018-02-13 14:43:32 -05:00
2025-02-13 11:36:30 -05:00
2018-01-16 19:23:18 +01:00
2018-01-16 19:23:18 +01:00
2019-08-27 17:01:54 +02:00
2025-02-13 11:36:30 -05:00
2021-06-22 11:03:51 +02:00
2025-02-17 12:14:02 -05:00
2025-02-13 11:36:30 -05:00
2018-01-16 19:23:18 +01:00
2018-08-03 06:46:43 +02:00
2017-11-20 18:36:36 +01:00
2018-01-13 19:08:41 +02:00
2018-02-25 16:40:05 -06:00
2025-02-13 11:36:30 -05:00
2011-08-08 14:08:38 +00:00
2016-04-11 16:20:15 +02:00
2021-06-23 09:37:14 +02:00
2018-04-08 00:45:28 -04:00
2018-04-09 09:36:54 -04:00
2018-01-04 16:58:39 +01:00
2018-09-25 22:18:52 -04:00
2009-03-17 17:11:55 +00:00
2016-10-19 15:19:38 +02:00
2024-12-08 15:45:05 +01:00
2025-02-13 11:36:30 -05:00
2021-06-01 15:21:01 +02:00
2025-02-13 11:36:30 -05:00
2025-02-13 11:36:30 -05:00
2017-07-30 12:32:45 +01:00
2025-02-13 11:36:30 -05:00
2012-12-04 14:47:50 +01:00
2023-10-31 12:06:50 +02:00
2025-02-13 11:36:30 -05:00