ViewVC Help
View Directory | Revision Log | View Changeset | Root Listing
root/src/trunk/sys/fs
Revision 10401 - Directory Listing - [select for diffs]
Modified Mon Jun 4 03:42:02 2018 UTC (5 years, 11 months ago) by laffer1
Diff to previous 10028
fixup verion checks

Revision 10028 - Directory Listing - [select for diffs]
Modified Sun May 27 22:19:26 2018 UTC (5 years, 11 months ago) by laffer1
Diff to previous 10027
sync with freebsd

Revision 10027 - Directory Listing - [select for diffs]
Modified Sun May 27 22:18:36 2018 UTC (5 years, 11 months ago) by laffer1
Diff to previous 10026
add nandfs from freebsd

Revision 10026 - Directory Listing - [select for diffs]
Modified Sun May 27 22:18:25 2018 UTC (5 years, 11 months ago) by laffer1
Diff to previous 10025
sync nullfs and nfs with freebsd

Revision 10025 - Directory Listing - [select for diffs]
Modified Sun May 27 22:18:11 2018 UTC (5 years, 11 months ago) by laffer1
Diff to previous 10024
add fusefs

Revision 10024 - Directory Listing - [select for diffs]
Modified Sun May 27 22:18:02 2018 UTC (5 years, 11 months ago) by laffer1
Diff to previous 10023
add autofs from freebsd

Revision 10023 - Directory Listing - [select for diffs]
Modified Sun May 27 22:15:46 2018 UTC (5 years, 11 months ago) by laffer1
Diff to previous 10022
sync

Revision 10022 - Directory Listing - [select for diffs]
Modified Sun May 27 22:09:13 2018 UTC (5 years, 11 months ago) by laffer1
Diff to previous 10021
sync pseudofs with freebsd

Revision 10021 - Directory Listing - [select for diffs]
Modified Sun May 27 22:08:55 2018 UTC (5 years, 11 months ago) by laffer1
Diff to previous 10020
sync smbfs with freebsd

Revision 10020 - Directory Listing - [select for diffs]
Modified Sun May 27 22:08:25 2018 UTC (5 years, 11 months ago) by laffer1
Diff to previous 10019
sync tmpfs with freebsd 10 stable

Revision 10019 - Directory Listing - [select for diffs]
Modified Sun May 27 22:07:49 2018 UTC (5 years, 11 months ago) by laffer1
Diff to previous 10018
sync udf with freebsd 10 stable

Revision 10018 - Directory Listing - [select for diffs]
Modified Sun May 27 22:04:46 2018 UTC (5 years, 11 months ago) by laffer1
Diff to previous 9804
sync unionfs with freebsd

Revision 9804 - Directory Listing - [select for diffs]
Modified Fri Mar 9 23:26:47 2018 UTC (6 years, 2 months ago) by laffer1
Diff to previous 9792
bad patch, file duplicated

Revision 9792 - Directory Listing - [select for diffs]
Modified Sat Feb 24 19:32:04 2018 UTC (6 years, 2 months ago) by laffer1
Diff to previous 9520
nfs changes

Revision 9520 - Directory Listing - [select for diffs]
Modified Sat Aug 19 03:09:42 2017 UTC (6 years, 9 months ago) by laffer1
Diff to previous 9491
sync the usb stack with freebsd 9 stable

Revision 9491 - Directory Listing - [select for diffs]
Modified Sun Mar 5 20:14:50 2017 UTC (7 years, 2 months ago) by laffer1
Diff to previous 9488
ext2fs: update Block Group Descriptor struct plus cosmetic fixes.

Revision 9488 - Directory Listing - [select for diffs]
Modified Sun Mar 5 20:07:14 2017 UTC (7 years, 2 months ago) by laffer1
Diff to previous 9457
Post-r248567, there were times when the client would return a
truncated directory for some NFS servers. This turned out to
be because the size of a directory reported by an NFS server
can be smaller that the ufs-like directory created from the
RPC XDR in the client. This patch fixes the problem by changing
r248567 so that vnode_pager_setsize() is only done for regular files.

Revision 9457 - Directory Listing - [select for diffs]
Modified Sun Mar 5 19:36:04 2017 UTC (7 years, 2 months ago) by laffer1
Diff to previous 9455
Rework the handling of stop signals in the NFS client.  The changes in
195702, 195703, and 195821 prevented a thread from suspending while holding
locks inside of NFS by forcing the thread to fail sleeps with EINTR or
ERESTART but defer the thread suspension to the user boundary.  However,
this had the effect that stopping a process during an NFS request could
abort the request and trigger EINTR errors that were visible to userland
processes (previously the thread would have suspended and completed the
request once it was resumed).

