You wrote to me the following a few months ago about getting the
supplementary groups for the process for which fuse is working :
> The group list is available in
> and fuse supplies TID in get_fuse_context()->pid. The only problem is
> finding out PID, for which I have no good solution, except to iterate
> through all processes. This is rather slow, but may be speeded up
> with caching and heuristics (for single threaded programs PID = TID).
> The proper solution would be to extend the kernel interface of fuse to
> send the group list in each request. This has been in my todo list
> for a long time, but somehow I never got around to implementing it.
I just found out that :
can be opened and provides the same information, though $TID
is not displayed in a /proc listing.
This simplifies accessing the group list for a thread belonging to
a multithread group.
Do you know whether this is standard behavior or am I just using a
lucky version (kernel 2.6.23) ?