>
>> I know that the symlinks in the /proc/<pid>/fd directory point to
>> bogus filenames for pipes (i.e. 'pipe:[64682]') and am wondering if
>> every process that reads and writes from that pipe will share the same
>> bogus symlink name.
>
It is not really bogus. And it is not really real at the same time.
This is how it works AFAIU: pipes get created in pipefs (cat
/proc/filesystems) (as do sockets in sockfs), and their dentry IS named
"pipe:[46682]". You just can't see it because 1. you are prevented from
mounting pipefs, 2. there are no readdir/etc. functions for pipefs
implemented ATM.
>> In essence, I'm wondering if there's any way to list all of the pid's
>> of processes using an anonomous pipe.
>
Hm. Do you mean list "all pids of procs using an anynymous pipe" or
"list all pids [...]" using an anonymous pipe... :)
AFAICS, the first is not possible; the latter is (a fork-and-exec
thing) is something different.
Jan Engelhardt
--
-
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/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]