OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-27-g89eafda
Gerrit Code Review
gerrit@openafs.org
Fri, 6 Dec 2024 11:13:46 -0500
The following commit has been merged in the master branch:
commit 89eafda9608a18883e788a62051db4293a39346d
Author: Marcio Barbosa <mbarbosa@sinenomine.net>
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 <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
.../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