summaryrefslogtreecommitdiffstats
path: root/sys/netsmb/smb_subr.c
Commit message (Collapse)AuthorAgeFilesLines
* It seems to be safe to ignore 'file not locked' errorbp2006-11-051-0/+2
| | | | | | from server. This effectively suppresses 'Unmapped error 1:158'. MFC after: 1 month
* Although we check the return value of copyin(9) while determaining howcsjp2006-01-161-2/+6
| | | | | | | | | | long the string is in userspace, afterwards we call malloc(M_WAITOK), which could sleep for an unknown amount of time. Check the return value of copyin(9) just to be sure that nothing has changed during that time. Found with: Coverity Prevent (tm) MFC after: 1 week
* Change API of mb_copy_t in libmchain so that netsmb can handleimura2005-07-291-3/+12
| | | | | | multibyte character share name correctly. Reviewed by: bp
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+1
|
* Use __FBSDID().obrien2003-06-111-2/+4
|
* - Merge struct procsig with struct sigacts.jhb2003-05-131-1/+3
| | | | | | | | | | | | | | | | | - Move struct sigacts out of the u-area and malloc() it using the M_SUBPROC malloc bucket. - Add a small sigacts_*() API for managing sigacts structures: sigacts_alloc(), sigacts_free(), sigacts_copy(), sigacts_share(), and sigacts_shared(). - Remove the p_sigignore, p_sigacts, and p_sigcatch macros. - Add a mutex to struct sigacts that protects all the members of the struct. - Add sigacts locking. - Remove Giant from nosys(), kill(), killpg(), and kern_sigaction() now that sigacts is locked. - Several in-kernel functions such as psignal(), tdsignal(), trapsignal(), and thread_stopped() are now MP safe. Reviewed by: arch@ Approved by: re (rwatson)
* - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread withjeff2003-03-311-4/+8
| | | | | | | 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-4/+4
| | | | Approved by: trb
* Lock proc while manipulating p_sigmask p_sigignore and p_siglist.tjr2003-02-141-1/+5
|
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-4/+4
| | | | 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
* - Change mb_copy_t to take a size_t as the length argument instead of anjhb2002-11-081-2/+2
| | | | | | | int. - Change the local variable in smb_copy_iconv() from an int to a size_t. These make smb_copy_iconv() happy in a 64-bit world.
* Back our kernel support for reliable signal queues.jmallett2002-10-011-3/+2
| | | | Requested by: rwatson, phk, and many others
* Convert use of p_siglist and old SIG*() macros to use <sys/ksiginfo.h>jmallett2002-09-301-2/+3
| | | | | | prototyped functions to get a sigset_t, and further to check for any queued signals, rather than an empty signal set, to go with the move to signal queues rather than signal sets.
* 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.
* Recongnize more error codes returned by W2K servers.bp2002-04-171-1/+8
| | | | MFC after: 4 days
* Simple p_ucred -> td_ucred changes to start using the per-thread ucredjhb2002-02-271-1/+1
| | | | reference.
* Pull netsmb requester from the pre-KSE world. This update mostly basedbp2001-12-021-5/+5
| | | | on the patches submitted by Max Khon <fjoe@iclub.nsu.ru>
* Map errdos:67 to the ENOENT.bp2001-08-211-0/+1
| | | | | Obtained from: Mac OS X MFC after: 1 week
* Remove unnecessary "#if __FreeBSD_version".bp2001-08-211-8/+0
|
* Import kernel part of SMB/CIFS requester.bp2001-04-101-0/+359
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