The NetBSD Project

CVS log for src/sys/ufs/ufs/ufs_extattr.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / ufs / ufs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.35.2.5 / (download) - annotate - [select for diffs], Thu May 22 11:41:19 2014 UTC (2 months, 1 week ago) by yamt
Branch: yamt-pagecache
Changes since 1.35.2.4: +18 -11 lines
Diff to previous 1.35.2.4 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:22 2014 UTC (2 months, 1 week ago) by rmind
Branch: rmind-smpnet
Changes since 1.42: +12 -5 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

sync with head

Revision 1.43 / (download) - annotate - [select for diffs], Fri Feb 7 15:29:23 2014 UTC (5 months, 2 weeks ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, HEAD
Changes since 1.42: +12 -5 lines
Diff to previous 1.42 (colored)

Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:18:40 2013 UTC (13 months ago) by tls
Branch: tls-maxphys
Changes since 1.40.2.1: +8 -8 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

resync from head

Revision 1.42 / (download) - annotate - [select for diffs], Sun Jun 9 17:57:09 2013 UTC (13 months, 2 weeks ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.41: +8 -8 lines
Diff to previous 1.41 (colored)

Stick UFS_ in front of these symbols:
   DIRBLKSIZ
   DIRECTSIZ
   DIRSIZ
   OLDDIRFMT
   NEWDIRFMT

Part of PR 47909.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:18 2013 UTC (17 months ago) by tls
Branch: tls-maxphys
Changes since 1.40: +9 -14 lines
Diff to previous 1.40 (colored)

resync with head

Revision 1.35.2.4 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:56 2013 UTC (18 months, 1 week ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.35.2.3: +9 -14 lines
Diff to previous 1.35.2.3 (colored) to branchpoint 1.35 (colored)

sync with (a bit old) head

Revision 1.41 / (download) - annotate - [select for diffs], Sat Dec 8 13:42:36 2012 UTC (19 months, 2 weeks ago) by manu
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, khorben-n900, agc-symver-base, agc-symver
Changes since 1.40: +9 -14 lines
Diff to previous 1.40 (colored)

Remove always-true condition and note that the current code is suboptimal.

Revision 1.36.2.1.2.1 / (download) - annotate - [select for diffs], Thu Nov 1 16:45:05 2012 UTC (20 months, 3 weeks ago) by matt
Branch: matt-nb6-plus
Changes since 1.36.2.1: +2 -8 lines
Diff to previous 1.36.2.1 (colored) next main 1.36.2.2 (colored)

sync with netbsd-6-0-RELEASE.

Revision 1.35.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:23:00 2012 UTC (20 months, 4 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.35.2.2: +2 -8 lines
Diff to previous 1.35.2.2 (colored) to branchpoint 1.35 (colored)

sync with head

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Thu Sep 13 22:35:44 2012 UTC (22 months, 2 weeks ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base
Changes since 1.36.2.1: +2 -8 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

Pull up following revision(s) (requested by manu in ticket #556):
	sys/ufs/ufs/ufs_extattr.c: revision 1.40
Fix unmount returnign EBUSY if an attribute was autocreated: we hold
a useless reference that we never gave back

Revision 1.40 / (download) - annotate - [select for diffs], Mon Sep 10 14:00:15 2012 UTC (22 months, 2 weeks ago) by manu
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.39: +2 -8 lines
Diff to previous 1.39 (colored)

Fix unmount returnign EBUSY if an attribute was autocreated: we hold
a useless reference that we never gave back

Revision 1.35.6.3 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:41 2012 UTC (2 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.35.6.2: +7 -7 lines
Diff to previous 1.35.6.2 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

sync to latest -current.

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:19 2012 UTC (2 years, 2 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.35.2.1: +9 -9 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored)

sync with head.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Sat May 19 15:03:31 2012 UTC (2 years, 2 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-0-RC1
Branch point for: matt-nb6-plus
Changes since 1.36: +9 -9 lines
Diff to previous 1.36 (colored)

Pull up following revision(s) (requested by manu in ticket #260):
	sys/kern/vfs_xattr.c: revision 1.31
	sys/ufs/ufs/ufs_extattr.c: revision 1.39
Return ENODATA when no attribute is found, like Linux does. After
all we decided to adopt the Linux API, therefore there is rationale
to stick to it.
No standard tells us what to do, and our extended attribute API has not
been used in a release, therefore we do not break anything, and we get
more easily compatible with programs using the Linux extended attribute
API.
Note that FreeBSD and MacOS X return ENOATTR. FreeBSD has its own API
and MacOS X has a Linux-like API. How did the world get so complicated?

Revision 1.39 / (download) - annotate - [select for diffs], Tue May 1 07:48:25 2012 UTC (2 years, 2 months ago) by manu
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Changes since 1.38: +9 -9 lines
Diff to previous 1.38 (colored)

Return ENODATA when no attribute is found, like Linux does. After
all we decided to adopt the Linux API, therefore there is rationale
to stick to it.

No standard tells us what to do, and our extended attribute API has not
been used in a release, therefore we do not break anything, and we get
more easily compatible with programs using the Linux extended attribute
API.

Note that FreeBSD and MacOS X return ENOATTR. FreeBSD has its own API
and MacOS X has a Linux-like API. How did the world get so complicated?

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:57 2012 UTC (2 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.35: +75 -19 lines
Diff to previous 1.35 (colored)

sync with head

Revision 1.35.6.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:52 2012 UTC (2 years, 3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.35.6.1: +69 -8 lines
Diff to previous 1.35.6.1 (colored) to branchpoint 1.35 (colored)

sync to latest -current.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Mar 26 11:03:43 2012 UTC (2 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Fix wrong variable in snprintf. From Henning Petersen in PR 46259,
ok manu@

Revision 1.37 / (download) - annotate - [select for diffs], Tue Mar 13 18:41:14 2012 UTC (2 years, 4 months ago) by elad
Branch: MAIN
Changes since 1.36: +69 -8 lines
Diff to previous 1.36 (colored)

Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

    http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
    http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
    http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:56 2012 UTC (2 years, 5 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.35: +8 -13 lines
Diff to previous 1.35 (colored)

merge to -current.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jan 27 19:22:49 2012 UTC (2 years, 6 months ago) by para
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.35: +8 -13 lines
Diff to previous 1.35 (colored)

converting readdir in ffs ext2fs from malloc(9) to kmem(9)
while there allocate ufs mount structs from kmem(9) too
preceding kmem-vmem-pool-patch

releng@ acknowledged

Revision 1.21.14.4 / (download) - annotate - [select for diffs], Sat Sep 17 18:51:34 2011 UTC (2 years, 10 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Changes since 1.21.14.3: +3 -2 lines
Diff to previous 1.21.14.3 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Pull up following revision(s) (requested by manu in ticket #1664):
	sys/ufs/ufs/ufs_extattr.c: revision 1.35
Fix locking protocol to avoid a panic on extattrctl stop and on umount.

Revision 1.21.14.3 / (download) - annotate - [select for diffs], Sun Jul 17 15:36:04 2011 UTC (3 years ago) by riz
Branch: netbsd-5
Changes since 1.21.14.2: +371 -129 lines
Diff to previous 1.21.14.2 (colored) to branchpoint 1.21 (colored)

Pull up following revision(s) (requested by manu in ticket #1645):
lib/libc/sys/Makefile.inc                       1.207 via patch
lib/libc/sys/extattr_get_file.2                 patch
lib/libpuffs/dispatcher.c                       1.34,1.36 via patch
lib/libpuffs/puffs.c                            1.107 via patch
lib/libpuffs/puffs.h                            1.115,1.118 via patch
sys/fs/puffs/puffs_msgif.h                      1.71,1.76 via patch
sys/fs/puffs/puffs_vfsops.c                     1.88 via patch
sys/fs/puffs/puffs_vnops.c                      1.145,1.154 via patch
sys/kern/vfs_xattr.c                            1.24-1.27 via patch
sys/kern/vnode_if.c                             1.87 via patch
sys/sys/Makefile                                1.133 via patch
sys/sys/extattr.h                               1.6 via patch
sys/sys/vnode_if.h                              1.81 via patch
sys/ufs/ffs/ffs_vnops.c                         patch
sys/ufs/ufs/ufs_extattr.c                       1.31,1.34 via patch

* support extended attributes
* bump major due to structure growth
* add some spare space
* remove ABI sillyness
Support extended attributes.
Fix multiple non compliances in our Linux-like extattr API, and make it
public so that it can be used.
Improve a bit listxattr(2). It attemps to list both system and user
extended attributes, and it faled if calling user did not have privilege
for reading system EA. Now we just lise user EA and skip system EA in
reading them is not allowed.
Fix bug introduced in previous commuit: Do not vrele() a vnode we did not
obtained.
Improve UFS1 extended attributes usability
- autocreate attribute backing file for new attributes
- autoload attributes when issuing extattrctl start
- when autoloading attributes, do not display garbage warning when looking
up entries that got ENOENT
Add a flag to VOP_LISTEXTATTR(9) so that the vnode interface can tell the
filesystem in which format extended attribute shall be listed.
There are currently two formats:
- NUL-terminated strings, used for listxattr(2), this is the default.
- one byte length-pprefixed, non NUL-terminated strings, used for
  extattr_list_file(2), which is obtanined by setting the
  EXTATTR_LIST_PREFIXLEN flag to VOP_LISTEXTATTR(9)
This approach avoid the need for converting the list back and forth, except
in libperfuse, since FUSE uses NUL-terminated strings, and the kernel may
have requested EXTATTR_LIST_PREFIXLEN.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jul 7 14:56:45 2011 UTC (3 years ago) by manu
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.34: +3 -2 lines
Diff to previous 1.34 (colored)

Fix locking protocol to avoid a panic on extattrctl stop and on umount.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jul 4 08:07:32 2011 UTC (3 years ago) by manu
Branch: MAIN
Changes since 1.33: +30 -8 lines
Diff to previous 1.33 (colored)

Add a flag to VOP_LISTEXTATTR(9) so that the vnode interface can tell the
filesystem in which format extended attribute shall be listed.

There are currently two formats:
- NUL-terminated strings, used for listxattr(2), this is the default.
- one byte length-pprefixed, non NUL-terminated strings, used for
  extattr_list_file(2), which is obtanined by setting the
  EXTATTR_LIST_PREFIXLEN flag to VOP_LISTEXTATTR(9)

This approach avoid the need for converting the list back and forth, except
in libperfuse, since FUSE uses NUL-terminated strings, and the kernel may
have requested EXTATTR_LIST_PREFIXLEN.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jun 27 16:34:47 2011 UTC (3 years, 1 month ago) by manu
Branch: MAIN
Changes since 1.32: +199 -124 lines
Diff to previous 1.32 (colored)

Implement extended attribute listing for UFS1.

Modify lsextattr(8) so that it does not expect each attribute name to be
prefixed by its length. This enable extattr_list_(file|link|fd) to
return a buffer matching its documentation. This also makes the interface
similar to what Linux and FUSE do, which is nice for interoperability.

Note that since we had no EA implementation supporting listing, we do
not break anything.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:33 2011 UTC (3 years, 1 month ago) by cherry
Branch: cherry-xenmp
Changes since 1.29: +155 -15 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.21.14.2 / (download) - annotate - [select for diffs], Sat Jun 18 16:22:31 2011 UTC (3 years, 1 month ago) by bouyer
Branch: netbsd-5
Changes since 1.21.14.1: +8 -3 lines
Diff to previous 1.21.14.1 (colored) to branchpoint 1.21 (colored)

Pull up following revision(s) (requested by manu in ticket #1624):
	sys/ufs/ufs/ufs_extattr.c: revision 1.29 via patch
Fix filesystem root leaked lock when using UFS_EXTATTR_AUTOSTART.
This way, statvfs(2) calls obtained by df(1) or umount(8) will no
longer sleep forever in the kernel to acquire the lock.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jun 17 14:23:52 2011 UTC (3 years, 1 month ago) by manu
Branch: MAIN
Changes since 1.31: +4 -17 lines
Diff to previous 1.31 (colored)

Add mount -o extattr option to enable extended attributs (corrently only
for UFS1).
Remove kernel option for EA backing store autocreation and do it by
default. Add a sysctl so that autocreated attriutr size can be modified.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jun 15 12:54:32 2011 UTC (3 years, 1 month ago) by manu
Branch: MAIN
Changes since 1.30: +160 -7 lines
Diff to previous 1.30 (colored)

Improve UFS1 extended attributes usability
- autocreate attribute backing file for new attributes
- autoload attributes when issuing extattrctl start
- when autoloading attributes, do not display garbage warning when looking
up entries that got ENOENT

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jun 12 03:36:02 2011 UTC (3 years, 1 month ago) by rmind
Branch: MAIN
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:18 2011 UTC (3 years, 1 month ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.28: +8 -3 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Revision 1.26.4.4 / (download) - annotate - [select for diffs], Tue May 31 03:05:13 2011 UTC (3 years, 2 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.26.4.3: +6 -1 lines
Diff to previous 1.26.4.3 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with head

Revision 1.21.14.1 / (download) - annotate - [select for diffs], Fri May 20 19:30:09 2011 UTC (3 years, 2 months ago) by bouyer
Branch: netbsd-5
Changes since 1.21: +2 -3 lines
Diff to previous 1.21 (colored)

Pull up following revision(s) (requested by manu in ticket #1619):
	sys/ufs/ufs/ufs_extattr.c: revision 1.26 via patch
The lwp member of struct componentname was removed a long time ago.
Fix broken build with UFS_EXTATTR_AUTOSTART by removing it here as well.

Revision 1.29 / (download) - annotate - [select for diffs], Tue May 10 08:29:32 2011 UTC (3 years, 2 months ago) by manu
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.28: +8 -3 lines
Diff to previous 1.28 (colored)

Fix filesystem root leaked lock when using UFS_EXTATTR_AUTOSTART.
This way, statvfs(2) calls obtained by df(1) or umount(8) will no
longer sleep forever in the kernel to acquire the lock.

Revision 1.26.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:33 2011 UTC (3 years, 4 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.26.4.2: +9 -8 lines
Diff to previous 1.26.4.2 (colored) to branchpoint 1.26 (colored)

sync with head

Revision 1.28 / (download) - annotate - [select for diffs], Tue Nov 30 10:30:04 2010 UTC (3 years, 7 months ago) by dholland
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.27: +9 -8 lines
Diff to previous 1.27 (colored)

Abolish struct componentname's cn_pnbuf. Use the path buffer in the
pathbuf object passed to namei as work space instead. (For now a pnbuf
pointer appears in struct nameidata, to support certain unclean things
that haven't been fixed yet, but it will be going away in the future.)

This removes the need for the SAVENAME and HASBUF namei flags.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:48:13 2010 UTC (3 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.26: +16 -16 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

Revision 1.21.4.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:15 2010 UTC (3 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.21.4.2: +16 -16 lines
Diff to previous 1.21.4.2 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

sync with head.

Revision 1.26.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:20:05 2010 UTC (4 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.26.4.1: +16 -16 lines
Diff to previous 1.26.4.1 (colored) to branchpoint 1.26 (colored)

sync with head

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:20 2010 UTC (4 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.26: +16 -16 lines
Diff to previous 1.26 (colored)

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:16 2010 UTC (4 years, 4 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

Change struct uvm_object::vmobjlock to be dynamically allocated with
mutex_obj_alloc().  It allows us to share the locks among UVM objects.

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:53 2009 UTC (5 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.21.4.1: +2 -3 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored)

sync with head

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:23:07 2009 UTC (5 years, 2 months ago) by jym
Branch: jym-xensuspend
Changes since 1.23: +5 -6 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.26 / (download) - annotate - [select for diffs], Sun May 10 20:27:21 2009 UTC (5 years, 2 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.25: +2 -3 lines
Diff to previous 1.25 (colored)

The lwp member of struct componentname was removed a long time ago.
Fix broken build with UFS_EXTATTR_AUTOSTART by removing it here as well.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:38 2009 UTC (5 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.21: +9 -7 lines
Diff to previous 1.21 (colored)

sync with head.

Revision 1.21.12.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:58 2009 UTC (5 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.21.12.1: +5 -5 lines
Diff to previous 1.21.12.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:24 2009 UTC (5 years, 4 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

bzero -> memset

Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 18 10:22:46 2009 UTC (5 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

Ansify function definitions w/o arguments. Generated with sed.

Revision 1.21.12.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:36 2009 UTC (5 years, 6 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.21: +6 -4 lines
Diff to previous 1.21 (colored)

Sync with HEAD.

Revision 1.20.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:42 2009 UTC (5 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.20.6.1: +4 -2 lines
Diff to previous 1.20.6.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Dec 17 20:51:39 2008 UTC (5 years, 7 months ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

kill MALLOC and FREE macros.

Revision 1.21.10.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:41 2008 UTC (5 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.21: +4 -2 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Nov 13 10:14:55 2008 UTC (5 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.21: +4 -2 lines
Diff to previous 1.21 (colored)

_KERNEL_OPT

Revision 1.20.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:14 2008 UTC (6 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

Sync with HEAD.

Revision 1.9.4.9 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:14 2008 UTC (6 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.4.8: +4 -4 lines
Diff to previous 1.9.4.8 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.15.8.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:12 2008 UTC (6 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.15.8.1: +24 -29 lines
Diff to previous 1.15.8.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Fri Mar 21 21:55:01 2008 UTC (6 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, 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, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1, ad-socklock-base1
Branch point for: yamt-nfs-mp, nick-hppapmap, netbsd-5, haad-dm
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.

Revision 1.15.14.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:32 2008 UTC (6 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.15.14.2: +24 -29 lines
Diff to previous 1.15.14.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Sync with HEAD.

Revision 1.9.4.8 / (download) - annotate - [select for diffs], Mon Feb 4 09:25:07 2008 UTC (6 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.4.7: +24 -29 lines
Diff to previous 1.9.4.7 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jan 30 14:54:01 2008 UTC (6 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: mjf-devfs2
Changes since 1.19: +16 -10 lines
Diff to previous 1.19 (colored)

Replace use of lockmgr.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jan 25 13:31:22 2008 UTC (6 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.18: +7 -15 lines
Diff to previous 1.18 (colored)

- Fix a couple of locking botches.
- Remove calls to VOP_LEASE().

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jan 25 10:49:32 2008 UTC (6 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.17: +6 -9 lines
Diff to previous 1.17 (colored)

Destroy extattr lock when destroying extattrs associated with the
mountpoint.  Make stopping extattrs always succesful to facilitate
always being able to free resources.

Revision 1.9.4.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:48:16 2008 UTC (6 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.4.6: +2 -2 lines
Diff to previous 1.9.4.6 (colored) to branchpoint 1.9 (colored)

sync with head

Revision 1.15.8.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:34 2008 UTC (6 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.15: +12 -14 lines
Diff to previous 1.15 (colored)

sync with HEAD

Revision 1.15.14.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:46:51 2007 UTC (6 years, 7 months ago) by mjf
Branch: mjf-devfs
Changes since 1.15.14.1: +2 -2 lines
Diff to previous 1.15.14.1 (colored) to branchpoint 1.15 (colored)

Sync with HEAD.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:58:02 2007 UTC (6 years, 7 months ago) by ad
Branch: vmlocking2
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with head.

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:57:03 2007 UTC (6 years, 7 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:45:43 2007 UTC (6 years, 7 months ago) by yamt
Branch: yamt-kmem
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Dec 11 12:16:34 2007 UTC (6 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, matt-armv6-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

use __KERNEL_RCSID() instead of __RCSID()

Revision 1.15.14.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:21:42 2007 UTC (6 years, 7 months ago) by mjf
Branch: mjf-devfs
Changes since 1.15: +12 -14 lines
Diff to previous 1.15 (colored)

Sync with HEAD.

Revision 1.9.4.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:35:23 2007 UTC (6 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.4.5: +12 -14 lines
Diff to previous 1.9.4.5 (colored) to branchpoint 1.9 (colored)

sync with head

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Tue Nov 27 19:39:28 2007 UTC (6 years, 8 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.15: +12 -14 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:33 2007 UTC (6 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base
Branch point for: yamt-kmem, vmlocking2, bouyer-xeni386
Changes since 1.15: +12 -14 lines
Diff to previous 1.15 (colored)

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.9.4.5 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:59 2007 UTC (6 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.4.4: +18 -5 lines
Diff to previous 1.9.4.4 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:28:20 2007 UTC (7 years ago) by ad
Branch: vmlocking
Changes since 1.13: +17 -4 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:50 2007 UTC (7 years ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.13: +17 -4 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jul 10 09:50:09 2007 UTC (7 years ago) by hannken
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.14: +2 -3 lines
Diff to previous 1.14 (colored)

Move `struct dquot' and its supporting functions from quota.h to ufs_quota.c.

- Make quota-internal functions static.
- Clean up declarations in quota.h and ufs_extern.h.  quota.h now has the
  description of quota criterions, on-disk structure, user-kernel interface and
  declaration of init/done functions.  All ufs quota related function
  prototypes go to ufs_extern.h.
- New functions ufsquota_init() and ufsquota_free() create or destroy the
  quota fields of `struct inode'.
- chkdq() and chkiq() always update the quota fields of `struct inode' first.
- Only ufs_access() explicitely calls getinoquota().

No objections on tech-kern@

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jun 30 09:37:54 2007 UTC (7 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.13: +17 -3 lines
Diff to previous 1.13 (colored)

Using POOL_INIT here makes no sense, since file systems always have
an init method.  So get rid of it and #ifdef _LKM and just always
init in the init method.  Give malloc types the same treatment.
Makes file systems nicer to work with in linksetless environments
and fixes a few LKM discrepancies.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 06:01:10 2007 UTC (7 years, 4 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:47 2007 UTC (7 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.9.4.4 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:23 2007 UTC (7 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.4.3: +3 -3 lines
Diff to previous 1.9.4.3 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.10.8.1 / (download) - annotate - [select for diffs], Sat Feb 17 23:27:52 2007 UTC (7 years, 5 months ago) by tron
Branch: 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
Changes since 1.10: +3 -27 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

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.10.4.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:25 2007 UTC (7 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.10: +4 -28 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jan 4 16:55:30 2007 UTC (7 years, 6 months ago) by elad
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Consistent usage of KAUTH_GENERIC_ISSUSER.

Revision 1.9.4.3 / (download) - annotate - [select for diffs], Sat Dec 30 20:51:01 2006 UTC (7 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.4.2: +13 -37 lines
Diff to previous 1.9.4.2 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:19:33 2006 UTC (7 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.10: +3 -27 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Dec 9 16:11:52 2006 UTC (7 years, 7 months ago) by chs
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3
Changes since 1.10: +3 -27 lines
Diff to previous 1.10 (colored)

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.6.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 03:00:13 2006 UTC (7 years, 10 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.6: +30 -34 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:47:37 2006 UTC (7 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.7.2.1: +12 -12 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:15 2006 UTC (8 years ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, netbsd-4-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2, netbsd-4
Changes since 1.9: +12 -12 lines
Diff to previous 1.9 (colored)

Use the LWP cached credentials where sane.

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:39 2006 UTC (8 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.4.1: +1324 -0 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:11:44 2006 UTC (8 years, 1 month ago) by chap
Branch: chap-midi
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with head.

Revision 1.6.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:39:44 2006 UTC (8 years, 1 month ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.6.6.1: +24 -22 lines
Diff to previous 1.6.6.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with head.

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:48 2006 UTC (8 years, 2 months ago) by tron
Branch: peter-altq
Changes since 1.7: +24 -22 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:59:26 2006 UTC (8 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.7: +24 -22 lines
Diff to previous 1.7 (colored)

sync with head.

Revision 1.9.4.1, Sun May 21 22:51:27 2006 UTC (8 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9: +0 -1324 lines
FILE REMOVED

file ufs_extattr.c was added on branch yamt-lazymbuf on 2006-06-21 15:12:39 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Sun May 21 22:51:27 2006 UTC (8 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base
Branch point for: yamt-lazymbuf
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

Include <sys/kauth.h> because it's needed.

Revision 1.8 / (download) - annotate - [select for diffs], Sun May 14 21:33:39 2006 UTC (8 years, 2 months ago) by elad
Branch: MAIN
Branch point for: chap-midi
Changes since 1.7: +23 -22 lines
Diff to previous 1.7 (colored)

integrate kauth.

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:27 2006 UTC (8 years, 3 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.6: +8 -14 lines
Diff to previous 1.6 (colored)

Sync with head.

Revision 1.7.4.3 / (download) - annotate - [select for diffs], Fri Apr 21 23:02:34 2006 UTC (8 years, 3 months ago) by elad
Branch: elad-kernelauth
Changes since 1.7.4.2: +3 -3 lines
Diff to previous 1.7.4.2 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

use "l->l_proc" instead of "p" (that doesn't exist)

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Fri Mar 10 14:21:11 2006 UTC (8 years, 4 months ago) by elad
Branch: elad-kernelauth
Changes since 1.7.4.1: +3 -3 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored)

generic_authorize() -> kauth_authorize_generic().

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:39:12 2006 UTC (8 years, 4 months ago) by elad
Branch: elad-kernelauth
Changes since 1.7: +23 -22 lines
Diff to previous 1.7 (colored)

Adapt to kernel authorization KPI.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:33 2006 UTC (8 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.6: +8 -14 lines
Diff to previous 1.6 (colored)

merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
  the latter is more natural to specify an address space.
  (and less likely to be abused for random purposes.)
- fix a swdmover race.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 10:24:52 2006 UTC (8 years, 6 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.6: +8 -14 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

convert the rest of ufs.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Dec 23 23:20:00 2005 UTC (8 years, 7 months ago) by rpaulo
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.5: +64 -64 lines
Diff to previous 1.5 (colored)

Convert UFS_EXTATTR to struct lwp.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:28 2005 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

merge ktrace-lwp.

Revision 1.4.8.2 / (download) - annotate - [select for diffs], Fri Nov 18 08:44:55 2005 UTC (8 years, 8 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-pervnode
Changes since 1.4.8.1: +4 -4 lines
Diff to previous 1.4.8.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

- associate read-ahead context to vnode, rather than file.
- revert VOP_READ prototype.

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Tue Nov 15 05:36:49 2005 UTC (8 years, 8 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-perfile
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored)

- adapt to the new prototype of VOP_READ.
- adapt ext2fs and union.

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:39 2005 UTC (8 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.6.1: +1328 -0 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD. Here we go again...

Revision 1.4.6.1, Thu Sep 22 13:49:03 2005 UTC (8 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4: +0 -1328 lines
FILE REMOVED

file ufs_extattr.c was added on branch ktrace-lwp on 2005-11-10 14:12:39 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Thu Sep 22 13:49:03 2005 UTC (8 years, 10 months ago) by rpaulo
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-readahead, ktrace-lwp
Changes since 1.3: +5 -3 lines
Diff to previous 1.3 (colored)

In ufs_extattr_stop(), if we haven't started yet, errno must be set
before bailing out.

From FreeBSD.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 12 16:10:11 2005 UTC (8 years, 10 months ago) by rpaulo
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Add missing '$' in __RCSID().

Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 12 16:09:06 2005 UTC (8 years, 10 months ago) by rpaulo
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

In ufs_extattr_start(), unlock uepm_lock when bailing out.

Ok'd Jason Thorpe.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Aug 28 19:37:59 2005 UTC (8 years, 11 months ago) by thorpej
Branch: MAIN

Experimental support for extended attributes on UFS1 file systems, using a
backing file per attribute type indexed by inode number to hold the extended
attributes.

This is working pretty well on my test systems, except for the "autostart"
feature.  I need someone with a better handle on the VFS locking protocol
to go over that.

This is a work-in-progress.  There are parts of this that could be re-factored
allowing this approach to be used on other types of file systems.

Adapted from FreeBSD.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>