| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
allow an attacker to escape from a chroot(2).
Security: FreeBSD-SA-06:16.smbfs
Notes:
svn path=/stable/4/; revision=159119
|
|
|
|
|
|
|
|
|
| |
created with the same name, and vice versa.
PR: 62342
Notes:
svn path=/stable/4/; revision=126281
|
|
|
|
|
|
|
| |
function smb_smb_flush().
Notes:
svn path=/stable/4/; revision=125132
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add support for SMB signing, which is required to connect to
Windows 2003 servers.
- Add support for mixed-case passwords.
- Add support for large (up to 64K) READ_ANDX/WRITE_ANDX requests.
- Increase TCP send/receive queue size to support these large requests.
- Receive packets in small pieces so TCP slowstart will get ACKs faster.
- Fix off-by-one bug preventing access to servers with NetBIOS names
exactly 15 characters long.
- Allow the [, ], and = characters in non-8.3 filenames.
- Only close files on the server when there are no more references to
the vnode; makes mmap()'d regions work properly after the local
file descriptor has been closed.
- Fix mishandling of files >4GB.
- Diff reduction to make future merges easier.
PR: 36038 46902 57123
Notes:
svn path=/stable/4/; revision=124328
|
|
|
|
|
|
|
|
|
|
|
| |
smbfs_rename(). One of the vnodes is on different mount and is possibly on
a different kind of filesystem; treating it as an smbfs vnode then writing
to it will probably corrupt it.
PR: 48381
Notes:
svn path=/stable/4/; revision=113062
|
|
|
|
|
|
|
|
| |
vnode op for the case where the caller requests to change access or
modification times.
Notes:
svn path=/stable/4/; revision=110487
|
|
|
|
|
|
|
|
|
|
|
|
| |
smbnode to avoid a use-after-free bug causing a panic when a smbfs mount
is forcefully unmounted.
Keep trying to flush the vnode list for the mount while some are still
busy and we are making progress towards making them not busy. This stops
attempts to unmount idle smbfs mounts failing with EBUSY.
Notes:
svn path=/stable/4/; revision=109415
|
|
|
|
|
|
|
| |
Temporarily bandaid against UIO_NOCOPY case.
Notes:
svn path=/stable/4/; revision=95775
|
|
|
|
| |
Notes:
svn path=/stable/4/; revision=95238
|
|
|
|
|
|
|
|
|
| |
back usable.
Approved by: rwatson, murray
Notes:
svn path=/stable/4/; revision=89401
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* LK_TIMEOUT lock flag to separate lock acquisition with and without
a timeout (dillon)
* use of LK_TIMEOUT in BUF_TIMELOCK to avoid timeout race aginst
BUF_LOCK (dillon)
* use of LK_TIMEOUT in pageout vget() code to avoid deadlock (dillon)
* move vnode reclaim into its own kthread to avoid deadlocks (Yahoo)
* remove 'VXLOCK interlock avoided' messages.. they can occur
under normal operation and create a choking hazzard on the console.
* Adjust VMIGHTFREE macro used with vnode reclaim code to avoid
eating large amounts of cpu with little to show for it in certain
situations.
* Add VREF/VRELE around UFS_UPDATE() call to avoid update/reclaim
race (note: snuck in at last minute but I accidently did a partial
commit a moment ago and the tree is broken until I commit the rest
of it). This is minor and will be tested heavily.
Approved by: Release Engineers
Notes:
svn path=/stable/4/; revision=88467
|
|
|
|
|
|
|
|
| |
This applies bit of poetic license to the approval we have from
<re@FreeBSD.org> to get smbfs into 4.5-RELEASE.
Notes:
svn path=/stable/4/; revision=88281
|
|
|
|
|
|
|
| |
messages at unmount time
Notes:
svn path=/stable/4/; revision=88264
|
|
|
|
| |
Notes:
svn path=/stable/4/; revision=88256
|
|
|
|
|
|
|
| |
for scaleability fixes for machines with >= 2G of ram coming down the pipe.
Notes:
svn path=/stable/4/; revision=85499
|
|
|
|
|
|
|
| |
Approved by: jkh
Notes:
svn path=/stable/4/; revision=82861
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
extra references on the filesystem root vnode. This fixes bugs in
a number of filesystems that could cause forced umounts to erroneously
return EBUSY, and it centralises a lot of xxx_unmount logic.
This unfortunately requires the recompilation of any filesystem
KLDs, although I have added an extra sanity check that should help
to avoid panics if old modules are used (the filesystem may refuse
to umount, and if so, a warning message will appear on the console).
Not objected to by: -stable
Notes:
svn path=/stable/4/; revision=80411
|
|
|
|
| |
Notes:
svn path=/stable/4/; revision=76983
|
|
|
|
| |
Notes:
svn path=/stable/4/; revision=76914
|
|
|
|
| |
Notes:
svn path=/stable/4/; revision=76528
|
|
|
|
|
|
|
| |
could get hpfs compiled and run.
Notes:
svn path=/stable/4/; revision=76277
|
|
|
|
| |
Notes:
svn path=/stable/4/; revision=75603
|
|
|
|
| |
Notes:
svn path=/stable/4/; revision=57955
|
|
|
|
|
|
|
|
|
|
| |
PR: misc/12992
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) and
Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
Reviewed by: Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
Notes:
svn path=/head/; revision=56674
|
|
|
|
|
|
|
|
|
| |
prettier (?) names, adding some const's around here, et al.
Reviewed by: bde
Notes:
svn path=/head/; revision=56272
|
|
|
|
|
|
|
| |
an SMP system.
Notes:
svn path=/head/; revision=56034
|
|
|
|
| |
Notes:
svn path=/head/; revision=56033
|
|
|
|
| |
Notes:
svn path=/head/; revision=55991
|
|
|
|
|
|
|
| |
__FreeBSD_version succeeds.
Notes:
svn path=/head/; revision=55989
|
|
|
|
| |
Notes:
svn path=/head/; revision=55765
|
|
|
|
|
|
|
| |
Suggested by: bde
Notes:
svn path=/head/; revision=55756
|
|
|
|
|
|
|
|
|
|
| |
Prevent overflows by casting uio_offset to uoff_t.
Return correct error number if directory entry is broken.
Reviewed by: bde
Notes:
svn path=/head/; revision=55594
|
|
|
|
| |
Notes:
svn path=/head/; revision=55311
|
|
|
|
|
|
|
|
|
| |
Fix potential bug with directory reading.
Explicitly limit file size to 4GB (msdos can't handle larger files).
Slightly reorganize msdosfs_read() to reduce number of 'if's.
Notes:
svn path=/head/; revision=55308
|
|
|
|
|
|
|
|
|
| |
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot). This is consistant with the other
BSD's who made this change quite some time ago. More commits to come.
Notes:
svn path=/head/; revision=55206
|
|
|
|
| |
Notes:
svn path=/head/; revision=55190
|
|
|
|
|
|
|
|
|
|
|
| |
with size > 2GB.
PR: 15639
Submitted by: Tim Kientzle <kientzle@acm.org>
Reviewed by: phk
Notes:
svn path=/head/; revision=55189
|
|
|
|
|
|
|
|
|
|
|
| |
will exceed FAT capacity. This will lead to kernel panic while other
systems just limit number of clusters.
PR: 4381, 15136
Reviewed by: phk
Notes:
svn path=/head/; revision=55188
|
|
|
|
|
|
|
|
| |
PR: 15696
Submitted by: Takashi Okumura <taka@cs.pitt.edu>
Notes:
svn path=/head/; revision=55153
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the creation time for files to the uninitialized value:
vap->va_ctime = vap->va_ctime;
Changed to what was intended, assigning it to the modification time (thus
making all three values of access time, modification time and creation time
the same thing).
Reviewed by: grog
Notes:
svn path=/head/; revision=54932
|
|
|
|
| |
Notes:
svn path=/head/; revision=54908
|
|
|
|
|
|
|
|
|
|
| |
calls, vnops, vfsops, both in /kern, and to individual file systems that
require a vfsop_ array entry.
Reviewed by: eivind
Notes:
svn path=/head/; revision=54803
|
|
|
|
| |
Notes:
svn path=/head/; revision=54655
|
|
|
|
| |
Notes:
svn path=/head/; revision=54519
|
|
|
|
| |
Notes:
svn path=/head/; revision=54479
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lockstatus() and VOP_ISLOCKED() gets a new process argument and a new
return value: LK_EXCLOTHER, when the lock is held exclusively by another
process.
* The ASSERT_VOP_(UN)LOCKED family is extended to use what this gives them
* Extend the vnode_if.src format to allow more exact specification than
locked/unlocked.
This commit should not do any semantic changes unless you are using
DEBUG_VFS_LOCKS.
Discussed with: grog, mch, peter, phk
Reviewed by: peter
Notes:
svn path=/head/; revision=54444
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
maps onto the upages. We used to use this extensively, particularly
for ps and gdb. Both of these have been "fixed". ps gets the p_stats
via eproc along with all the other stats, and gdb uses the regs, fpregs
etc files.
Once apon a time the UPAGES were mapped here, but that changed back
in January '96. This essentially kills my revisions 1.16 and 1.17.
The 2-page "hole" above the stack can be reclaimed now.
Notes:
svn path=/head/; revision=54424
|
|
|
|
| |
Notes:
svn path=/head/; revision=54371
|
|
|
|
|
|
|
| |
Obtained from: http://bogon.freebsd.dk/include
Notes:
svn path=/head/; revision=54292
|
|
|
|
|
|
|
| |
its just a number of new ioctl's, the rest is done in userland.
Notes:
svn path=/head/; revision=54272
|