aboutsummaryrefslogtreecommitdiff
path: root/sys/netsmb/smb_rq.c
Commit message (Collapse)AuthorAgeFilesLines
* Mechanically substitute flags from historic mbuf allocator withGleb Smirnoff2012-12-051-1/+1
| | | | | | | | | | | | malloc(9) flags within sys. Exceptions: - sys/contrib not touched - sys/mbuf.h edited manually Notes: svn path=/head/; revision=243882
* Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.Ed Schouten2011-11-071-1/+1
| | | | | | | This means that their use is restricted to a single C file. Notes: svn path=/head/; revision=227293
* Switch to our preferred 2-clause BSD license.Joel Dahl2010-04-071-7/+1
| | | | | | | Approved by: bp Notes: svn path=/head/; revision=206361
* Retire the MALLOC and FREE macros. They are an abomination unto style(9).Dag-Erling Smørgrav2008-10-231-2/+2
| | | | | | | MFC after: 3 months Notes: svn path=/head/; revision=184205
* Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT.Ruslan Ermilov2008-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. Notes: svn path=/head/; revision=177599
* Fix misalignment bugs caused by invalid type casts of pointersMarcel Moolenaar2006-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 Notes: svn path=/head/; revision=161523
* /* -> /*- for license, minor formatting changesWarner Losh2005-01-071-1/+1
| | | | Notes: svn path=/head/; revision=139823
* add missing #include <sys/module.h>Poul-Henning Kamp2004-05-301-0/+1
| | | | Notes: svn path=/head/; revision=129880
* Add support for SMB request signing, which prevents "man in the middle"Tim J. Robbins2004-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. Notes: svn path=/head/; revision=124087
* Use __FBSDID().David E. O'Brien2003-06-111-2/+4
| | | | Notes: svn path=/head/; revision=116189
* - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread withJeff Roberson2003-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. Notes: svn path=/head/; revision=112888
* Back out M_* changes, per decision of the TRB.Warner Losh2003-02-191-3/+3
| | | | | | | Approved by: trb Notes: svn path=/head/; revision=111119
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.Alfred Perlstein2003-01-211-3/+3
| | | | | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT. Notes: svn path=/head/; revision=109623
* Remove the hto(be|le)[slq] and (be|le)toh[slq] macros defined inRobert Drehmel2002-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 Notes: svn path=/head/; revision=107940
* Use m_length() instead of home-rolled versions.Poul-Henning Kamp2002-09-181-3/+1
| | | | Notes: svn path=/head/; revision=103554
* Enable browsing of NetApp servers (use ascii mode).Boris Popov2002-09-161-1/+4
| | | | | | | | Obtained from: Darwin (PR-3002667) MFC after: 2 weeks Notes: svn path=/head/; revision=103391
* Move the new byte order function prototypes from <sys/param.h> toMike Barcroft2002-04-261-0/+1
| | | | | | | <sys/endian.h>. This puts us in line with NetBSD and OpenBSD. Notes: svn path=/head/; revision=95533
* Spelling fixes.Boris Popov2001-12-311-4/+4
| | | | | | | | | PR: kern/33131 Submitted by: Anders Andersson <anders@hack.org> MFC after: 1 week Notes: svn path=/head/; revision=88741
* - Replace M_WAIT with M_TRYWAIT since the M_WAIT flag is deprecated.Andrew R. Reiter2001-12-091-1/+1
| | | | | | | Spotted by: bde Notes: svn path=/head/; revision=87565
* Pull netsmb requester from the pre-KSE world. This update mostly basedBoris Popov2001-12-021-2/+2
| | | | | | | on the patches submitted by Max Khon <fjoe@iclub.nsu.ru> Notes: svn path=/head/; revision=87192
* Use proper endian conversions.Boris Popov2001-08-211-1/+1
| | | | | | | | Obtained from: Mac OS X MFC after: 1 week Notes: svn path=/head/; revision=82037
* Import kernel part of SMB/CIFS requester.Boris Popov2001-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. Notes: svn path=/head/; revision=75374