Re: [PATCH 1/4] export __put_task_struct for XPMEM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 27, 2007 at 03:24:20PM -0500, Robin Holt wrote:
> On Mon, Aug 27, 2007 at 08:35:10PM +0100, Al Viro wrote:
> > On Mon, Aug 27, 2007 at 02:19:06PM -0500, Dean Nelson wrote:
> > 
> > > No operations can be done once it's closed, only while it's opened.
> > 
> > What the hell do you mean, can't be done?
> > 
> > 	fd = open(...);
> > 	fp = popen("/bin/date", "r");
> > 	/* read from fp */
> > 	fclose(fp);
> 
> But this will operate on the dup'd fd.  We detect that in the flush
> (ignore) and ioctl (return errors) operations.  All other operations
> are not handled by xpmem.

How the hell do you detect dup'd fd?  It's identical to the original
in every respect and it doesn't have to be held by a different task.
Seriously, what you are proposing makes no sense whatsoever...
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux