Executing an application
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com stat() /Applications/Safari.app/Contents/MacOS/Safari open() /Applications/Safari.app/Contents/MacOS/Safari close() /Applications/Safari.app/Contents/MacOS/Safari but no exec() type operation on the file. Thanks, Todd _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... Apple recently updated its BSM audit trail for Leopard (i.e., made it work), but there is one thing that I find strange that maybe someone can help me with: When launching an application from the dock (or finder), there is no exec() system call. Does Apple launch its application by some other means? For example, clicking on Safari on the dock (and with all audit records turned on), there is no exec() or equivalent system call in the audit trail. However, the binary file is read() in. For example, there is a Is this because, despite the "all" flag set for audit, the appropriate exec() actually is *not* audited? Can the open() for reading somehow be doing the exec()? If I launch the application in a shell by typing in the full path above in the , I do see an exec system call. Anyone know what the story is? Should I file a bug report with Apple? This email sent to site_archiver@lists.apple.com
participants (1)
-
Todd Heberlein