Hubertus Franke <[email protected]> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: RFC [patch 00/34] PID Virtualization Overview
- From: Dave Hansen <[email protected]>
- Re: RFC [patch 00/34] PID Virtualization Overview
- From: Suleiman Souhlal <[email protected]>
- Re: RFC [patch 00/34] PID Virtualization Overview
- From: Dave Hansen <[email protected]>
- Re: RFC [patch 00/34] PID Virtualization Overview
- From: Alan Cox <[email protected]>
- Re: RFC [patch 00/34] PID Virtualization Overview
- From: Dave Hansen <[email protected]>
- Re: RFC [patch 00/34] PID Virtualization Overview
- From: Arjan van de Ven <[email protected]>
- Re: RFC [patch 00/34] PID Virtualization Overview
- From: Dave Hansen <[email protected]>
- Re: RFC [patch 00/34] PID Virtualization Overview
- From: Alan Cox <[email protected]>
- Re: RFC [patch 00/34] PID Virtualization Overview
- From: Arjan van de Ven <[email protected]>
- Re: RFC [patch 00/34] PID Virtualization Overview
- From: [email protected] (Eric W. Biederman)
- Re: RFC [patch 00/34] PID Virtualization Overview
- From: "Serge E. Hallyn" <[email protected]>
- Re: RFC [patch 00/34] PID Virtualization Overview
- From: Hubertus Franke <[email protected]>
- Re: RFC [patch 00/34] PID Virtualization Overview
- Prev by Date: Re: RFC [patch 00/34] PID Virtualization Overview
- Next by Date: Re: [PATCH] Re: [linux-usb-devel] Re: 2.6.15-mm3 [USB lost interrupt bug]
- Previous by thread: Re: RFC [patch 00/34] PID Virtualization Overview
- Next by thread: RFC: Multiple instances of kernel namespaces.
- Index(es):