The NetBSD Project

CVS log for src/sys/compat/common/vfs_syscalls_50.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.18.12.1 / (download) - annotate - [select for diffs], Sun Aug 15 10:03:46 2021 UTC (2 years, 7 months ago) by martin
Branch: netbsd-8
Changes since 1.18: +8 -12 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pull up following revision(s) (requested by christos in ticket #1691):

	sys/compat/common/vfs_syscalls_43.c: revision 1.67
	sys/compat/common/vfs_syscalls_50.c: revision 1.26
	sys/compat/common/vfs_syscalls_30.c: revision 1.42

- memset struct stat to avoid kernel memory disclosure of padded fields
  (thanks Trend Micro for the report)
- use do_fhstat
- consistency in argument order of compat functions

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Sun Aug 15 09:27:50 2021 UTC (2 years, 7 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.23.2.1: +8 -12 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Pull up following revision(s) (requested by christos in ticket #1337):

	sys/compat/common/vfs_syscalls_43.c: revision 1.67
	sys/compat/common/vfs_syscalls_50.c: revision 1.26
	sys/compat/common/vfs_syscalls_30.c: revision 1.42

- memset struct stat to avoid kernel memory disclosure of padded fields
  (thanks Trend Micro for the report)
- use do_fhstat
- consistency in argument order of compat functions

Revision 1.26 / (download) - annotate - [select for diffs], Sun Aug 15 07:57:46 2021 UTC (2 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.25: +8 -12 lines
Diff to previous 1.25 (colored)

- memset struct stat to avoid kernel memory disclosure of padded fields
  (thanks Trend Micro for the report)
- use do_fhstat
- consistency in argument order of compat functions

Revision 1.18.20.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:14 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.18.20.1: +10 -131 lines
Diff to previous 1.18.20.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sat Jan 25 22:38:44 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.24: +2 -123 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jan 21 02:37:16 2020 UTC (4 years, 2 months ago) by pgoyette
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2
Changes since 1.24: +2 -123 lines
Diff to previous 1.24 (colored)

Split the compat_50 module into two, separating the QUOTA-related
stuff from the rest of the module.  This allows loading of the
(main) compat_50 module on kernels that don't include ``options
QUOTA''.

Welcome to 9.99.40 !

Addresses PR kern/54875

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Wed Dec 18 20:04:32 2019 UTC (4 years, 3 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.23: +2 -9 lines
Diff to previous 1.23 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #570):

	sys/compat/netbsd32/netbsd32_compat_50_sysv.c: revision 1.3
	sys/dev/raidframe/rf_compat50.h: revision 1.6
	sys/arch/emips/emips/bus_space.c: revision 1.3
	sys/compat/net/if.h: revision 1.5
	sys/arch/emips/stand/common/bootinfo.c: revision 1.2
	sys/compat/common/sysv_msg_50.c: revision 1.5
	sys/compat/common/kern_time_30.c: revision 1.8
	sys/arch/emips/stand/common/bootinfo.h: revision 1.2
	sys/arch/ia64/include/bus.h: revision 1.4
	sys/arch/ia64/ia64/bus_space.c: revision 1.2
	sys/compat/common/sysv_shm_50.c: revision 1.5
	sys/dev/ic/adw.h: revision 1.15
	sys/compat/common/uipc_syscalls_50.c: revision 1.10
	sys/arch/emips/ebus/flash_ebus.c: revision 1.22
	sys/dev/ic/adv.h: revision 1.15
	sys/dev/ic/adwmcode.c: revision 1.18
	sys/dev/ic/advlib.c: revision 1.29
	sys/arch/hpcarm/include/kloader.h: revision 1.3
	sys/dev/usb/uberry.c: revision 1.16
	sys/compat/common/sysv_sem_50.c: revision 1.5
	sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.43
	sys/dev/ic/advlib.h: revision 1.21
	sys/dev/ic/adv.c: revision 1.50
	sys/compat/netinet6/in6_var.h: revision 1.5
	sys/arch/hpc/stand/hpcboot/arm/arm_sa1100_asm.asm: revision 1.2
	sys/arch/emips/include/loadfile_machdep.h: revision 1.3
	sys/arch/emips/stand/common/prom_iface.c: revision 1.7
	sys/dev/ic/adw.c: revision 1.56
	sys/dev/ic/adwmcode.h: revision 1.12
	sys/dev/ic/advmcode.c: revision 1.10
	sys/arch/emips/ebus/ace_ebus.c: revision 1.22
	sys/compat/netbsd32/netbsd32_compat_60.c: revision 1.5
	sys/dev/raidframe/rf_compat50.c: revision 1.13
	sys/arch/x68k/dev/intiovar.h: revision 1.15
	sys/dev/usb/uipad.c: revision 1.8
	sys/arch/zaurus/include/kloader.h: revision 1.3
	sys/arch/emips/stand/common/bootxx.c: revision 1.2
	sys/dev/ic/adwlib.h: revision 1.23
	sys/dev/ic/adwlib.c: revision 1.44
	sys/compat/netbsd32/netbsd32_compat_16.c: revision 1.3
	sys/arch/amigappc/include/intr.h: revision 1.27
	sys/arch/x68k/dev/mfp.c: revision 1.27
	sys/arch/arm/at91/at91dbgu.c: revision 1.17
	sys/dev/ic/advmcode.h: revision 1.7
	sys/compat/ultrix/ultrix_exec.h: revision 1.7
	sys/compat/common/vfs_syscalls_50.c: revision 1.24
	sys/arch/mips/cavium/octeon_dma.c: revision 1.3
	sys/arch/hpc/stand/hpcboot/arm/arm_pxa2x0_asm.asm: revision 1.2

Remove clause 3 and 4 from TNF licenses.
Ok'ed by martin@ in PR/54760.

Remove clause 3 and 4 leftovers from TNF licenses in more sources.
Confirmed by martin@ in PR/54760.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Dec 15 16:48:26 2019 UTC (4 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.23: +2 -9 lines
Diff to previous 1.23 (colored)

Remove clause 3 and 4 leftovers from TNF licenses in more sources.

Confirmed by martin@ in PR/54760.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jun 18 22:34:25 2019 UTC (4 years, 9 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Drop unused retval pointer from do_sys_mknod{,at}()

No functional change intended.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jun 17 14:59:15 2019 UTC (4 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.21: +4 -2 lines
Diff to previous 1.21 (colored)

Add QUOTA ifdef (Paul Goyette)

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jun 17 14:13:13 2019 UTC (4 years, 9 months ago) by pgoyette
Branch: MAIN
Changes since 1.20: +9 -9 lines
Diff to previous 1.20 (colored)

Use tabs, not spaces, for indentation.  NFCI

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jun 17 12:27:40 2019 UTC (4 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.19: +7 -2 lines
Diff to previous 1.19 (colored)

If we don't compile a kernel with QUOTA, we don't support the compat quota
syscalls. XXX: need to fix the modules build.

Revision 1.18.20.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:58 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.18: +40 -2 lines
Diff to previous 1.18 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:39 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20190609, isaki-audio2-base, isaki-audio2
Changes since 1.18: +40 -2 lines
Diff to previous 1.18 (colored)

Merge the [pgoyette-compat] branch

Revision 1.18.18.2 / (download) - annotate - [select for diffs], Sat Sep 22 04:56:28 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.18.18.1: +6 -2 lines
Diff to previous 1.18.18.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

#include "opt_compat_netbsd.h" for all sources that provide compat code.

Revision 1.18.18.1 / (download) - annotate - [select for diffs], Mon Mar 19 21:54:43 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.18: +36 -2 lines
Diff to previous 1.18 (colored)

Initial pass at a COMPAT_50 module.  More to come.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:53 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

update from HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 5 09:21:54 2014 UTC (9 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat, netbsd-8
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get
a correctly typed pointer.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:14 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.8: +71 -183 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:22 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.10.2.1: +5 -4 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync to latest -current.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:29 2012 UTC (12 years, 1 month ago) by elad
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.16: +5 -4 lines
Diff to previous 1.16 (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.10.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:54 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.10: +65 -179 lines
Diff to previous 1.10 (colored)

merge to -current.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 1 05:34:41 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, 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-RC1, netbsd-6-0-6-RELEASE, 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Changes since 1.15: +9 -25 lines
Diff to previous 1.15 (colored)

Change the syscall API for quotas over to the new non-proplib one.

   - struct vfs_quotactl_args -> struct quotactl_args
   - add sys/stdint.h to sys/quotactl.h for clean userland build
   - install sys/quotactl.h in /usr/include
   - update set lists for same
   - add new marshalling code in libquota
   - add new unmarshalling code in vfs_syscalls.c
   - discard proplib interpreter code in vfs_quotactl.c
   - add dispatching code for the 14 quotactl ops in vfs_quotactl.c
   - mark the proplib quotactl syscall obsolete
   - add a new syscall number for the new quotactl syscall
   - change the name of the syscall to __quotactl()
   - remove the decl of the old quotactl from quota/quotaprop.h
   - add a decl of the new quotactl to sys/quotactl.h
   - update the libc build
   - update ktruss
   - remove proplib marshalling code from libquota
   - update copy of syscall table in gdb ppc sources
   - hack rumphijack to accomodate new quotactl name (as I recall,
     pooka wanted such a name change to simplify something, but I
     don't really see what/how)

This change appears to require a kernel version bump for rumpish
reasons.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jan 29 07:19:48 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.14: +13 -13 lines
Diff to previous 1.14 (colored)

Some further tidying for the COMPAT_50 quotactl code. Mostly cosmetic,
but also use PNBUF_GET() and PNBUF_PUT() for a path buffer instead of
malloc with M_TEMP.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 29 07:19:04 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.13: +71 -178 lines
Diff to previous 1.13 (colored)

Remove the proplib goop from the COMPAT_50 code for the old quotactl;
use the new VFS_QUOTACTL instead.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 29 07:16:00 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.12: +13 -7 lines
Diff to previous 1.12 (colored)

Rename static inline "helper" functions:
   ufsclass2qtype -> quota_idtype_to_ufs
   qtype2ufsclass -> quota_idtype_from_ufs

The reason for the direction of "ufs" changing is that the old names
were among the symbols using "ufs" to mean "fs-independent". So the
old names were for translating "ufsclass" (fs-independent quota id
type) to "qtype" (ufs-specific quota id type) and vice versa.

These functions are used in only two places, both of which are
inappropriate, so at some point they should probably be removed.
They're also identity transformations so not particularly helpful,
unless one were to make a careful and concerted effort to distinguish
the ufs quota code numbers from the fs-independent ones. This has not
been done and is probably impossible without support from a program
verifier, and maybe not even then.

They are static inline, so no compat concerns arise.

Also adjust the symbols they use to avoid <quota/quotaprop.h>.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 29 06:29:04 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored)

Add vfs_quotactl() in between the syscall and VFS_QUOTACTL. Call it
from the COMPAT_50 code as well as the current sys_quotactl instead
of going directly to VFS_QUOTACTL. Doesn't actually do anything yet.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jan 29 06:23:20 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.10: +7 -4 lines
Diff to previous 1.10 (colored)

Change dqblk_to_quotaval() from quota1_subr.c to dqblk_to_quotavals(),
and pass in two single quotaval structs (for blocks and inodes)
instead of an array of (implicitly) QUOTA_NLIMITS quotaval structs
indexed by constants from quotaprop.h.

Note: because this code is used by COMPAT_50 as well as ufs, this
change requires a kernel version bump. (The code is also used by
edquota, but via .PATH so it's not ABI-sensitive there.)

Revision 1.10 / (download) - annotate - [select for diffs], Fri Nov 25 16:55:05 2011 UTC (12 years, 4 months ago) by dholland
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.9: +7 -7 lines
Diff to previous 1.9 (colored)

Rename struct ufs_quota_entry -> struct quotaval.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Nov 20 21:43:35 2011 UTC (12 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.8: +6 -5 lines
Diff to previous 1.8 (colored)

Reshuffle decls among the quota headers so everything is in the place
it should be:
   - stuff for the proplib interface goes in <quota/quotaprop.h>
   - stuff for userlevel only goes in <quota/quota.h>
   - stuff shared between user and kernel goes in <sys/quota.h>

Note that <quota/quota.h> and <quota/quotaprop.h> are expected to be
moved or removed later on... one thing at a time.

Update include directives in other files as needed.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:16 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.6: +228 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD.

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:36 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.5.4.1: +226 -0 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 24 17:05:44 2011 UTC (13 years ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.7: +36 -25 lines
Diff to previous 1.7 (colored)

Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)

Revision 1.7 / (download) - annotate - [select for diffs], Sun Mar 6 17:08:33 2011 UTC (13 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.6: +217 -2 lines
Diff to previous 1.6 (colored)

merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:39 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

sync with head

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Tue Feb 15 16:45:56 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.6: +217 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Implement COMPAT_50 quotactl(2)

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:38 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.1.6.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:01 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.6.2: +3 -2 lines
Diff to previous 1.1.6.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 13 15:38:15 2010 UTC (13 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Don't leak kernel stack into userspace.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:57 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.6.1: +3 -3 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored)

sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 9 22:49:00 2009 UTC (14 years, 8 months ago) by haad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Add enum uio_seg argument to do_sys_mknod and do_sys_mkdir so these functions
can be called from kernel, too.

Change needed for zfs device node creation, until we have propoer devfs.

Oked by ad@.

Revision 1.1.6.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:18 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1: +313 -0 lines
Diff to previous 1.1 (colored)

sync with head.

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Tue Mar 3 18:30:07 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.3.4.2: +3 -10 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 26 13:00:04 2009 UTC (15 years, 2 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend
Changes since 1.3: +3 -10 lines
Diff to previous 1.3 (colored)

Make all fstat(2) compat syscalls consistently use do_sys_fstat(),
instead of fd_getfile()/fd_putfile() dance.

ok by christos.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:17 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.3.4.1: +320 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

Sync with HEAD.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:41 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.3.2.1: +320 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.3.4.1, Sun Jan 11 20:46:53 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.3: +0 -320 lines
FILE REMOVED

file vfs_syscalls_50.c was added on branch nick-hppapmap on 2009-01-19 13:17:17 +0000

Revision 1.3.2.1, Sun Jan 11 20:46:53 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.3: +0 -320 lines
FILE REMOVED

file vfs_syscalls_50.c was added on branch mjf-devfs2 on 2009-01-17 13:28:41 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jan 11 20:46:53 2009 UTC (15 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: nick-hppapmap, mjf-devfs2
Changes since 1.2: +13 -9 lines
Diff to previous 1.2 (colored)

*utimes should allow NULL tvp.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:47 2009 UTC (15 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.1: +316 -0 lines
Diff to previous 1.1 (colored)

merge christos-time_t

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Sun Dec 28 22:29:06 2008 UTC (15 years, 3 months ago) by christos
Branch: christos-time_t
CVS Tags: christos-time_t-nbase
Changes since 1.1.2.3: +6 -2 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

for now don't bother with aio and lfs.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Sun Nov 9 01:55:26 2008 UTC (15 years, 5 months ago) by christos
Branch: christos-time_t
Changes since 1.1.2.2: +27 -10 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

fix fhstat.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sat Apr 26 18:27:50 2008 UTC (15 years, 11 months ago) by christos
Branch: christos-time_t
Changes since 1.1.2.1: +4 -5 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

fix broken futimes.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sat Mar 29 20:50:33 2008 UTC (16 years ago) by christos
Branch: christos-time_t
Changes since 1.1: +296 -0 lines
Diff to previous 1.1 (colored)

new files

Revision 1.1, Sat Mar 29 20:50:33 2008 UTC (16 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, 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, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, christos-time_t
FILE REMOVED

file vfs_syscalls_50.c was initially added on branch christos-time_t.

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>