- fstat(pipefd) now populations additional fields. uid, gid, and inum. In-line with other BSDs and Linux. Not sure why any program would use the inum field but... now its populated.
- Add an anonymous inode allocator to the pcpu structure. No atomic ops required. Basically just does:
pipe->inum = gd->gd_anoninum++ * ncpus + gd->gd_cpuid + 2;
- Facility can be used for other things as needed.
688919654f kernel - Add uid, gid, and inum to stat data for pipes
sys/kern/sys_pipe.c | 6 +++++-
sys/sys/globaldata.h | 2 +-
sys/sys/pipe.h | 2 ++
3 files changed, 8 insertions(+), 2 deletions(-)
Upstream: gitweb.dragonflybsd.org