This change instead effectively masks stop signals while in the NFS client.
It uses the existing TDF_SBDRY flag to effect this since SIGSTOP cannot
be masked directly.  Instead of setting PBDRY on individual sleeps, change
the VFS_*() and VOP_*() methods to defer stop signals for filesystems which
request this behavior via a new VFCF_SBDRY flag.  Note that this has to be
a VFC flag rather than a MNTK flag so that it works properly with
VFS_MOUNT() when the mount is not yet fully constructed.  For now, only the
NFS clients set this new flag in VFS_SET().

A few other related changes:
- Add an assertion to ensure that TDF_SBDRY doesn't leak to userland.
- When a lookup request uses VOP_READLINK() to follow a symlink, mark
  the request as being on behalf of the thread performing the lookup
  (cnp_thread) rather than using a NULL thread pointer.  This causes
  NFS to properly handle signals during this VOP on an interruptible
  mount.
- Ignore thread suspend requests due to SIGSTOP if stop signals are
  currently deferred.  This can occur if a process is stopped via
  SIGSTOP while a thread is running or runnable but before it has set
  TDF_SBDRY.

Obtained from: FreeBSD

Revision 9455 - Directory Listing - [select for diffs]
Modified Sun Mar 5 19:34:22 2017 UTC (7 years, 2 months ago) by laffer1
Diff to previous 9428
Add currently unused flag argument to the cluster_read(),
	cluster_write() and cluster_wbuild() functions.  The flags to be
	allowed are a subset of the GB_* flags for getblk().

Revision 9428 - Directory Listing - [select for diffs]
Modified Sun Mar 5 14:22:43 2017 UTC (7 years, 2 months ago) by laffer1
Diff to previous 9424
Add support for the eofflag to nfs_readdir() in the new NFS
client so that it works under a unionfs mount.

Revision 9424 - Directory Listing - [select for diffs]
Modified Sat Mar 4 22:54:00 2017 UTC (7 years, 2 months ago) by laffer1
Diff to previous 9393
- Fix nullfs vnode reference leak in nullfs_reclaim_lowervp().  The
  null_hashget() obtains the reference on the nullfs vnode, which must
  be dropped.

- Fix a wart which existed from the introduction of the nullfs
  caching, do not unlock lower vnode in the nullfs_reclaim_lowervp().
  It should be innocent, but now it is also formally safe.  Inform the
  nullfs_reclaim() about this using the NULLV_NOUNLOCK flag set on
  nullfs inode.

- Add a callback to the upper filesystems for the lower vnode
  unlinking. When inactivating a nullfs vnode, check if the lower
  vnode was unlinked, indicated by nullfs flag NULLV_DROP or VV_NOSYNC
  on the lower vnode, and reclaim upper vnode if so.  This allows
  nullfs to purge cached vnodes for the unlinked lower vnode, avoiding
  excessive caching.

Revision 9393 - Directory Listing - [select for diffs]
Modified Sat Mar 4 21:27:20 2017 UTC (7 years, 2 months ago) by laffer1
Diff to previous 9330
Do a sync of the devvp vnode for the mount, which buffers, among other
things, contain FAT blocks.  This makes fsync(2) for msdosfs more correct
by syncing the metadata needed to read the synced data.

Revision 9330 - Directory Listing - [select for diffs]
Modified Sat Mar 4 15:59:04 2017 UTC (7 years, 2 months ago) by laffer1
Diff to previous 9329
When an NFS unmount occurs, once vflush() writes the last dirty
buffer for the last vnode on the mount back to the server, it
returns. At that point, the code continues with the unmount,
including freeing up the nfs specific part of the mount structure.
It is possible that an nfsiod thread will try to check for an
empty I/O queue in the nfs specific part of the mount structure
after it has been free'd by the unmount. This patch avoids this problem by
setting the iodmount entries for the mount back to NULL while holding the
mutex in the unmount and checking the appropriate entry is non-NULL after
acquiring the mutex in the nfsiod thread.

Obtained from: FreeBSD svn 250258

Revision 9329 - Directory Listing - [select for diffs]
Modified Sat Mar 4 15:58:07 2017 UTC (7 years, 2 months ago) by laffer1
Diff to previous 9033
Both NFS clients can deadlock when using the "rdirplus" mount
option. This can occur when an nfsiod thread that already holds
a buffer lock attempts to acquire a vnode lock on an entry in
the directory (a LOR) when another thread holding the vnode lock
is waiting on an nfsiod thread. This patch avoids the deadlock by disabling
readahead for this case, so the nfsiod threads never do readdirplus.
Since readaheads for directories need the directory offset cookie
from the previous read, they cannot normally happen in parallel.
As such, testing by jhb@ and myself didn't find any performance
degredation when this patch is applied. If there is a case where
this results in a significant performance degradation, mounting
without the "rdirplus" option can be done to re-enable readahead
for directories.

