Version: 1.3

Posted: 2007-04-30

Build Requirements: Xcode 2.4

Runtime Requirements: Mac OS X 10.4 Tiger

View Source Code:

Download Sample (“KauthORama.zip”, 17.6K)
Download Sample (“KauthORama.dmg”, 73.7K)



Description

KauthORama is a sample that demonstrates the use of the Kernel Authorization (Kauth) subsystem introduced in Mac OS X 10.4 Tiger. KauthORama allows you to register a listener for any scope. The listener has no effect on authorization decisions, but it prints a record of each authorization request so that you can see how Kauth interacts with high-level operations, like listing directories or copying files.

Document Revision History

Date Notes
2007-04-30Minor editorial change.
2007-01-03Work around a kernel bug by checking certain arguments for NULL.
2005-07-26This sample code has been to include an Xcode 2.1 project to produce universal binaries. There were no code changes required for it to run correctly on the Developer Transition Systems. However, I did modify the code slightly to eliminate some new warnings produced by GCC 4.0.
2005-06-06Prints each Kauth request, illustrating how Kauth interacts with high-level operations, like copying files.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.