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


Keyword substitution: kv
Default branch: MAIN


Revision 1.18.12.1: download - view: text, markup, annotated - select for diffs
Sun Aug 15 10:03:46 2021 UTC (3 years, 8 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +8 -12 lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 15 09:27:50 2021 UTC (3 years, 8 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.1: +8 -12 lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 15 07:57:46 2021 UTC (3 years, 8 months ago) by christos
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, 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
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -12 lines
- 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 - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:14 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.18.20.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.20.1: +10 -131 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:38:44 2020 UTC (5 years, 2 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +2 -123 lines
Sync with head.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jan 21 02:37:16 2020 UTC (5 years, 3 months ago) by pgoyette
Branches: 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
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -123 lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 18 20:04:32 2019 UTC (5 years, 4 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -9 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 15 16:48:26 2019 UTC (5 years, 4 months ago) by tsutsui
Branches: MAIN
CVS tags: ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -9 lines
Remove clause 3 and 4 leftovers from TNF licenses in more sources.

Confirmed by martin@ in PR/54760.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Jun 18 22:34:25 2019 UTC (5 years, 10 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
Drop unused retval pointer from do_sys_mknod{,at}()

No functional change intended.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Jun 17 14:59:15 2019 UTC (5 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -2 lines
Add QUOTA ifdef (Paul Goyette)

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Jun 17 14:13:13 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +9 -9 lines
Use tabs, not spaces, for indentation.  NFCI

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Jun 17 12:27:40 2019 UTC (5 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:58 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +40 -2 lines
Sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:39 2019 UTC (6 years, 2 months ago) by pgoyette
Branches: MAIN
CVS tags: phil-wifi-20190609, isaki-audio2-base, isaki-audio2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +40 -2 lines
Merge the [pgoyette-compat] branch

Revision 1.18.18.2: download - view: text, markup, annotated - select for diffs
Sat Sep 22 04:56:28 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.18.18.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.18.1: +6 -2 lines
#include "opt_compat_netbsd.h" for all sources that provide compat code.

Revision 1.18.18.1: download - view: text, markup, annotated - select for diffs
Mon Mar 19 21:54:43 2018 UTC (7 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +36 -2 lines
Initial pass at a COMPAT_50 module.  More to come.

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:53 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +3 -3 lines
update from HEAD

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Sep 5 09:21:54 2014 UTC (10 years, 7 months ago) by matt
Branches: 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
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:14 2012 UTC (13 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +71 -183 lines
sync with head

Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Thu Apr 5 21:33:22 2012 UTC (13 years ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.1: +5 -4 lines
sync to latest -current.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Mar 13 18:40:29 2012 UTC (13 years, 1 month ago) by elad
Branches: 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
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 18 07:33:54 2012 UTC (13 years, 2 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +65 -179 lines
merge to -current.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Feb 1 05:34:41 2012 UTC (13 years, 2 months ago) by dholland
Branches: 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
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +9 -25 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 29 07:19:48 2012 UTC (13 years, 2 months ago) by dholland
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +13 -13 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 29 07:19:04 2012 UTC (13 years, 2 months ago) by dholland
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +71 -178 lines
Remove the proplib goop from the COMPAT_50 code for the old quotactl;
use the new VFS_QUOTACTL instead.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jan 29 07:16:00 2012 UTC (13 years, 2 months ago) by dholland
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +13 -7 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 29 06:29:04 2012 UTC (13 years, 2 months ago) by dholland
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -6 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 29 06:23:20 2012 UTC (13 years, 2 months ago) by dholland
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +7 -4 lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 25 16:55:05 2011 UTC (13 years, 5 months ago) by dholland
Branches: MAIN
CVS tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -7 lines
Rename struct ufs_quota_entry -> struct quotaval.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Nov 20 21:43:35 2011 UTC (13 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -5 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:16 2011 UTC (13 years, 10 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +228 -2 lines
Sync with HEAD.

Revision 1.5.4.2: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:36 2011 UTC (14 years ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.5.4.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.4.1: +226 -0 lines
sync with head

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Mar 24 17:05:44 2011 UTC (14 years, 1 month ago) by bouyer
Branches: 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
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +36 -25 lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 6 17:08:33 2011 UTC (14 years, 1 month ago) by bouyer
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +217 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:39 2011 UTC (14 years, 1 month ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -2 lines
sync with head

Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 15 16:45:56 2011 UTC (14 years, 2 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +217 -2 lines
Implement COMPAT_50 quotactl(2)

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:38 2010 UTC (14 years, 8 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +3 -2 lines
Sync with HEAD.

Revision 1.1.6.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:01 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.6.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.6.2: +3 -2 lines
sync with head.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jul 13 15:38:15 2010 UTC (14 years, 9 months ago) by pooka
Branches: 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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -2 lines
Don't leak kernel stack into userspace.

Revision 1.1.6.2: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:57 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.6.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.6.1: +3 -3 lines
sync with head.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Aug 9 22:49:00 2009 UTC (15 years, 8 months ago) by haad
Branches: 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
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon May 4 08:12:18 2009 UTC (15 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +313 -0 lines
sync with head.

Revision 1.3.4.3: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:30:07 2009 UTC (16 years, 1 month ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.3.4.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.2: +3 -10 lines
Sync with HEAD.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jan 26 13:00:04 2009 UTC (16 years, 3 months ago) by njoly
Branches: 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
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -10 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:17 2009 UTC (16 years, 3 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.1: +320 -0 lines
Sync with HEAD.

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:41 2009 UTC (16 years, 3 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +320 -0 lines
Sync with HEAD.

Revision 1.3.4.1
Sun Jan 11 20:46:53 2009 UTC (16 years, 3 months ago) by skrll
Branches: nick-hppapmap
FILE REMOVED
Changes since revision 1.3: +0 -320 lines
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 (16 years, 3 months ago) by mjf
Branches: mjf-devfs2
FILE REMOVED
Changes since revision 1.3: +0 -320 lines
file vfs_syscalls_50.c was added on branch mjf-devfs2 on 2009-01-17 13:28:41 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jan 11 20:46:53 2009 UTC (16 years, 3 months ago) by christos
Branches: MAIN
CVS tags: mjf-devfs2-base
Branch point for: nick-hppapmap, mjf-devfs2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +13 -9 lines
*utimes should allow NULL tvp.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jan 11 02:45:47 2009 UTC (16 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +316 -0 lines
merge christos-time_t

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 28 22:29:06 2008 UTC (16 years, 3 months ago) by christos
Branches: christos-time_t
CVS tags: christos-time_t-nbase
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.3: +6 -2 lines
for now don't bother with aio and lfs.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Sun Nov 9 01:55:26 2008 UTC (16 years, 5 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +27 -10 lines
fix fhstat.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 26 18:27:50 2008 UTC (17 years ago) by christos
Branches: christos-time_t
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +4 -5 lines
fix broken futimes.

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 29 20:50:33 2008 UTC (17 years ago) by christos
Branches: christos-time_t
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +296 -0 lines
new files

Revision 1.1
Sat Mar 29 20:50:33 2008 UTC (17 years ago) by christos
Branches: 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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>