kauth_ cred_ grnam2guid The following symbols are unresolved for this kext

I'm writing a file system driver (kext) using "kauth cred grnam2guid" function, but the following "symbols are unresolved for this kext" when kextload, and cannot be found kauth  cred grnam2guid symbol, kextfind this function symbol in the private.kext Inside. Is there a way to solve this problem?

Accepted Reply

This symbol seems to be private:

Code Block
% nm /System/Library/Extensions/System.kext/PlugIns/Private.kext/Private | grep kauth_cred_grnam2guid
U _kauth_cred_grnam2guid


That’s kinda weird because it’s declared in a public header and there’s no obvious indication that you shouldn’t be using it. This conundrum is definitely bugworthy IMO.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"

Replies

This symbol seems to be private:

Code Block
% nm /System/Library/Extensions/System.kext/PlugIns/Private.kext/Private | grep kauth_cred_grnam2guid
U _kauth_cred_grnam2guid


That’s kinda weird because it’s declared in a public header and there’s no obvious indication that you shouldn’t be using it. This conundrum is definitely bugworthy IMO.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
FB7831958 (kauth cred grnam2guid The following symbols are unresolved for this kext)