Obtained from: FreeBSD svn 250257

Revision 9033 - Directory Listing - [select for diffs]
Modified Sat Oct 1 09:52:13 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 9031
mark malloc defines static that have no malloc declares.

Revision 9031 - Directory Listing - [select for diffs]
Modified Sat Oct 1 09:46:22 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 9030
release teh v_writecount ref on the vnode in case of error.

Revision 9030 - Directory Listing - [select for diffs]
Modified Sat Oct 1 09:45:48 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 9006
strip the unneeded spaces, mostly at the end of lines.

Revision 9006 - Directory Listing - [select for diffs]
Modified Fri Sep 30 01:44:32 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8932
remove negative name cache entry pointing to target name.

Revision 8932 - Directory Listing - [select for diffs]
Modified Mon Sep 26 23:02:42 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8890
mark SYSCTL nodes static

Revision 8890 - Directory Listing - [select for diffs]
Modified Mon Sep 26 22:27:57 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8878
do not update the fsinfo block on each update of any fat block. postpone the flus to vfs sync

Revision 8878 - Directory Listing - [select for diffs]
Modified Mon Sep 26 22:19:24 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8862
remove unused macro

Revision 8862 - Directory Listing - [select for diffs]
Modified Mon Sep 26 13:06:28 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8860
timestap fixes for NFS.

Revision 8860 - Directory Listing - [select for diffs]
Modified Mon Sep 26 13:04:34 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8815
more properly handle interrupted NFS requests on an interruptible mount by rewturning an error of EINTER rather than EACCESS.

Revision 8815 - Directory Listing - [select for diffs]
Modified Mon Sep 26 03:37:52 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8797
ext2fs: misc cleanup.

Revision 8797 - Directory Listing - [select for diffs]
Modified Mon Sep 26 03:25:36 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8796
stop translating the ERRESTART error from the open(2) into EINTR. Posix requires that open(2) is restartable for SA_RESTART.

Revision 8796 - Directory Listing - [select for diffs]
Modified Mon Sep 26 03:23:43 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8795
ext2fs: misc cleanup. Correct off by one error

Revision 8795 - Directory Listing - [select for diffs]
Modified Mon Sep 26 03:23:12 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8783
Remove unused member of struct indir (in_exists)

Revision 8783 - Directory Listing - [select for diffs]
Modified Mon Sep 26 03:10:49 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8764
ext2fs: general cleanups.

Revision 8764 - Directory Listing - [select for diffs]
Modified Mon Sep 26 02:43:38 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8763
Use MNT_SYNCHRONOUS to decide to write the FAT updates

Revision 8763 - Directory Listing - [select for diffs]
Modified Mon Sep 26 02:43:05 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8762
Backup FATs were sometimes marked dirty by copying their first block from the primary FAT, and then not marked clean. Force them to be clean

Revision 8762 - Directory Listing - [select for diffs]
Modified Mon Sep 26 02:42:07 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8761
Fix the corruption of the .. entry for a directory moved to a subdir of the root on fat32

Revision 8761 - Directory Listing - [select for diffs]
Modified Mon Sep 26 02:41:40 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8760
The mountmsdosfs function had an insane sanity test

Revision 8760 - Directory Listing - [select for diffs]
Modified Mon Sep 26 02:41:17 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8759
Fix a backwards comment in markvoldirty()

Revision 8759 - Directory Listing - [select for diffs]
Modified Mon Sep 26 02:40:48 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8756
assert that the mbuf in the chain has a sane length.

Revision 8756 - Directory Listing - [select for diffs]
Modified Mon Sep 26 02:38:54 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8749
revert some devfs code.

Revision 8749 - Directory Listing - [select for diffs]
Modified Mon Sep 26 02:34:48 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8718
Revamp the CAM enclose services driver. This driver uses an in kernel daemon to track state changes.

Revision 8718 - Directory Listing - [select for diffs]
Modified Sun Sep 25 22:27:52 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8693
be conservative and do not try to consume more bytes than was requested.

Revision 8693 - Directory Listing - [select for diffs]
Modified Sun Sep 25 22:09:30 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8678
make it possible to force async server side on NFS server.

