cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c

2007-10-12 Thread John Baldwin
jhb 2007-10-12 19:38:39 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/fs/pseudofs pseudofs_vnops.c Log: MFC: Use the correct pid when checking to see whether or not the /proc/ directory is visible to the current thread. Revision Changes

cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c

2007-10-05 Thread John Baldwin
jhb 2007-10-05 17:37:25 UTC FreeBSD src repository Modified files: sys/fs/pseudofs pseudofs_vnops.c Log: Use the correct pid when checking to see whether or not the /proc/ directory itself (rather than any of its contents) is visible to the current thread. MFC a

cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c

2007-06-19 Thread Bruce A. Mah
bmah2007-06-19 18:16:43 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/fs/pseudofs pseudofs_vnops.c Log: MFC: Fix off-by-one error (introduced in r1.60) that had the effect of disallowing a read of exactly MAXPHYS bytes. pseudofs

cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c

2007-06-07 Thread Bruce A. Mah
bmah2007-06-07 15:04:30 UTC FreeBSD src repository Modified files: sys/fs/pseudofs pseudofs_vnops.c Log: Fix off-by-one error (introduced in r1.60) that had the effect of disallowing a read of exactly MAXPHYS bytes. Reviewed by:des, rdivacky MFC after:

cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c

2007-04-15 Thread Dag-Erling Smorgrav
des 2007-04-15 20:35:18 UTC FreeBSD src repository Modified files: sys/fs/pseudofs pseudofs_vnops.c Log: Avoid "unused variable" warning when building without PSEUDOFS_TRACE. Revision ChangesPath 1.63 +1 -0 src/sys/fs/pseudofs/pseudofs_vnops.c _

Re: cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c src/sys/compat/linux linux_misc.c src/sys/compat/linprocfs linprocfs.c

2006-07-15 Thread Alexander Leidinger
Quoting Robert Watson <[EMAIL PROTECTED]> (Sat, 15 Jul 2006 10:23:28 +0100 (BST)): > > On Fri, 14 Jul 2006, Alfred Perlstein wrote: > > > Could the KASSERT here be changed to a warning log message instead? > > > > I don't like the idea of kernel modules failing catastrophically > > when they co

Re: cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c src/sys/compat/linux linux_misc.c src/sys/compat/linprocfs linprocfs.c

2006-07-15 Thread Robert Watson
On Fri, 14 Jul 2006, Alfred Perlstein wrote: Could the KASSERT here be changed to a warning log message instead? I don't like the idea of kernel modules failing catastrophically when they could fail gracefully by just emitting an error. Is that OK? + KASSERT(kp.ki_stat <= sizeof(linux_

Re: cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c src/sys/compat/linux linux_misc.c src/sys/compat/linprocfs linprocfs.c

2006-07-14 Thread Alfred Perlstein
Could the KASSERT here be changed to a warning log message instead? I don't like the idea of kernel modules failing catastrophically when they could fail gracefully by just emitting an error. Is that OK? + KASSERT(kp.ki_stat <= sizeof(linux_state), + ("linprocfs: don't know h

cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c src/sys/compat/linux linux_misc.c src/sys/compat/linprocfs linprocfs.c

2006-07-08 Thread Alexander Leidinger
netchild2006-07-08 14:06:56 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/fs/pseudofs pseudofs_vnops.c sys/compat/linux linux_misc.c sys/compat/linprocfs linprocfs.c Log: MFC: - linux_misc.c 1.179 Don't copyout/do unneccesary wo

cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c

2006-06-27 Thread Alexander Leidinger
netchild2006-06-27 20:21:38 UTC FreeBSD src repository Modified files: sys/fs/pseudofs pseudofs_vnops.c Log: Correctly calculate a buffer length. It was off by one so a read() returned one byte less than needed. This is a RELENG_x_y candidate, since it fixes a problem

cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c

2006-03-01 Thread John Baldwin
jhb 2006-03-01 20:54:33 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/fs/pseudofs pseudofs_vnops.c Log: MFC: Change pfs_visible() to optionally return with the process still locked to simplify some locking and close some races. Approved

cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c

2006-02-22 Thread John Baldwin
jhb 2006-02-22 17:24:54 UTC FreeBSD src repository Modified files: sys/fs/pseudofs pseudofs_vnops.c Log: Change pfs_visible() to optionally return a pointer to the process associated with the passed in pfs_node. If it does return a pointer, it keeps the process lock