aboutsummaryrefslogtreecommitdiff
path: root/sys/netsmb/smb_conn.h
Commit message (Collapse)AuthorAgeFilesLines
* Overhaul locking in netsmb, getting rid of the obsolete lockmgr() primitive.Davide Italiano2013-05-041-17/+17
| | | | | | | | | This solves a long standing LOR between smb_conn and smb_vc. Tested by: martymac, pho (previous version) Notes: svn path=/head/; revision=250237
* Add unicode support to msdosfs and smbfs; original pathes from imura,Kevin Lo2011-11-181-0/+6
| | | | | | | | | bug fixes by Kuan-Chung Chiu <buganini at gmail dot com>. Tested by me in production for several days at work. Notes: svn path=/head/; revision=227650
* Switch to our preferred 2-clause BSD license.Joel Dahl2010-04-071-6/+0
| | | | | | | Approved by: bp Notes: svn path=/head/; revision=206361
* Catch up internal locking routines in netsmb with lockmgr changes --Robert Watson2008-11-021-6/+6
| | | | | | | explicit thread arguments are no longer required in many places. Notes: svn path=/head/; revision=184571
* Remove unused vc_tnode field from struct smb_vc.Robert Watson2008-03-101-1/+0
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=177031
* - Handle buffer lock waiters count directly in the buffer cache insteadAttilio Rao2008-03-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | than rely on the lockmgr support [1]: * bump the waiters only if the interlock is held * let brelvp() return the waiters count * rely on brelvp() instead than BUF_LOCKWAITERS() in order to check for the waiters number - Remove a namespace pollution introduced recently with lockmgr.h including lock.h by including lock.h directly in the consumers and making it mandatory for using lockmgr. - Modify flags accepted by lockinit(): * introduce LK_NOPROFILE which disables lock profiling for the specified lockmgr * introduce LK_QUIET which disables ktr tracing for the specified lockmgr [2] * disallow LK_SLEEPFAIL and LK_NOWAIT to be passed there so that it can only be used on a per-instance basis - Remove BUF_LOCKWAITERS() and lockwaiters() as they are no longer used This patch breaks KPI so __FreBSD_version will be bumped and manpages updated by further commits. Additively, 'struct buf' changes results in a disturbed ABI also. [2] Really, currently there is no ktr tracing in the lockmgr, but it will be added soon. [1] Submitted by: kib Tested by: pho, Andrea Barberio <insomniac at slackware dot it> Notes: svn path=/head/; revision=176708
* /* -> /*- for license, minor formatting changesWarner Losh2005-01-071-1/+1
| | | | Notes: svn path=/head/; revision=139823
* Add support for SMB request signing, which prevents "man in the middle"Tim J. Robbins2004-01-021-0/+3
| | | | | | | | | | | | | | attacks and is required to connect to Windows 2003 servers in their default configuration. This adds an extra field to the SMB header containing the truncated 64-bit MD5 digest of a key (a function of the user's password and the server's authentication challenge), an implicit sequence number, and the message data itself. As signing each message imposes a significant performance penalty, we only enable it if the server will not let us connect without it; this should eventually become an option to mount_smbfs. Notes: svn path=/head/; revision=124087
* Reserve space for the trailing null byte in the srvname member ofTim J. Robbins2003-07-271-1/+1
| | | | | | | | | struct smb_vc_info. PR: 46902 Notes: svn path=/head/; revision=118078
* Implement support for mixed case passwords.Boris Popov2002-09-161-0/+1
| | | | | | | | Obtained from: Darwin MFC after: 2 weeks Notes: svn path=/head/; revision=103396
* Add support for large readx and writex functions if server supports them.Boris Popov2002-09-161-0/+2
| | | | | | | | Obtained from: Darwin MFC after: 2 weeks Notes: svn path=/head/; revision=103395
* Include <sys/lockmgr.h> for old lock interfaces instead of includingBruce Evans2002-08-271-1/+1
| | | | | | | <sys/lock.h> solely for its namespace pollution. Notes: svn path=/head/; revision=102479
* Add unicode related definition for future use. Descibe Samba bug.Boris Popov2002-02-211-0/+1
| | | | | | | | Obtained from: Darwin project MFC after: 2 weeks Notes: svn path=/head/; revision=91022
* Spelling fixes.Boris Popov2001-12-311-3/+3
| | | | | | | | | PR: kern/33131 Submitted by: Anders Andersson <anders@hack.org> MFC after: 1 week Notes: svn path=/head/; revision=88741
* Pull netsmb requester from the pre-KSE world. This update mostly basedBoris Popov2001-12-021-11/+10
| | | | | | | on the patches submitted by Max Khon <fjoe@iclub.nsu.ru> Notes: svn path=/head/; revision=87192
* Remove bogus include.Boris Popov2001-06-141-3/+0
| | | | Notes: svn path=/head/; revision=78208
* Import kernel part of SMB/CIFS requester.Boris Popov2001-04-101-0/+464
Add smbfs(CIFS) filesystem. Userland part will be in the ports tree for a while. Obtained from: smbfs-1.3.7-dev package. Notes: svn path=/head/; revision=75374