freebsd-dev/sys/fs
Robert Watson d990378077 Commit a work-around for a more general bug involving process state:
check whether p_ucred is NULL or not in pfs_getattr() before
dereferencing the credential, and return ENOENT if there wasn't one.

This is a symptom of a larger problem, wherein pfind() can return
references to incompletely initialized processes, and we instead ought
to not return them, or check the process state before acting on the
process.

Reported by:	kris
Discussed with:	tjr, others
2004-08-13 20:27:56 +00:00
..
cd9660 Put a version element in the VFS filesystem configuration structure 2004-07-30 22:08:52 +00:00
coda Put a version element in the VFS filesystem configuration structure 2004-07-30 22:08:52 +00:00
deadfs Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
devfs Put a version element in the VFS filesystem configuration structure 2004-07-30 22:08:52 +00:00
fdescfs Put a version element in the VFS filesystem configuration structure 2004-07-30 22:08:52 +00:00
fifofs Remove unlocked read annotation for sbspace(); the read is locked. 2004-06-23 00:35:50 +00:00
hpfs Use bufdone(), not biodone(). 2004-08-08 13:20:43 +00:00
msdosfs Push all changes to disk before downgrading a mount from rw to ro. 2004-08-07 22:05:12 +00:00
ntfs Put a version element in the VFS filesystem configuration structure 2004-07-30 22:08:52 +00:00
nullfs Put a version element in the VFS filesystem configuration structure 2004-07-30 22:08:52 +00:00
nwfs Put a version element in the VFS filesystem configuration structure 2004-07-30 22:08:52 +00:00
portalfs Put a version element in the VFS filesystem configuration structure 2004-07-30 22:08:52 +00:00
procfs Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
pseudofs Commit a work-around for a more general bug involving process state: 2004-08-13 20:27:56 +00:00
smbfs Put a version element in the VFS filesystem configuration structure 2004-07-30 22:08:52 +00:00
specfs use bufdone() not biodone(). 2004-08-08 13:23:05 +00:00
udf Put a version element in the VFS filesystem configuration structure 2004-07-30 22:08:52 +00:00
umapfs Put a version element in the VFS filesystem configuration structure 2004-07-30 22:08:52 +00:00
unionfs Put a version element in the VFS filesystem configuration structure 2004-07-30 22:08:52 +00:00