Revision 8678 - Directory Listing - [select for diffs]
Modified Sun Sep 25 21:59:48 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8666
ext2fs: make some inode fields match spec

Revision 8666 - Directory Listing - [select for diffs]
Modified Sun Sep 25 20:32:40 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8650
disable the reallocation code. testing with fsx has revealed problems and in order to hunt the bugs reduce complexity.

Revision 8650 - Directory Listing - [select for diffs]
Modified Sun Sep 25 20:00:44 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8644
ext2fs: add some DOINGASYNC checks to match ffs.

Revision 8644 - Directory Listing - [select for diffs]
Modified Sun Sep 25 18:19:57 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8642
remove the filtering of the acceptable mount oipitons for nullfs

Revision 8642 - Directory Listing - [select for diffs]
Modified Sun Sep 25 18:19:08 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8612
size the nullfs hashtbl based on the current value of desiredvnodes.

Revision 8612 - Directory Listing - [select for diffs]
Modified Sun Sep 25 17:36:39 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8610
cleanup the dinode structure.

Revision 8610 - Directory Listing - [select for diffs]
Modified Sun Sep 25 17:35:08 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8609
add the nocache nullfs mount option. fix reversed condition in the assertion

Revision 8609 - Directory Listing - [select for diffs]
Modified Sun Sep 25 17:34:36 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8579
when nullfs mount is forcibly unmounted and nullfs vnode is reclaimed.

Revision 8579 - Directory Listing - [select for diffs]
Modified Mon Sep 19 16:15:37 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8550
do not force a writer to the devfs file to drain buffer writes.

Revision 8550 - Directory Listing - [select for diffs]
Modified Mon Sep 19 14:30:50 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8547
more constatn renaming in pref for newer featues.

Revision 8547 - Directory Listing - [select for diffs]
Modified Mon Sep 19 14:03:00 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8546
 fix how we handle v_writecount

Revision 8546 - Directory Listing - [select for diffs]
Modified Mon Sep 19 14:02:17 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8545
fix the mis-handling of teh VV_TEXT on the nullfs vnodes.

Revision 8545 - Directory Listing - [select for diffs]
Modified Mon Sep 19 14:01:52 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8544
this is impossible.

Revision 8544 - Directory Listing - [select for diffs]
Modified Mon Sep 19 14:01:28 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8484
allow shared lookups for nullfs mounts.

Revision 8484 - Directory Listing - [select for diffs]
Modified Sun Sep 18 22:34:10 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8474
add nfssvc option to the kernel which dumps options

Revision 8474 - Directory Listing - [select for diffs]
Modified Sun Sep 18 22:26:32 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8471
sync a bit with netbsd

Revision 8471 - Directory Listing - [select for diffs]
Modified Sun Sep 18 22:25:22 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8313
add two new options to the nfssvc(2) syscall that allow processes running as root to suspend and resume execution of nfsd

Revision 8313 - Directory Listing - [select for diffs]
Modified Sat Sep 17 22:32:57 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8156
allow zfs export of tmpfs

Revision 8156 - Directory Listing - [select for diffs]
Modified Fri Sep 16 22:24:50 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8155
modify nfsv4 client so that it can handle owner and owner_group strings that consist entirely of digits

Revision 8155 - Directory Listing - [select for diffs]
Modified Fri Sep 16 22:23:36 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8154
partial revert of last commit

Revision 8154 - Directory Listing - [select for diffs]
Modified Fri Sep 16 22:22:46 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8136
fix pseudo checksum calculation. this fixes ipfilter with network controllers that mplement partial rx csum offload

Revision 8136 - Directory Listing - [select for diffs]
Modified Fri Sep 16 21:51:31 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8122
strealine use  of cdevpriv

Revision 8122 - Directory Listing - [select for diffs]
Modified Fri Sep 16 21:41:00 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8087
deal with printf better

Revision 8087 - Directory Listing - [select for diffs]
Modified Thu Sep 15 22:43:25 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8029
deadfs VOPs for vop_ioctl and vop_bmap call itself recursively, which is an elaborate way to cause kernel panic. change the vops implementation to return EBADF for a reclaimed vnode.

Revision 8029 - Directory Listing - [select for diffs]
Modified Thu Sep 15 20:29:11 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 8019
stop including vm_param.h into vm_page.h explicitly include it later

Revision 8019 - Directory Listing - [select for diffs]
Modified Thu Sep 15 20:12:21 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 7934
do not need this header

Revision 7934 - Directory Listing - [select for diffs]
Modified Wed Sep 14 21:13:14 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 7932
enable deadlock avoidance code for NFS client

