Re: [PATCH 1/3] Infiniband: make ehca_pd use struct pid pointer rather than pid_t

From: Roland Dreier
Date: Wed Mar 19 2008 - 17:23:17 EST


> Reason for above checking is to prevent a child process releasing
> a resource that the parent process has created and still wants to use.
> Do you think that's something we can generalize into ib_core?

Clearly if we want that check then it should be in the core uverbs
module. But I'm not sure why we would want that check -- I don't see
any realistic scenario where that would cause problems, and it seems
at least as likely that the check would break an app that
intentionally does something clever.

- R.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/