summaryrefslogtreecommitdiffstats
path: root/sys/netsmb/smb_rq.c
Commit message (Collapse)AuthorAgeFilesLines
* Mechanically substitute flags from historic mbuf allocator withglebius2012-12-051-1/+1
| | | | | | | | | malloc(9) flags within sys. Exceptions: - sys/contrib not touched - sys/mbuf.h edited manually
* Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.ed2011-11-071-1/+1
| | | | This means that their use is restricted to a single C file.
* Switch to our preferred 2-clause BSD license.joel2010-04-071-7/+1
| | | | Approved by: bp
* Retire the MALLOC and FREE macros. They are an abomination unto style(9).des2008-10-231-2/+2
| | | | MFC after: 3 months
* Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT.ru2008-03-251-3/+1
| | | | | | | | | | Removed dead code that assumed that M_TRYWAIT can return NULL; it's not true since the advent of MBUMA. Reviewed by: arch There are ongoing disputes as to whether we want to switch to directly using UMA flags M_WAITOK/M_NOWAIT for mbuf(9) allocation.
* Fix misalignment bugs caused by invalid type casts of pointersmarcel2006-08-221-4/+4
| | | | | | | | returned by md_reserve(). Space reserved by mb_reserve() is byte aligned and need to be used in conjunction with le16enc() and le32enc(). Tested on: ia64
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+1
|
* add missing #include <sys/module.h>phk2004-05-301-0/+1
|
* Add support for SMB request signing, which prevents "man in the middle"tjr2004-01-021-4/+20
| | | | | | | | | | | 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.
* Use __FBSDID().obrien2003-06-111-2/+4
|
* - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread withjeff2003-03-311-4/+2
| | | | | | | a follow on commit to kern_sig.c - signotify() now operates on a thread since unmasked pending signals are stored in the thread. - PS_NEEDSIGCHK moves to TDF_NEEDSIGCHK.
* Back out M_* changes, per decision of the TRB.imp2003-02-191-3/+3
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-3/+3
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Remove the hto(be|le)[slq] and (be|le)toh[slq] macros defined inrobert2002-12-161-1/+1
| | | | | | | | | | | _KERNEL scope from "src/sys/sys/mchain.h". Replace each occurrence of the above in _KERNEL scope with the appropriate macro from the set of hto(be|le)(16|32|64) and (be|le)toh(16|32|64) from "src/sys/sys/endian.h". Tested by: tjr Requested by: comment marked with XXX
* Use m_length() instead of home-rolled versions.phk2002-09-181-3/+1
|
* Enable browsing of NetApp servers (use ascii mode).bp2002-09-161-1/+4
| | | | | Obtained from: Darwin (PR-3002667) MFC after: 2 weeks
* Move the new byte order function prototypes from <sys/param.h> tomike2002-04-261-0/+1
| | | | <sys/endian.h>. This puts us in line with NetBSD and OpenBSD.
* Spelling fixes.bp2001-12-311-4/+4
| | | | | | PR: kern/33131 Submitted by: Anders Andersson <anders@hack.org> MFC after: 1 week
* - Replace M_WAIT with M_TRYWAIT since the M_WAIT flag is deprecated.arr2001-12-091-1/+1
| | | | Spotted by: bde
* Pull netsmb requester from the pre-KSE world. This update mostly basedbp2001-12-021-2/+2
| | | | on the patches submitted by Max Khon <fjoe@iclub.nsu.ru>
* Use proper endian conversions.bp2001-08-211-1/+1
| | | | | Obtained from: Mac OS X MFC after: 1 week
* Import kernel part of SMB/CIFS requester.bp2001-04-101-0/+752
Add smbfs(CIFS) filesystem. Userland part will be in the ports tree for a while. Obtained from: smbfs-1.3.7-dev package.
OpenPOWER on IntegriCloud