freebsd-nq/sys/fs
Mikolaj Golub fe7f89b71a Abrogate nchr argument in proc_getargv() and proc_getenvv(): we always want
to read strings completely to know the actual size.

As a side effect it fixes the issue with kern.proc.args and kern.proc.env
sysctls, which didn't return the size of available data when calling
sysctl(3) with the NULL argument for oldp.

Note, in get_ps_strings(), which does actual work for proc_getargv() and
proc_getenvv(), we still have a safety limit on the size of data read in
case of a corrupted procces stack.

Suggested by:	kib
MFC after:	3 days
2012-01-15 18:47:24 +00:00
..
cd9660 This update changes the mnt_flag field in the mount structure from 2011-07-24 17:43:09 +00:00
coda Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
deadfs
devfs Explicitly use curthread while manipulating td_fpop during last close 2011-12-09 17:49:34 +00:00
ext2fs Migrate ufs and ext2fs from skpc() to memcchr(). 2012-01-01 20:47:33 +00:00
fdescfs Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
fifofs Initialize fifoinfo fi_wgen field on open. The only important is the 2011-12-04 19:25:49 +00:00
hpfs
msdosfs Discarding local array based on return values 2011-12-22 06:31:29 +00:00
nfs jwd@ reported via email that the "CacheSize" field reported by "nfsstat -e -s" 2012-01-11 02:46:42 +00:00
nfsclient opt_inet6.h was missing from some files in the new NFS subsystem. 2012-01-08 01:54:46 +00:00
nfsserver Tai Horgan reported via email that there were two places in 2012-01-14 04:04:58 +00:00
ntfs Minor cleanups to ntfs code 2012-01-03 19:09:01 +00:00
nullfs In sys/fs/nullfs/null_subr.c, in a KASSERT, output the correct vnode 2012-01-05 17:06:04 +00:00
nwfs Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
portalfs Trace attempts to open a portal device. 2011-10-18 07:31:49 +00:00
procfs Abrogate nchr argument in proc_getargv() and proc_getenvv(): we always want 2012-01-15 18:47:24 +00:00
pseudofs Convert files to UTF-8 2012-01-15 13:23:18 +00:00
smbfs Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
tmpfs Neither tmpfs_nocacheread() nor tmpfs_mappedwrite() needs to call 2012-01-14 23:04:27 +00:00
udf Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
unionfs Make unionfs also clear VAPPEND when clearing VWRITE, since VAPPEND 2011-10-10 21:32:08 +00:00