
CVS log for src/sys/fs/smbfs/smbfs_vnops.c
Up to [NetBSD] / src / sys / fs / smbfs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.63.10.5: download - view: text, markup, annotated - select for diffs
Thu Mar 11 16:04:14 2010 CET (8 days, 22 hours ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.63.10.4: preferred, colored to branchpoint 1.63: preferred, colored next main 1.64: preferred, colored
Changes since revision 1.63.10.4: +3 -3
lines
sync with head
Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Jan 8 12:35:09 2010 CET (2 months, 1 week ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base,
uebayasi-xip,
rmind-uvmplock-base,
rmind-uvmplock,
HEAD
Diff to previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3
lines
The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live
years ago when the kernel was modified to not alter ABI based on
DIAGNOSTIC, and now just call the respective function interfaces
(in lowercase). Plenty of mix'n match upper/lowercase has creeped
into the tree since then. Nuke the macros and convert all callsites
to lowercase.
no functional change
Revision 1.65.10.2: download - view: text, markup, annotated - select for diffs
Fri Jul 24 01:32:33 2009 (7 months, 3 weeks ago) by jym
Branches: jym-xensuspend
Diff to previous 1.65.10.1: preferred, colored to branchpoint 1.65: preferred, colored next main 1.66: preferred, colored
Changes since revision 1.65.10.1: +50 -29
lines
Sync with HEAD.
Revision 1.63.10.4: download - view: text, markup, annotated - select for diffs
Sat Jul 18 16:53:21 2009 (8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.63.10.3: preferred, colored to branchpoint 1.63: preferred, colored
Changes since revision 1.63.10.3: +50 -29
lines
sync with head.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Jul 4 09:36:46 2009 (8 months, 2 weeks ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase
Diff to previous 1.72: preferred, colored
Changes since revision 1.72: +5 -3
lines
make this build w/o SMB_VNODE_DEBUG
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Jul 4 02:03:22 2009 (8 months, 2 weeks ago) by elad
Branches: MAIN
Diff to previous 1.71: preferred, colored
Changes since revision 1.71: +3 -2
lines
Fix cut/paste error and put back a missing variable.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Jul 3 23:17:41 2009 (8 months, 2 weeks ago) by elad
Branches: MAIN
Diff to previous 1.70: preferred, colored
Changes since revision 1.70: +43 -24
lines
Where possible, extract the file-system's access() routine to two internal
functions: the first checking if the operation is possible (regardless of
permissions), the second checking file-system permissions, ACLs, etc.
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005311.html
Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Jul 3 20:35:33 2009 (8 months, 2 weeks ago) by njoly
Branches: MAIN
Diff to previous 1.69: preferred, colored
Changes since revision 1.69: +4 -6
lines
Directory open with NT_SMBS capability require the NOPEN bit to be set
too.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Jun 23 21:36:39 2009 (8 months, 3 weeks ago) by elad
Branches: MAIN
Diff to previous 1.68: preferred, colored
Changes since revision 1.68: +3 -3
lines
Move the implementation of vaccess() to genfs_can_access(), in line with
the other routines of the same spirit.
Adjust file-system code to use it.
Keep vaccess() for KPI compatibility and to keep element of least
surprise. A "diagnostic" message warning that vaccess() is deprecated will
be printed when it's used (obviously, only in DIAGNOSTIC kernels).
No objections on tech-kern@:
http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005310.html
Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Jun 22 23:13:50 2009 (8 months, 3 weeks ago) by njoly
Branches: MAIN
Diff to previous 1.67: preferred, colored
Changes since revision 1.67: +4 -3
lines
Fix compilation with SMB_*_DEBUG options.
Revision 1.63.10.3: download - view: text, markup, annotated - select for diffs
Sat May 16 12:41:47 2009 (10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.63.10.2: preferred, colored to branchpoint 1.63: preferred, colored
Changes since revision 1.63.10.2: +6 -9
lines
sync with head
Revision 1.65.10.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:21:54 2009 (10 months ago) by jym
Branches: jym-xensuspend
Diff to previous 1.65: preferred, colored
Changes since revision 1.65: +26 -49
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu May 7 21:30:30 2009 (10 months, 1 week ago) by elad
Branches: MAIN
CVS tags: yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
jym-xensuspend-base
Diff to previous 1.66: preferred, colored
Changes since revision 1.66: +6 -9
lines
Extract the open-coded authorization logic for chtimes() from various
file-systems and put it in a single function, genfs_can_chtimes().
This also makes UDF follow the same policy as all other file-systems.
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/04/27/msg004951.html
Revision 1.63.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 10:13:44 2009 (10 months, 2 weeks ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.63.10.1: preferred, colored to branchpoint 1.63: preferred, colored
Changes since revision 1.63.10.1: +25 -45
lines
sync with head.
Revision 1.65.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 09:36:53 2009 (10 months, 3 weeks ago) by skrll
Branches: nick-hppapmap
Diff to previous 1.65: preferred, colored next main 1.66: preferred, colored
Changes since revision 1.65: +22 -42
lines
Sync with HEAD.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Mar 14 22:04:24 2009 CET (12 months ago) by dsl
Branches: MAIN
CVS tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Diff to previous 1.65: preferred, colored
Changes since revision 1.65: +22 -42
lines
ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 06:36:55 2008 (18 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to previous 1.64: preferred, colored next main 1.65: preferred, colored
Changes since revision 1.64: +5 -5
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.63.6.2: download - view: text, markup, annotated - select for diffs
Sun Jun 29 11:33:13 2008 (20 months, 2 weeks ago) by mjf
Branches: mjf-devfs2
Diff to previous 1.63.6.1: preferred, colored to branchpoint 1.63: preferred, colored next main 1.64: preferred, colored
Changes since revision 1.63.6.1: +3 -3
lines
Sync with HEAD.
Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Fri Jun 27 17:11:28 2008 (20 months, 3 weeks ago) by simonb
Branches: simonb-wapbl
Diff to previous 1.64: preferred, colored next main 1.65: preferred, colored
Changes since revision 1.64: +5 -5
lines
Sync with head.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Jun 24 19:04:11 2008 (20 months, 3 weeks ago) by cegger
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
nick-hppapmap-base2,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
jym-xensuspend
Diff to previous 1.64: preferred, colored
Changes since revision 1.64: +5 -5
lines
make this build with SMB_VNODE_DEBUG. makes i386 ALL kernel build again.
Revision 1.63.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 15:24:05 2008 (21 months, 2 weeks ago) by mjf
Branches: mjf-devfs2
Diff to previous 1.63: preferred, colored
Changes since revision 1.63: +2 -9
lines
Sync with HEAD.
Revision 1.63.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 14:35:02 2008 (22 months ago) by yamt
Branches: yamt-pf42
Diff to previous 1.63: preferred, colored next main 1.64: preferred, colored
Changes since revision 1.63: +2 -9
lines
sync with head.
Revision 1.63.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 04:25:18 2008 (22 months ago) by yamt
Branches: yamt-nfs-mp
Diff to previous 1.63: preferred, colored
Changes since revision 1.63: +2 -9
lines
sync with head.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Apr 28 22:24:02 2008 (22 months, 3 weeks ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa,
simonb-wapbl
Diff to previous 1.63: preferred, colored
Changes since revision 1.63: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.59.16.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 03:04:57 2008 CET (23 months, 3 weeks ago) by matt
Branches: matt-armv6
Diff to previous 1.59.16.2: preferred, colored to branchpoint 1.59: preferred, colored next main 1.60: preferred, colored
Changes since revision 1.59.16.2: +2 -5
lines
sync with HEAD
Revision 1.60.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 22:06:40 2008 CET (2 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to previous 1.60.4.2: preferred, colored to branchpoint 1.60: preferred, colored next main 1.61: preferred, colored
Changes since revision 1.60.4.2: +2 -5
lines
Sync with HEAD.
Revision 1.46.4.8: download - view: text, markup, annotated - select for diffs
Mon Feb 4 10:24:01 2008 CET (2 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.46.4.7: preferred, colored to branchpoint 1.46: preferred, colored next main 1.47: preferred, colored
Changes since revision 1.46.4.7: +2 -5
lines
sync with head.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed Jan 30 10:50:21 2008 CET (2 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Diff to previous 1.62: preferred, colored
Changes since revision 1.62: +2 -5
lines
Replace struct lock on vnodes with a simpler lock object built on
krwlock_t. This is a step towards removing lockmgr and simplifying
vnode locking. Discussed on tech-kern.
Revision 1.46.4.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 10:45:53 2008 CET (2 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.46.4.6: preferred, colored to branchpoint 1.46: preferred, colored
Changes since revision 1.46.4.6: +8 -8
lines
sync with head
Revision 1.59.16.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 02:55:50 2008 CET (2 years, 2 months ago) by matt
Branches: matt-armv6
Diff to previous 1.59.16.1: preferred, colored to branchpoint 1.59: preferred, colored
Changes since revision 1.59.16.1: +32 -36
lines
sync with HEAD
Revision 1.60.4.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 01:45:48 2007 CET (2 years, 2 months ago) by mjf
Branches: mjf-devfs
Diff to previous 1.60.4.1: preferred, colored to branchpoint 1.60: preferred, colored
Changes since revision 1.60.4.1: +8 -8
lines
Sync with HEAD.
Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 20:57:03 2007 CET (2 years, 2 months ago) by ad
Branches: vmlocking2
Diff to previous 1.61: preferred, colored next main 1.62: preferred, colored
Changes since revision 1.61: +8 -8
lines
Sync with head.
Revision 1.59.14.3: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:38:11 2007 CET (2 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to previous 1.59.14.2: preferred, colored to branchpoint 1.59: preferred, colored next main 1.60: preferred, colored
Changes since revision 1.59.14.2: +8 -8
lines
Sync with HEAD.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sat Dec 8 20:29:44 2007 CET (2 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
matt-armv6-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386
Diff to previous 1.61: preferred, colored
Changes since revision 1.61: +8 -8
lines
Remove cn_lwp from struct componentname. curlwp should be used
from on. The NDINIT() macro no longer takes the lwp parameter and
associates the credentials of the calling thread with the namei
structure.
Revision 1.60.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 19:20:20 2007 CET (2 years, 3 months ago) by mjf
Branches: mjf-devfs
Diff to previous 1.60: preferred, colored
Changes since revision 1.60: +26 -30
lines
Sync with HEAD.
Revision 1.46.4.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 18:32:08 2007 CET (2 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.46.4.5: preferred, colored to branchpoint 1.46: preferred, colored
Changes since revision 1.46.4.5: +26 -30
lines
sync with head
Revision 1.59.14.2: download - view: text, markup, annotated - select for diffs
Tue Nov 27 20:37:52 2007 CET (2 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to previous 1.59.14.1: preferred, colored to branchpoint 1.59: preferred, colored
Changes since revision 1.59.14.1: +26 -30
lines
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Nov 26 20:01:53 2007 CET (2 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base
Branch point for: vmlocking2
Diff to previous 1.60: preferred, colored
Changes since revision 1.60: +26 -30
lines
Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp should
be used.
quick consensus on tech-kern
Revision 1.59.16.1: download - view: text, markup, annotated - select for diffs
Wed Nov 7 00:31:19 2007 CET (2 years, 4 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3
lines
sync with HEAD
Revision 1.46.4.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 13:35:14 2007 (2 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.46.4.4: preferred, colored to branchpoint 1.46: preferred, colored
Changes since revision 1.46.4.4: +3 -3
lines
sync with head.
Revision 1.59.14.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 17:48:21 2007 (2 years, 4 months ago) by joerg
Branches: jmcneill-pm
Diff to previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.59.18.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 13:48:34 2007 (2 years, 5 months ago) by yamt
Branches: yamt-x86pmap
Diff to previous 1.59: preferred, colored next main 1.60: preferred, colored
Changes since revision 1.59: +3 -3
lines
sync with head.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Oct 10 22:42:25 2007 (2 years, 5 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs
Diff to previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3
lines
Merge from vmlocking:
- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.
Revision 1.46.4.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:40:33 2007 (2 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.46.4.3: preferred, colored to branchpoint 1.46: preferred, colored
Changes since revision 1.46.4.3: +3 -3
lines
sync with head.
Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 17 23:31:13 2007 (2 years, 9 months ago) by ad
Branches: vmlocking
Diff to previous 1.59: preferred, colored next main 1.60: preferred, colored
Changes since revision 1.59: +3 -3
lines
- Increase the number of thread priorities from 128 to 256. How the space
is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
is provided, with hooks for fast-path MD code that can run the interrupt
threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.
Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 06:58:13 2007 CET (3 years ago) by rmind
Branches: yamt-idlelwp
Diff to previous 1.58: preferred, colored next main 1.59: preferred, colored
Changes since revision 1.58: +3 -3
lines
Sync with HEAD.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Mar 4 07:03:01 2007 CET (3 years ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: yamt-x86pmap,
vmlocking,
matt-armv6,
jmcneill-pm
Diff to previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.46.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 10:10:59 2007 CET (3 years ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.46.4.2: preferred, colored to branchpoint 1.46: preferred, colored
Changes since revision 1.46.4.2: +3 -3
lines
sync with head.
Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Sun Feb 18 00:27:45 2007 CET (3 years, 1 month ago) by tron
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base,
matt-nb4-arm
Diff to previous 1.56: preferred, colored next main 1.57: preferred, colored
Changes since revision 1.56: +7 -46
lines
Apply patch (requested by chs in ticket #422):
- Fix various deadlock problems with nullfs and unionfs.
- Speed up path lookups by upto 25%.
Revision 1.53.4.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 02:04:05 2007 CET (3 years, 2 months ago) by ad
Branches: newlock2
Diff to previous 1.53.4.1: preferred, colored to branchpoint 1.53: preferred, colored next main 1.54: preferred, colored
Changes since revision 1.53.4.1: +8 -47
lines
Sync with head.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Jan 4 18:26:12 2007 CET (3 years, 2 months ago) by elad
Branches: MAIN
CVS tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
Consistent usage of KAUTH_GENERIC_ISSUSER.
Revision 1.46.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 21:50:01 2006 CET (3 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.46.4.1: preferred, colored to branchpoint 1.46: preferred, colored
Changes since revision 1.46.4.1: +14 -56
lines
sync with head.
Revision 1.53.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 08:18:38 2006 CET (3 years, 3 months ago) by yamt
Branches: yamt-splraiseipl
Diff to previous 1.53.6.1: preferred, colored to branchpoint 1.53: preferred, colored next main 1.54: preferred, colored
Changes since revision 1.53.6.1: +11 -49
lines
sync with head.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Dec 9 17:11:51 2006 CET (3 years, 3 months ago) by chs
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3
Diff to previous 1.56: preferred, colored
Changes since revision 1.56: +7 -46
lines
a smorgasbord of improvements to vnode locking and path lookup:
- LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP().
these now always return the parent vnode locked. namei() works as before.
lookup() and various other paths no longer acquire vnode locks in the
wrong order via vrele(). fixes PR 32535.
as a nice side effect, path lookup is also up to 25% faster.
- the above allows us to get rid of PDIRUNLOCK.
- also get rid of WANTPARENT (just use LOCKPARENT and unlock it).
- remove an assumption in layer_node_find() that all file systems implement
a recursive VOP_LOCK() (unionfs doesn't).
- require that all file systems supply vfs_vptofh and vfs_fhtovp routines.
fill in eopnotsupp() for file systems that don't support being exported
and remove the checks for NULL. (layerfs calls these without checking.)
- in union_lookup1(), don't change refcounts in the ISDOTDOT case, just
adjust which vnode is locked. fixes PR 33374.
- apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().
Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 22:39:20 2006 CET (3 years, 4 months ago) by ad
Branches: newlock2
Diff to previous 1.53: preferred, colored
Changes since revision 1.53: +6 -6
lines
Sync with head.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Nov 16 02:33:37 2006 CET (3 years, 4 months ago) by christos
Branches: MAIN
CVS tags: netbsd-4-base
Branch point for: netbsd-4
Diff to previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3
lines
__unused removal on arguments; approved by core.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Nov 2 18:34:21 2006 CET (3 years, 4 months ago) by jmmv
Branches: MAIN
Diff to previous 1.54: preferred, colored
Changes since revision 1.54: +5 -4
lines
Bring in fix from FreeBSD by tjr, 3 years and 9 months ago: Store a
reference to the parent directory's vnode instead of its smbnode to
avoid a use-after-free bug causing a panic when a smbfs mount is
forcefully unmounted.
Keep trying to flush the vnode list for the mount while some are still
busy and we are making progress towards making them not busy. This
stops attempts to unmount idle smbfs mounts failing with EBUSY.
The easiest way to reproduce the above problem, from what I have seen is:
1) Assume /s is a smbfs mount point.
2) mount /s
3) stat /s/foo/1
4) umount /s
Returns error because the file system is busy.
5) Shutdown the machine: panic in smbfs_reclaim because vrele
accesses already-released memory.
Revision 1.53.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 08:07:09 2006 (3 years, 4 months ago) by yamt
Branches: yamt-splraiseipl
Diff to previous 1.53: preferred, colored
Changes since revision 1.53: +3 -4
lines
sync with head
Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Oct 12 03:32:14 2006 (3 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to previous 1.53: preferred, colored
Changes since revision 1.53: +3 -4
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.48.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 04:57:05 2006 (3 years, 6 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to previous 1.48: preferred, colored next main 1.49: preferred, colored
Changes since revision 1.48: +25 -25
lines
sync with head
Revision 1.48.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 17:45:34 2006 (3 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to previous 1.48.8.1: preferred, colored to branchpoint 1.48: preferred, colored next main 1.49: preferred, colored
Changes since revision 1.48.8.1: +5 -8
lines
sync with head
Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Jul 24 00:06:10 2006 (3 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to previous 1.52: preferred, colored
Changes since revision 1.52: +5 -8
lines
Use the LWP cached credentials where sane.
Revision 1.46.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 17:09:30 2006 (3 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to previous 1.46: preferred, colored
Changes since revision 1.46: +71 -61
lines
sync with head.
Revision 1.48.6.2: download - view: text, markup, annotated - select for diffs
Fri Jun 2 00:38:05 2006 (3 years, 9 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to previous 1.48.6.1: preferred, colored to branchpoint 1.48: preferred, colored next main 1.49: preferred, colored
Changes since revision 1.48.6.1: +21 -18
lines
Sync with head.
Revision 1.48.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 17:50:34 2006 (3 years, 9 months ago) by tron
Branches: peter-altq
Diff to previous 1.48: preferred, colored next main 1.49: preferred, colored
Changes since revision 1.48: +26 -23
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.48.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 12:58:40 2006 (3 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +26 -23
lines
sync with head.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun May 14 23:31:52 2006 (3 years, 10 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
chap-midi
Diff to previous 1.51: preferred, colored
Changes since revision 1.51: +21 -18
lines
integrate kauth.
Revision 1.48.10.5: download - view: text, markup, annotated - select for diffs
Sun May 7 01:31:30 2006 (3 years, 10 months ago) by christos
Branches: elad-kernelauth
Diff to previous 1.48.10.4: preferred, colored to branchpoint 1.48: preferred, colored next main 1.49: preferred, colored
Changes since revision 1.48.10.4: +3 -2
lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
that need it.
Approved by core.
Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 13:39:58 2006 (3 years, 10 months ago) by simonb
Branches: simonb-timecounters
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +8 -8
lines
Sync with head.
Revision 1.48.10.4: download - view: text, markup, annotated - select for diffs
Wed Apr 19 07:03:56 2006 (3 years, 11 months ago) by elad
Branches: elad-kernelauth
Diff to previous 1.48.10.3: preferred, colored to branchpoint 1.48: preferred, colored
Changes since revision 1.48.10.3: +8 -9
lines
sync with head.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Apr 15 05:59:23 2006 (3 years, 11 months ago) by christos
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to previous 1.50: preferred, colored
Changes since revision 1.50: +4 -6
lines
Coverity CID 1093: Fix NULL deref.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Apr 15 04:55:06 2006 (3 years, 11 months ago) by christos
Branches: MAIN
Diff to previous 1.49: preferred, colored
Changes since revision 1.49: +2 -3
lines
Coverity CID 2503: Remove bogus uninitialized deref.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Apr 15 04:53:49 2006 (3 years, 11 months ago) by christos
Branches: MAIN
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +6 -3
lines
Coverity CID 721: Add KASSERT since error != 0 conditions all returned, and
ifdef out dead code.
Revision 1.48.10.3: download - view: text, markup, annotated - select for diffs
Fri Mar 10 15:23:39 2006 CET (4 years ago) by elad
Branches: elad-kernelauth
Diff to previous 1.48.10.2: preferred, colored to branchpoint 1.48: preferred, colored
Changes since revision 1.48.10.2: +3 -3
lines
generic_authorize() -> kauth_authorize_generic().
Revision 1.48.10.2: download - view: text, markup, annotated - select for diffs
Wed Mar 8 20:10:00 2006 CET (4 years ago) by elad
Branches: elad-kernelauth
Diff to previous 1.48.10.1: preferred, colored to branchpoint 1.48: preferred, colored
Changes since revision 1.48.10.1: +4 -3
lines
Adapt to kernel authorization KPI.
Revision 1.48.10.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 02:31:33 2006 CET (4 years ago) by elad
Branches: elad-kernelauth
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +18 -16
lines
Adapt to kernel authorization KPI.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Dec 11 13:24:29 2005 CET (4 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Diff to previous 1.47: preferred, colored
Changes since revision 1.47: +50 -43
lines
merge ktrace-lwp.
Revision 1.28.2.8: download - view: text, markup, annotated - select for diffs
Thu Nov 10 15:09:44 2005 CET (4 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.28.2.7: preferred, colored next main 1.29: preferred, colored
Changes since revision 1.28.2.7: +3 -3
lines
Sync with HEAD. Here we go again...
Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Aug 30 21:04:51 2005 (4 years, 6 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Diff to previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3
lines
Remove __P()
Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 13:29:22 2005 (4 years, 10 months ago) by kent
Branches: kent-audio2
Diff to previous 1.45: preferred, colored next main 1.46: preferred, colored
Changes since revision 1.45: +14 -14
lines
sync with -current
Revision 1.45.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 09:36:11 2005 CET (5 years ago) by yamt
Branches: yamt-km
Diff to previous 1.45: preferred, colored next main 1.46: preferred, colored
Changes since revision 1.45: +14 -14
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.28.2.7: download - view: text, markup, annotated - select for diffs
Fri Mar 4 17:51:46 2005 CET (5 years ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.28.2.6: preferred, colored
Changes since revision 1.28.2.6: +14 -14
lines
Sync with HEAD.
Hi Perry!
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Feb 26 23:58:55 2005 CET (5 years ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +14 -14
lines
nuke trailing whitespace
Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Sun Jan 16 15:21:49 2005 CET (5 years, 2 months ago) by he
Branches: netbsd-2
CVS tags: netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1
Diff to previous 1.42: preferred, colored next main 1.43: preferred, colored
Changes since revision 1.42: +16 -7
lines
Pull up revision 1.45 (requested by peter in ticket #933):
Import a change from FreeBSD: use DENYNONE to give unixy
semantics of permitting everything not forbidden by
permissions. I.e. denial is up to the server with
clients/openers needing to use advisory locks for further
control. Fixes file access problem whtn the file is already
open on the server.
Revision 1.28.2.6: download - view: text, markup, annotated - select for diffs
Tue Nov 2 08:53:23 2004 CET (5 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.28.2.5: preferred, colored
Changes since revision 1.28.2.5: +16 -7
lines
Sync with HEAD.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Oct 27 21:17:13 2004 (5 years, 4 months ago) by peter
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
matt-timespec,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to previous 1.44: preferred, colored
Changes since revision 1.44: +16 -7
lines
Use DENYNONE to give unixy semantics of permitting everything not forbidden
by permissions. Ie denial is up to server with clients/openers needing to use
advisory locks for further control. From FreeBSD.
Fixes file access problem when the file is already open on the server.
Problem reported by George Abdelmalik <gabdelmalik at avdat dot com dot au>
Reviewed by jdolecek.
Revision 1.28.2.5: download - view: text, markup, annotated - select for diffs
Wed Oct 27 08:48:23 2004 (5 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.28.2.4: preferred, colored
Changes since revision 1.28.2.4: +4 -4
lines
Fix various comments that describe the argument structures
Revision 1.28.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 15:35:01 2004 (5 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.28.2.3: preferred, colored
Changes since revision 1.28.2.3: +49 -42
lines
Fix the sync with head I botched.
Revision 1.28.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 16:52:50 2004 (5 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.28.2.2: preferred, colored
Changes since revision 1.28.2.2: +43 -52
lines
Sync with HEAD.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Sep 13 21:25:48 2004 (5 years, 6 months ago) by jdolecek
Branches: MAIN
Diff to previous 1.43: preferred, colored
Changes since revision 1.43: +3 -5
lines
set mp->mnt_stat.f_namemax on filesystem mount for use by statvfs, and use
the value for also pathconf(_PC_NAME_MAX) to keep the two in sync
Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 12:52:42 2004 (5 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to previous 1.28.2.1: preferred, colored
Changes since revision 1.28.2.1: +88 -105
lines
Sync with HEAD
Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed May 12 04:07:38 2004 (5 years, 10 months ago) by jrf
Branches: MAIN
Diff to previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3
lines
caddr_t -> void * and removal of some more casts.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Mar 22 17:40:48 2004 CET (5 years, 11 months ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0
Branch point for: netbsd-2
Diff to previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
remove apparently meaningless part of one debug printf insmbfs_lookup()
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Mar 21 14:43:09 2004 CET (5 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to previous 1.40: preferred, colored
Changes since revision 1.40: +2 -4
lines
no need of #ifdef SMB_VNODE_DEBUG around SMBVDEBUG()
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Mar 21 11:24:01 2004 CET (6 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.39: preferred, colored
Changes since revision 1.39: +4 -4
lines
Allow the [, ], and = characters in non-8.3 filenames since they
are allowed by Windows (ref: MS KB article 120138).
Change follows FreeBSD rev. 1.40
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Mar 20 22:03:42 2004 CET (6 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.38: preferred, colored
Changes since revision 1.38: +8 -2
lines
Add missing permission checks to the smbfs VOP_SETATTR vnode op for the
case where the caller requests to change access or modification times.
Change obtained from FreeBSD rev. 1.30
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Mar 20 21:26:28 2004 CET (6 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +24 -18
lines
ditch busted access check in smbfs_access(), and use vaccess() instead;
also normalize function contents to resemble other filesystems,
and add a SMBVDEBUG() to ease eventual future debugging
partially based on FreeBSD rev. 1.29
fixes PR kern/23373 by Piotr Stolc
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Mar 20 20:48:30 2004 CET (6 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
escape the backslash in badchars so that smbfs_pathcheck() correctly
rejects pathnames with backslashes in them (and to avoid a syntax error)
change from FreeBSD
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Mar 20 19:41:02 2004 CET (6 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +25 -3
lines
pullup FreeBSD change rev. 1.44 - restore closing of SMB find handle
in smbfs_close(); it's necessary to overcome limitation of the current
directory lookup code
this fixes problem where ls wouldn't show newly created files, such as:
> touch a b c
> ls
>
problem and fix pointed out by YAMAMOTO Takashi
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Feb 29 13:19:15 2004 CET (6 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.34: preferred, colored
Changes since revision 1.34: +5 -4
lines
add comment to smbfs_remove() regarding the limitation to only remove
unreferenced files
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Feb 29 12:47:08 2004 CET (6 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.33: preferred, colored
Changes since revision 1.33: +18 -76
lines
close the SMB handle when vnode is inactivated, rather than on file close,
so that mmap()ped regions remain accessible even when the file descriptor
is closed
g/c smbnode's n_opencount, and have single NOPEN flag instead
fixes PR kern/24516 by Lloyd Parkes
change obtained from FreeBSD, with only minor adjustments
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Feb 28 10:19:53 2004 CET (6 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.32: preferred, colored
Changes since revision 1.32: +10 -4
lines
smbfs_rename(): #ifdef notyet some code related to disabled smbfs_smb_move(),
and also fix a return in the code section - we need to do vnode cleanup
before returning error
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Feb 28 10:04:00 2004 CET (6 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.31: preferred, colored
Changes since revision 1.31: +5 -3
lines
smbfs_rename(): only touch attribute cache properties if the operation
is carried out; particularily, don't touch it if the rename files
due to EXDEV - the 'from' or 'to' vnode may not be on smbfs filesystem
at all in that case
this is the final fix for PR kern/24455 by Milos Urbanek
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Feb 22 12:14:08 2004 CET (6 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.30: preferred, colored
Changes since revision 1.30: +6 -7
lines
fix PNBUF_PUT() calls:
* it should not be called for rmdir or remove vop
* for create and mkdir, it should only be called on error, or when
SAVESTART flag is not set
fixes PR kern/24455 by Milos Urbanek
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Jan 26 11:39:30 2004 CET (6 years, 1 month ago) by hannken
Branches: MAIN
Diff to previous 1.29: preferred, colored
Changes since revision 1.29: +5 -4
lines
Fix xxx_strategy() to use the vnode arg instead of bp->b_vp.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Oct 25 10:42:08 2003 (6 years, 4 months ago) by christos
Branches: MAIN
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +4 -4
lines
fix uninitialized variable
Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 17:26:33 2003 (6 years, 8 months ago) by darrenr
Branches: ktrace-lwp
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +46 -39
lines
Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Jun 30 00:31:13 2003 (6 years, 8 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to previous 1.27: preferred, colored
Changes since revision 1.27: +41 -48
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jun 29 14:17:22 2003 (6 years, 8 months ago) by martin
Branches: MAIN
Diff to previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4
lines
Fix a few small glitches (struct proc -> struct lwp)
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jun 28 16:21:51 2003 (6 years, 8 months ago) by darrenr
Branches: MAIN
Diff to previous 1.25: preferred, colored
Changes since revision 1.25: +46 -39
lines
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
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Apr 9 20:57:29 2003 (6 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to previous 1.24: preferred, colored
Changes since revision 1.24: +25 -19
lines
fix couple more simple lock issues on smbfs_close() code path:
* vinvalbuf needs to be called without simplelocks held
* need to release the lock in opencount > 0 case
* need to release the lock before smbfs_findclose(), since that
can send a request to SMB server and attempt to pool_get() a request buffer
problem path found & testing by Martin Husemann, fix adresses PR kern/21067
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Apr 8 23:06:33 2003 (6 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to previous 1.23: preferred, colored
Changes since revision 1.23: +9 -3
lines
back to passing magic '1' as lock id in smbfs_advlock() - the number
is used to setup a 'PID' for the lock; if a SMB write request is sent
to server, it returns EDEADLK if it doesn't have same PID. since we
use '1' as request PID (see smb_rq_new()), we must use '1' here too,
for now
add a comment what is the ID used for, to avoid similar mistake in future
this partially back off rev 1.5, and makes advisory locking work
on SMB shares mounted from Windows again (sigh)
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Apr 8 21:01:00 2003 (6 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3
lines
smbfs_remove(): undo broken condition change from rev. 1.3 - apparently
the condition was changed to be true when the file _should_ be removed,
but ended up wrong way
this fixes a problem where it wasn't possible to remove regular files
from mounted smbfs share
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Apr 8 19:09:22 2003 (6 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to previous 1.21: preferred, colored
Changes since revision 1.21: +7 -7
lines
release the vnode interlock sooner in smbfs_close[l](), before calling
smbfs_smb_close() - that routine allocates memory and could sleep
problem found with LOCKDEBUG, change adresses PR kern/21067 by Martin Husemann
g/c unneeded VOP_GETATTR() call from smbfs_closel()
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Apr 7 21:31:01 2003 (6 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
smbfs_closel(): fix inverted test in directory case
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Apr 7 14:21:40 2003 (6 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to previous 1.19: preferred, colored
Changes since revision 1.19: +11 -9
lines
smbfs_open(): reenable code mistakely #if 0'd in previous revision, make
sure it's only skipped in 'directory' case
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Apr 7 14:04:15 2003 (6 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to previous 1.18: preferred, colored
Changes since revision 1.18: +31 -17
lines
use NT DIRECTORY CHANGE NOTIFY to watch for directory kevents if the
server supports it
for this, need NT CREATE AND X a directory in smbfs_open(), so that
we get the FID handle used for DIRECTORY CHANGE NOTIFY SMB
this could eventually be used to 'watch' even regular files, by
watching its parent directory and lookup/VN_KNOTE() when we get
REMOVED/RENAMED/MODIFIED action
also reorganize the kqueue code somewhat to use simplify locking
and knote detach
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Mar 24 14:50:10 2003 CET (6 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3
lines
smbfs_getattr(): make 'oldsize' 64bit, it's used to hold file size
this is necessary for I/O to offset > 4G to actually be written
at proper place, rather than trimming offset to 32bit value
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Mar 24 14:30:44 2003 CET (6 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4
lines
adjust some debug messages
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Mar 2 23:06:51 2003 CET (7 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.15: preferred, colored
Changes since revision 1.15: +3 -2
lines
add kqueue (EVFILT_READ, EVFILT_WRITE, EVFILT_VNODE) support
this is basically copy of what nfs_kq.c does - a thread periodically
polls server checking if any of the wateched files changed
eventually this should be changed to take advantage of SMB Directory
Change Notify
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Feb 25 11:33:19 2003 CET (7 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.14: preferred, colored
Changes since revision 1.14: +14 -3
lines
sprinkle VN_KNOTE()s
Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Feb 25 10:09:32 2003 CET (7 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.13: preferred, colored
Changes since revision 1.13: +5 -1
lines
add __KERNEL_RCSID()
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Feb 24 20:09:02 2003 CET (7 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.12: preferred, colored
Changes since revision 1.12: +3 -1
lines
enable mmap and seek vnode ops - this makes mmap(2), lseek(2),
p{read,write}{,v}(2) work
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Feb 24 17:19:05 2003 CET (7 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.11: preferred, colored
Changes since revision 1.11: +27 -16
lines
smbfs_lookup():
* make sure islastcn and lockparent is set before used when the entry is cached
* add VWRITE check for nameiop == RENAME, add necessary unlock/relock for
ISDOTDOT case
adjust smbfs_print() to have slightly nicer output
enable vnode locking
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Feb 24 11:01:02 2003 CET (7 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.10: preferred, colored
Changes since revision 1.10: +5 -4
lines
SMBERROR() purge - turn into #ifdef DIAGNOSTIC panics
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Feb 23 22:55:20 2003 CET (7 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2
lines
add genfsops necessary for genfs_*{get|put}pages() to actually work
use 'compat' getpages and gop_write - smbfs doesn't have bmap vnode op (yet)
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Feb 23 22:54:05 2003 CET (7 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4
lines
remove bogus (u_long) cast for uvm_vnp_setsize() arg in smbfs_setattr()
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Feb 23 18:28:48 2003 CET (7 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.7: preferred, colored
Changes since revision 1.7: +1 -50
lines
remove non-NetBSD smbfs_vnodeop_entries[], smbfs_vnodeop_opv_desc
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Feb 21 21:13:21 2003 CET (7 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +4 -8
lines
g/c unneeded local variables in smbfs_read()/smbfs_readdir()
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Feb 20 16:35:55 2003 CET (7 years ago) by jdolecek
Branches: MAIN
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +12 -8
lines
don't assume struct smbnode -> n_name is zero terminated,
use .*s to print it
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Feb 19 14:51:25 2003 CET (7 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +3 -5
lines
do previous differently - pass ap->a_id down to smbfs_smb_lock()
and smbfs_smb_lockandx() as caddr_t, and mask it to 16bit value
in smbfs_smb_lockandx()
okayed by Martin
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Feb 19 13:44:47 2003 CET (7 years, 1 month ago) by martin
Branches: MAIN
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
SMB lock ids apparently are 16bit items. And the code uses id 1 always.
No need to cast it back and forth to a caddr_t and u_int32_t - which does
not work well on 64bit archs.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Feb 18 21:07:50 2003 CET (7 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +351 -289
lines
make smbfs_lookup() look more like nfs_lookup(), particularily account
for different cache_lookup() semantics
fix smbfs_pathcheck() to not assume zero-ended component name
remove the bogus code in smbfs_close(), it's not needed on NetBSD
fix couple other vnop routines to do vput()/vrele()/PNBUF_PUT() as appropriate
KNF
Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Tue Jun 25 00:10:35 2002 (7 years, 8 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to previous 1.2.4.1: preferred, colored to branchpoint 1.2: preferred, colored next main 1.3: preferred, colored
Changes since revision 1.2.4.1: +2 -2
lines
Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).
Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 28 05:14:42 2002 CET (8 years ago) by nathanw
Branches: nathanw_sa
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1
lines
Catch up to -current.
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:59:31 2002 CET (8 years, 2 months ago) by thorpej
Branches: kqueue
Diff to previous 1.2: preferred, colored next main 1.3: preferred, colored
Changes since revision 1.2: +1 -1
lines
Sync kqueue branch with -current.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 18:43:29 2002 CET (8 years, 2 months ago) by deberg
Branches: MAIN
CVS tags: newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
ifpoll-base,
ifpoll,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
gehenna-devsw-base,
gehenna-devsw,
fvdl_fs64_base,
eeh-devprop-base,
eeh-devprop
Branch point for: nathanw_sa,
kqueue
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +249 -215
lines
netbsd changes
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Jan 9 18:25:37 2002 CET (8 years, 2 months ago) by deberg
Branches: FreeBSD
CVS tags: FreeBSD-20011220
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
import freebsd smbfs code
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 18:25:37 2002 CET (8 years, 2 months ago) by deberg
Branches: MAIN
Initial revision
cvsweb.de.netbsd.org <zafer@aydogan.de>