christos
94320bc4fd
Convert sizes/lengths to unsigned (size_t) or uint32_t
...
(for binary compatibility).
2010-07-12 02:58:01 +00:00
tsutsui
d779b85d3e
Remove extra whitespace added by a stupid tool.
...
XXX: more in src/sys/arch
2009-04-18 14:58:02 +00:00
cegger
e2cb85904d
bcopy -> memcpy
2009-03-18 17:06:41 +00:00
gmcgarry
95c7011935
Remove gcc variadic macros with comma elimination.
2008-06-24 10:37:19 +00:00
ad
284c2b9aef
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
...
we no longer need to guard against access from hardware interrupt handlers.
Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.
2008-04-24 18:39:20 +00:00
ad
b07ec3fc38
Merge newlock2 to head.
2007-02-09 21:55:00 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
ad
f474dceb13
Use the LWP cached credentials where sane.
2006-07-23 22:06:03 +00:00
elad
874fef3711
integrate kauth.
2006-05-14 21:19:33 +00:00
christos
ddceccd3fb
Coverity CID 609: Kill dead code! BANG!
2006-04-12 01:17:41 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
christos
f4be9c1233
PR/30303: Dave Huang: It is ok to unlock an unlocked file.
2005-06-28 03:24:32 +00:00
christos
c6c1539491
sprinkle const, remove casts.
2005-05-29 21:26:27 +00:00
perry
bcfcddbac1
nuke trailing whitespace
2005-02-26 22:31:44 +00:00
jdolecek
e257c8b61f
map ERRSRV:ERRbaduid to EAUTH
2003-09-27 12:24:25 +00:00
fvdl
d5aece61d6
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
...
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr
960df3c8d1
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
...
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
jdolecek
dfb3906cfb
add bunch of NT DIRECTORY CHANGE NOTIFY and NT CREATE AND X related constants
...
add mapping for ERRDOS:STATUS_NOTIFY_ENUM_DIR and ERRHRD:ERRgeneral
2003-04-07 11:13:24 +00:00
jdolecek
de3ee118b5
map ERRDOS/ERRnotlocked to EBUSY
2003-03-24 10:05:43 +00:00
jdolecek
3c34ce99af
Add more constants for future use in kernel and userland.
...
From Darwin via FreeBSD smb.h rev. 1.6
This renames some constants added in NetBSD smb.h rev 1.6 - smb_subr.c
adjusted
2003-03-24 08:39:17 +00:00
jdolecek
a266be64dc
Recongnize more error codes returned by W2K servers.
...
From FreeBSD
2003-03-24 08:20:01 +00:00
jdolecek
b05cd2b635
translate ERRDOS/ERRnofiles to ENOENT in smb_maperror(), and simplify
...
handling in smbfs_smb_search() appropriately - avoids using
sr_errclass&sr_serror too
2003-03-23 16:55:54 +00:00
jdolecek
ede214240b
#if 0 or g/c unused stuff
...
pointed out by Krister Walfridsson
2003-03-03 21:16:02 +00:00
jdolecek
e1ea74dfac
add __KERNEL_RCSID
2003-02-25 09:12:11 +00:00
jdolecek
695a1f63b5
const-poison a bit
2003-02-24 19:32:16 +00:00
jdolecek
85f22d966f
simlify smb_proc_intr() - p_siglist never contains signals from
...
p_sigmask or p_sigignore, so no point explicitly removing them
also kill some compatibility macros/defines and use the real thing directly,
it's more readable that way
2003-02-21 19:55:14 +00:00
martin
6b7ecffb54
Change a few int -> size_t to make it compile on archs where they are not
...
the same.
2003-02-19 12:01:37 +00:00
jdolecek
fde501ab94
use explicit width macros from <sys/endian.h>, do not define&use
...
letohs/letohl/letohq and such
2003-02-18 10:18:52 +00:00
jdolecek
12ce0f9377
replace some magic error number with descriptive defines; meaning of the numbers
...
found in Samba/Linux smbfs
2003-02-18 10:09:28 +00:00
jdolecek
d5e1078f05
adapt to addition of malloc types
2003-02-15 23:02:30 +00:00
thorpej
b193480908
Add extensible malloc types, adapted from FreeBSD. This turns
...
malloc types into a structure, a pointer to which is passed around,
instead of an int constant. Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.
2003-02-01 06:23:35 +00:00
deberg
f3b1291f2e
resolve conflicts
2002-01-04 02:39:37 +00:00
lukem
4f2ad95259
add RCSIDs
2001-11-13 00:56:55 +00:00
deberg
3694227079
initial stab at SMB stack, needed for smbfs. originally for freebsd by
...
boris popov, first ported to 1.4 branch by Christian Limpach
<chris@nice.ch>.
2000-12-07 03:48:09 +00:00