Files
nix/tests
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
..
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
2014-08-21 21:50:19 +02:00
2025-02-13 11:36:30 -05:00
2025-02-13 11:36:30 -05:00
2024-03-07 14:27:23 +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
2018-02-13 14:26:19 +00:00
2018-01-16 19:23:18 +01:00
2025-02-13 11:36:30 -05:00
2014-08-21 21:50:19 +02:00
2025-02-13 11:36:30 -05:00
2014-08-21 21:50:19 +02: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
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-13 11:36:30 -05:00
2025-02-13 11:36:30 -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
2021-06-22 11:03:51 +02:00
2018-01-16 19:23:18 +01:00
2017-11-20 18:36:36 +01:00
2018-02-25 16:40:05 -06:00
2025-02-13 11:36:30 -05:00
2016-04-11 16:20:15 +02:00
2021-06-23 09:37:14 +02:00
2016-10-19 15:19:38 +02: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
2012-12-04 14:47:50 +01:00
2025-02-13 11:36:30 -05:00