Re: [PATCH] nextfd(2)

From: Konstantin Khlebnikov
Date: Mon Apr 02 2012 - 04:38:26 EST


Alan Cox wrote:
Can we add "pid" argument to be able to search next fd in other task?
Together with sys_kcmp() this will be very useful for checkpoint/restore.

That would raise all sorts of security questions unless protected, plus
its got races. If you want to do that and you have the rights you can do
it via procfs anyway.

Don't worry, I just asked. =) Seems like crtools dumps fd in the target-task context,
so the current version is suitable.
--
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/