--- [EMAIL PROTECTED] wrote:
> This isn't a bug, but was part of the increased
> security in Oxygen.  
> I'm surprised that there are device files being
> created in /tmp; 
> can't they be pointed to /dev?

I think that it would not be difficult to change this,
but it would be a source code patch to the PCMCIA
cardmgr, not just a configuration change.

There is one place in cardmgr.c where the tmpnam()
function is called.  It gets the directory from the
#define for P_tmpdir in stdio.h.  I suppose this could
be overridden locally for this program.

Another alternative would be to replace the tmpnam()
call with a tempnam() call which allows specification
of the directory in the call.  It also provides for a
search order for the directory, which I'm not sure is
a good idea security-wise.

Which of these alternatives do you think would be the
best choice?  I suppose this question could be put to
the PCMCIA support people as well, but I'm not on
their list right now ...

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

_______________________________________________
Leaf-hardware mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-hardware

Reply via email to