Re: Xcode 3.1 is available at connect.apple.com (Part 2b)
Re: Xcode 3.1 is available at connect.apple.com (Part 2b)
- Subject: Re: Xcode 3.1 is available at connect.apple.com (Part 2b)
- From: Chris Hanson <email@hidden>
- Date: Sat, 12 Jul 2008 15:07:57 -0700
On Jul 12, 2008, at 8:26 AM, John C. Daub wrote:
We are using a new system API, which other utilities like sample(1)
are also using, to put files into directories that do not have
identical paths on different machines. This deters (we're told)
certain kinds of exploits. It is not a privacy or data-security
issue, it's an exploit-prevention mechanism.
What is this new system API?
The POSIX confstr(2) API, see x-man-page://2/confstr for details of
the API.
It can also be used via the shell using getconf(1), x-man-page://1/getconf
for details.
% getconf DARWIN_USER_CACHE_DIR
The Darwin-specific directories are listed in <unistd.h>:
_CS_DARWIN_USER_DIR
_CS_DARWIN_USER_TEMP_DIR
_CS_DARWIN_USER_CACHE_DIR
-- Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden