The following commit has been merged in the master branch:
commit 89eafda9608a18883e788a62051db4293a39346d
Author: Marcio Barbosa <[email protected]>
Date: Sat Nov 23 03:31:54 2024 -0800
DARWIN: Convert prefpane startup ops to privhelper
Convert the logic for the "start at login" option in the prefpane to use
privhelper, so it can work with macOS 10.8+.
Specifically, define these new privhelper tasks:
- startup_enable
- startup_disable
- startup_check
And convert our startup-related logic in the prefpane to use them.
Get rid of our now-unused method executeTaskWithAuth() and related
methods.
Change-Id: I2cb4c31f964529ab1af43ab7828c14eba7354af0
Reviewed-on: https://gerrit.openafs.org/15957
Tested-by: BuildBot <[email protected]>
Reviewed-by: Michael Meffie <[email protected]>
Reviewed-by: Cheyenne Wills <[email protected]>
Reviewed-by: Mark Vitale <[email protected]>
Reviewed-by: Andrew Deason <[email protected]>
.../DARWIN/AFSPreference/AFSCommanderPref.m | 24 +++----
src/platform/DARWIN/AFSPreference/PListManager.h | 6 --
src/platform/DARWIN/AFSPreference/PListManager.m | 25 -------
src/platform/DARWIN/AFSPreference/TaskUtil.h | 2 -
src/platform/DARWIN/AFSPreference/TaskUtil.m | 75 --------------------
src/platform/DARWIN/PrivilegedHelper/privhelper.c | 80 +++++++++++++++++++++-
6 files changed, 89 insertions(+), 123 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs