Re: RFC [patch 00/34] PID Virtualization Overview
From: Eric W. Biederman
Date: Sat Jan 21 2006 - 05:33:15 EST
Hubertus Franke <frankeh@xxxxxxxxxxxxxx> writes:
> As odd as this looks .. it does have the benefits and anything that avoids
> potential problems.
>
> On the other hand you might run into problems with the following.
>
> char *str = task_str(tsk);
>
> Eitherway .. I don't think these are the big fish to fry now :-)
Except there are really no small fish :)
This solves the one really ugly part of my current patch,
that I had simply not thought through.
There is already something similar for paths in the fs
namespace.
char * d_path(struct dentry *dentry, struct vfsmount *vfsmnt,
char *buf, int buflen);
Which does exactly this.
Now frequently it is passed in a page sized buffer so
it's not quite the same but close enough.
Eric
-
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/