Revision 7932 - Directory Listing - [select for diffs]
Modified Wed Sep 14 21:11:54 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 7931
do not override an error from uiomove with non error results from bwrite

Revision 7931 - Directory Listing - [select for diffs]
Modified Wed Sep 14 21:11:09 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 7930
improve handling of uiomove(9) errors for the NFS client.

Revision 7930 - Directory Listing - [select for diffs]
Modified Wed Sep 14 21:09:43 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 7912
Extend the KPI to lock and unlock f_offset member of struct file.  It
now fully encapsulates all accesses to f_offset, and extends f_offset
locking to other consumers that need it, in particular, to lseek() and
variants of getdirentries().

Revision 7912 - Directory Listing - [select for diffs]
Modified Wed Sep 14 19:36:54 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 7907
remove cvs2svn prop

Revision 7907 - Directory Listing - [select for diffs]
Modified Wed Sep 14 19:20:53 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 7886
add htree related items

Revision 7886 - Directory Listing - [select for diffs]
Modified Wed Sep 14 16:55:53 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 7804
reduce code duplication.

Revision 7804 - Directory Listing - [select for diffs]
Modified Tue Sep 6 02:56:10 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 7800
In pget(9), if PGET_NOTWEXIT flag is not specified, also search the
zombie list for the pid. This allows several kern.proc sysctls to
report useful information for zombies.

Hold the allproc_lock around all searches instead of relocking it.
Remove private pfind_locked() from the new nfs client code.

Look for zombie process only if we were given process id.

Obtained from: FreeBSD

Revision 7800 - Directory Listing - [select for diffs]
Modified Mon Sep 5 19:36:58 2016 UTC (7 years, 8 months ago) by laffer1
Diff to previous 6632
ext2fs fix

While a file is first being written, the dynamic block reallocation realocates t
he file's blocks so as to cluster them together into a contiguous set of blocks
on the disk.

When the cluster crosses the boundary into the first indirect block, the first i
ndirect block is initially allocated in a position immediately following the las
t direct block. Block reallocation would usually destroy locality by moving the
indirect block of the way to keep the data blocks contiguous.

Obtained from: FreeBSD svn 243913

Revision 6632 - Directory Listing - [select for diffs]
Modified Wed Apr 9 11:46:01 2014 UTC (10 years, 1 month ago) by laffer1
Diff to previous 6425
fix a deadlock in nfs server

Revision 6425 - Directory Listing - [select for diffs]
Modified Sat Nov 30 22:34:04 2013 UTC (10 years, 5 months ago) by laffer1
Diff to previous 6032
reset props for svn keywords

Revision 6032 - Directory Listing - [select for diffs]
Modified Tue Sep 10 23:03:58 2013 UTC (10 years, 8 months ago) by laffer1
Diff to previous 5941
Security updates in nullfs and ifioctl

Revision 5941 - Directory Listing - [select for diffs]
Modified Thu Jul 18 02:38:15 2013 UTC (10 years, 10 months ago) by laffer1
Diff to previous 5879
default to DT_CHR

Revision 5879 - Directory Listing - [select for diffs]
Modified Mon Apr 29 22:28:19 2013 UTC (11 years ago) by laffer1
Diff to previous 5677
Fix a security vulnerability in nfsserver which can allow clients who send malformed requests (readdir) with a file as the path can corrupt memory or do other nasty things.

Fix obtained from: FreeBSD

Revision 5677 - Directory Listing - [select for diffs]
Modified Thu Jan 17 23:29:42 2013 UTC (11 years, 4 months ago) by laffer1
Diff to previous 5625
Fix IPv6 problems.

Make some things in ATA & cam constant.

Fix some bugs in geom

Remove unused files.

Tag.

Revision 5625 - Directory Listing - [select for diffs]
Modified Sun Jan 6 17:29:31 2013 UTC (11 years, 4 months ago) by laffer1
Diff to previous 5620
sync

Revision 5620 - Directory Listing - [select for diffs]
Modified Sat Jan 5 22:27:02 2013 UTC (11 years, 4 months ago) by laffer1
Diff to previous 5234
FreeBSD 9 version

Revision 5234 - Directory Listing - [select for diffs]
Modified Tue Oct 9 04:08:21 2012 UTC (11 years, 7 months ago) by laffer1
Diff to previous 5100
sync with freebsd 9 stable.

Revision 5100 - Directory Listing - [select for diffs]
Modified Mon Aug 6 01:24:57 2012 UTC (11 years, 9 months ago) by laffer1
Diff to previous 5076
merge

