This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: socket() call failing?


On Thu, Aug 19, 2004 at 12:00:49AM +0200, Corinna Vinschen wrote:

> Does the parent process reduce the environment to some bare minimum?
> Check if the child process still has $SYSTEMROOT set.

It has a function called safe_env() which strips out everything except
TZ and (optionally) PATH.  Modifying it to not strip SYSTEMROOT
allowed Amanda to back up my test directory.  Tonight I'll see if it
can now back up everything.  Then I'll say that it works.

Are there any other environment variables that it's dangerous to
strip?

			-- JF

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]