Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: CVS commit: src/sys
Module Name: src
Committed By: elad
Date: Thu Dec 24 19:01:12 UTC 2009
Modified Files:
src/sys/kern: init_sysctl.c kern_sysctl.c
src/sys/sys: file.h
Log Message:
When reporting open files using sysctl, don't use 'filehead' to fetch files,
as we don't have a process context to authorize on. Instead, traverse the
file descriptor table of each process -- as we already do in one case.
Introduce a "marker" we can use to mark files we've seen in an iteration, as
the same file can be referenced more than once.
Hopefully this availability of filtering by process also makes life easier
for those who are interested in implementing process "containers" etc.
this commit has broken rump. please fix it:
/var/obj/sparc/usr/src/destdir.sparc/usr/lib/librump.so: undefined reference to
`rumpns_sysctl_file_marker_lock'
nbmake: stopped in /usr/src/usr.sbin/puffs/rump_cd9660
.mrg.
Home |
Main Index |
Thread Index |
Old Index