Revision 5076 - Directory Listing - [select for diffs]
Modified Sat Jul 21 15:17:36 2012 UTC (11 years, 10 months ago) by laffer1
Diff to previous 4831
This commit was generated by cvs2svn to compensate for changes in r5075,
which included commits to RCS files with non-trunk default branches.
Revision 4831 - Directory Listing - [select for diffs]
Modified Mon Apr 9 23:02:44 2012 UTC (12 years, 1 month ago) by laffer1
Diff to previous 4830
remove advisory lock hack

Revision 4830 - Directory Listing - [select for diffs]
Modified Mon Apr 9 23:01:45 2012 UTC (12 years, 1 month ago) by laffer1
Diff to previous 4826
remove license clauses 3 & 4 per change in terms from NetBSD

Revision 4826 - Directory Listing - [select for diffs]
Modified Mon Apr 9 16:38:24 2012 UTC (12 years, 1 month ago) by laffer1
Diff to previous 4775
Change how tmpfs calculates available pages.

This stops a lot of problems with ZFS enabled and small swap sizes.

Obtained from: FreeBSD (svn 227802)

Revision 4775 - Directory Listing - [select for diffs]
Modified Sat Mar 31 17:00:27 2012 UTC (12 years, 1 month ago) by laffer1
Diff to previous 4723
Sync file systems with upcoming changes to vm and vfs

Revision 4723 - Directory Listing - [select for diffs]
Modified Fri Mar 16 02:02:53 2012 UTC (12 years, 2 months ago) by laffer1
Diff to previous 4672
Fix several issues with unionfs including access via threads, including devfs and and sockets on a md with a unionfs mount.

Revision 4672 - Directory Listing - [select for diffs]
Modified Fri Mar 9 00:20:24 2012 UTC (12 years, 2 months ago) by laffer1
Diff to previous 4494
st_atimespec, st_mtimespec, st_birthtimespec etc have been renamed to follow POSIX 2008 specification.

Revision 4494 - Directory Listing - [select for diffs]
Modified Thu Dec 29 03:55:21 2011 UTC (12 years, 4 months ago) by laffer1
Diff to previous 4216
MPSAFE sysctl's

Revision 4216 - Directory Listing - [select for diffs]
Modified Sat Oct 15 20:50:43 2011 UTC (12 years, 7 months ago) by laffer1
Diff to previous 4214
Minor bugfixes to cd9660

Revision 4214 - Directory Listing - [select for diffs]
Modified Sat Oct 15 05:31:09 2011 UTC (12 years, 7 months ago) by laffer1
Diff to previous 4213
perform cleanup on error case.

Revision 4213 - Directory Listing - [select for diffs]
Modified Sat Oct 15 05:18:45 2011 UTC (12 years, 7 months ago) by laffer1
Diff to previous 4203
timezone value is signed.

Revision 4203 - Directory Listing - [select for diffs]
Modified Sun Oct 9 22:03:38 2011 UTC (12 years, 7 months ago) by laffer1
Diff to previous 4017
Supply unique st_dev, st_ino value pair for fstat(2) on pipes.  This is required with sus4 and fixes compatibility problems with several linux centric daemons. This is a port from FreeBSD 10-CURRENT.

Filter out some bad traffic with ipv6 /ipfw.

Revision 4017 - Directory Listing - [select for diffs]
Modified Sun Jul 10 20:44:06 2011 UTC (12 years, 10 months ago) by laffer1
Diff to previous 3909
kdb_enter_why

Revision 3909 - Directory Listing - [select for diffs]
Modified Thu Apr 14 04:04:02 2011 UTC (13 years, 1 month ago) by laffer1
Diff to previous 3886
Handle the special ruleset 0 in devfs_ruleset_use(). An attempt set the
current ruleset to 0 with command "devfs ruleset 0" triggered a KASSERT
in devfs_ruleset_create().

Revision 3886 - Directory Listing - [select for diffs]
Modified Sun Mar 13 21:43:59 2011 UTC (13 years, 2 months ago) by laffer1
Diff to previous 3554
Bring in two large changes from FreeBSD 7.1:

* DRM/DRI update for direct rendering on X.  This is a large update to support newer ATI and Intel graphics adapters with acceleration. This was original ported from Linux (it's not GPL)
* cdev per open file data.

Implement the per-open file data for the cdev.

 The patch does not change the cdevsw KBI. Management of the data is
 provided by the functions
 int     devfs_set_cdevpriv(void *priv, cdevpriv_dtr_t dtr);
 int     devfs_get_cdevpriv(void **datap);
 void    devfs_clear_cdevpriv(void);
 All of the functions are supposed to be called from the cdevsw method
 contexts.

 - devfs_set_cdevpriv assigns the priv as private data for the file
   descriptor which is used to initiate currently performed driver
   operation. dtr is the function that will be called when either the
   last refernce to the file goes away, the device is destroyed  or
   devfs_clear_cdevpriv is called.
 - devfs_get_cdevpriv is the obvious accessor.
 - devfs_clear_cdevpriv allows to clear the private data for the still
   open file.

 Implementation keeps the driver-supplied pointers in the struct
 cdev_privdata, that is referenced both from the struct file and struct
 cdev, and cannot outlive any of the referee.

Obtained from: FreeBSD

Revision 3554 - Directory Listing - [select for diffs]
Modified Thu Nov 11 13:28:11 2010 UTC (13 years, 6 months ago) by laffer1
Diff to previous 3391
don't try to unlock a mutex that wasn't locked.  FreeBSD SA 10:09

Revision 3391 - Directory Listing - [select for diffs]
Modified Sat Mar 27 22:39:14 2010 UTC (14 years, 1 month ago) by laffer1
Diff to previous 3207
when vget fails because the vnode has been reclaimed, don't bother looping.

Revision 3207 - Directory Listing - [select for diffs]
Modified Sun Dec 13 01:09:44 2009 UTC (14 years, 5 months ago) by laffer1
Diff to previous 3128
Add the fdclone KPI.  fdclone was originally developed for FreeBSD7-CURRENT by Kostik Belousov and Peter Holm.

This was developed to allow drivers to clone on open(2).  The cloned cdev is
not accessible for lookup through devfs and is destroyed automatically.

The implementation is based on version 9 of Kostik's patch.  I've also included
a sample program in share/examples/kld/fdclone on use.

$MidnightBSD$ tagged in share/examples/kld

Revision 3128 - Directory Listing - [select for diffs]
Modified Sun Oct 11 02:54:39 2009 UTC (14 years, 7 months ago) by laffer1
Diff to previous 3127
this should stop one of the two attacks on devfs found in freebsd

Revision 3127 - Directory Listing - [select for diffs]
Modified Sat Oct 10 17:19:59 2009 UTC (14 years, 7 months ago) by laffer1
Diff to previous 2725
back out the unicode friendly patch for now.  it's not 64bit clean and i don't have time to dig through it

Revision 2725 - Directory Listing - [select for diffs]
Modified Mon Mar 30 18:20:43 2009 UTC (15 years, 1 month ago) by laffer1
Diff to previous 2724
support chinese characters, etc.

Revision 2724 - Directory Listing - [select for diffs]
Modified Mon Mar 30 18:19:40 2009 UTC (15 years, 1 month ago) by laffer1
Diff to previous 2333
support utf8 including some chinese characters.

Revision 2333 - Directory Listing - [select for diffs]
Modified Wed Dec 3 00:25:56 2008 UTC (15 years, 5 months ago) by laffer1
Diff to previous 1856
$MidnightBSD$

Revision 1856 - Directory Listing - [select for diffs]
Modified Sat Sep 20 00:44:24 2008 UTC (15 years, 8 months ago) by laffer1
Diff to previous 1379
sync with FreeBSD

Revision 1379 - Directory Listing - [select for diffs]
Modified Fri Feb 22 02:50:56 2008 UTC (16 years, 3 months ago) by laffer1
Diff to previous 1133
Remove the hpfs file system.

Revision 1133 - Directory Listing - [select for diffs]
Modified Thu Aug 2 08:33:00 2007 UTC (16 years, 9 months ago) by laffer1
Diff to previous 1122
Fix interaction with Windows 2000/XP servers.  If a newly created directory has exactly 50 entries, an error is generated as smbfs grabs 52 items at a time.  With . and .. this is 52.  It then returns on the second trip and causes some apps like rsync to generate errors.

Revision 1122 - Directory Listing - [select for diffs]
Modified Tue Jul 31 05:24:05 2007 UTC (16 years, 9 months ago) by laffer1
Diff to previous 1032
Remove umapfs.  It is seriously broken.

Revision 1032 - Directory Listing - [select for diffs]
Modified Mon Jul 16 03:00:45 2007 UTC (16 years, 10 months ago) by laffer1
Diff to previous 1029
 Back this out as well.

Revision 1029 - Directory Listing - [select for diffs]
Modified Mon Jul 16 00:07:50 2007 UTC (16 years, 10 months ago) by laffer1
Diff to previous 1028
$MidnightBSD$

Revision 1028 - Directory Listing - [select for diffs]
Modified Sun Jul 15 23:46:05 2007 UTC (16 years, 10 months ago) by laffer1
Diff to previous 1027
Free resources.

Revision 1027 - Directory Listing - [select for diffs]
Modified Sun Jul 15 23:42:46 2007 UTC (16 years, 10 months ago) by laffer1
Diff to previous 892
fixes page fault on flash msdosfs

Revision 892 - Directory Listing - [select for diffs]
Modified Tue Apr 3 14:42:19 2007 UTC (17 years, 1 month ago) by laffer1
Diff to previous 890
Prevent a panic by checking for NULL and print a message to that effect.

Revision 890 - Directory Listing - [select for diffs]
Modified Tue Apr 3 13:30:31 2007 UTC (17 years, 1 month ago) by laffer1
Diff to previous 658
Remove bandaid.

Giant was locked on calls to sorecieve() and sosend() to fix a race condition which shouldn't be a problem anymore.

Revision 658 - Directory Listing - [select for diffs]
Modified Sat Jan 13 18:57:10 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 631
If fifo_open() is called with a negative file descriptor, return EINVAL.

Revision 631 - Directory Listing - [select for diffs]
Modified Sat Jan 13 15:46:38 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 630
VFS SMP fixes, stack api, softupdates fixes.

Revision 630 - Directory Listing - [select for diffs]
Modified Sat Jan 13 15:43:50 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 629
VFS SMP fixes, stack api, softupdate fixes.

1.160.2.2 FBSD equivalent.

Revision 629 - Directory Listing - [select for diffs]
Modified Sat Jan 13 15:39:13 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 623
VFS SMP fixes, stack api, softupdates fixes.

Revision 623 - Directory Listing - [select for diffs]
Modified Sat Jan 13 15:11:38 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 622
Call vfs_destroy_object() before v_data gets set to NULL

Revision 622 - Directory Listing - [select for diffs]
Modified Sat Jan 13 15:08:44 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 587
Call vfs_destroy_object() beofre v_data gets set to NULL

Revision 587 - Directory Listing - [select for diffs]
Modified Sat Jan 13 00:02:53 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 547
Sync with FreeBSD 6.1 Release.

Introduce several patches to stop potential deadlocks with snapshots.  Clean up the vm code.

Revision 547 - Directory Listing - [select for diffs]
Modified Sun Jan 7 04:26:25 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 545
Change pfs_visible() to optionally return with the process still locked to simply locking and close some race conditions.

Revision 545 - Directory Listing - [select for diffs]
Modified Sun Jan 7 04:22:54 2007 UTC (17 years, 4 months ago) by laffer1
Diff to previous 333
Hold the proc lock while calling proc_sstep().

Revision 333 - Directory Listing - [select for diffs]
Modified Wed Nov 29 17:09:59 2006 UTC (17 years, 5 months ago) by laffer1
Diff to previous 332
Minor adjustment on the value for "short filename" situations to match freebsd's behavior.  Using -1 makes more sense.

Revision 332 - Directory Listing - [select for diffs]
Modified Wed Nov 29 04:31:24 2006 UTC (17 years, 5 months ago) by laffer1
Diff to previous 331
The original patch falsely assumed time_t.

Revision 331 - Directory Listing - [select for diffs]
Modified Wed Nov 29 03:04:33 2006 UTC (17 years, 5 months ago) by laffer1
Diff to previous 265
Correct file creation timestamp.

Revision 265 - Directory Listing - [select for diffs]
Modified Thu Oct 12 20:52:33 2006 UTC (17 years, 7 months ago) by laffer1
Diff to previous 45
Fix memory leak in UDF.

Revision 45 - Directory Listing - [select for diffs]
Modified Fri Aug 4 12:57:36 2006 UTC (17 years, 9 months ago) by laffer1
Diff to previous 6
Fixed a bug in smbfs where an attacker can escape a chroot environment.  See FreeBSD-SA-06:16.smbfs

Revision 6 - Directory Listing - [select for diffs]
Modified Sat Feb 25 02:38:42 2006 UTC (18 years, 2 months ago) by laffer1
Diff to previous 3
This commit was generated by cvs2svn to compensate for changes in r5, which
included commits to RCS files with non-trunk default branches.
Revision 3 - Directory Listing - [select for diffs]
Added Sat Feb 25 02:29:52 2006 UTC (18 years, 2 months ago) by laffer1
This commit was generated by cvs2svn to compensate for changes in r2, which
included commits to RCS files with non-trunk default branches.

Convenience Links